Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Error while including math.h

Re: Error while including math.h

From: Kirill Richine <krichine_at_my-deja.com>
Date: 19 Mar 2002 10:11:59 -0800
Message-ID: <e2eb0005.0203191011.302819cc@posting.google.com>


> It is compiled fine and run without any problem. However, if
> i add a statement "#include <math.h>", i get bunch of proc compilation
> error. It seems like Pro C cannot find the math library.

Actually, proc probably can not find math.h in your include directory.

It is the linker that will look for the math library (after successful compilation).

Do

find / -type f -name "math.h" -print 2>/dev/null

once found, make sure the path to math.h is in your include path.

Kirill Received on Tue Mar 19 2002 - 12:11:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US