Abdul,
On Tue, 5 Dec 2006 at 18:22 -0800, Abdul Qadir wrote:
I have attached my oralce include file.
You should not send big attachments to the list.
I unpacked your archive to /usr/local/oracle9, and changed DEFS definition inside modules/oracle/Makefile to
DEFS += -I/usr/local/oracle9/demo -I/usr/local/oracle9/public
After that I was able to build the module without errors with "make modules=modules/oracle modules" command.
Please, double-check your path to the includes, and verify it is properly passed to the compiler. Sample output for dbase.c compilation is as follows (note the include paths at the end):
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -ftree-vectorize -mtune=athlon64 -DNAME='"ser"' -DVERSION='"0.9.7-pre7"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DLINUX -D_GNU_SOURCE -D_REENTRANT -I/usr/local/oracle9/demo -I/usr/local/oracle9/public -c dbase.c -o dbase.o
Dmitry Semyonov dsemyonov@dins.ru wrote: Abdul,
On Mon, 4 Dec 2006 at 23:44 -0800, Abdul Qadir wrote:
Thats why I did modified the make file to reflect my path. But still getting the same error. Do u think I still need to install Instant Client, although I have full client installed.
I don't think so.