Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Error while including math.h
Hi,
I have a simple Pro C program which connect to Oracle 8.1.7 and do nothing. 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. I have a fresh installation of Oracle9i client on my default RH7.2 system. I only modify my pcscfg.cfg file and it look like this
include=(/home/oracle/precomp/public) include=(/home/oracle/rdbms/demo) include=(/home/oracle/network/public) include=(/home/oracle/plsql/public)
I have my own make file and it look like this. My Proc file name is host.pc
all:host.c
gcc -o host host.c $(INCLUDE_DIR) $(LIB_DIR) host.c:host.pc
proc host.pc
Regards,
~ Received on Mon Mar 18 2002 - 17:40:24 CST