Hi Dmitry,<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  I have verfied that the correct path is sent to the compiler.&nbsp; I&nbsp; even tried with wrong path and output was totally different. With wrong path sent to compiler it was not even able to include oci.h and stops immediately.<br><br><br>Please find the output when I put the correct path in make file. <br><br>gcc -fPIC -DPIC -g -O9 -funroll-loops&nbsp; -Wcast-align&nbsp; -Wall&nbsp;&nbsp; -m486 -malign-loops=4&nbsp;&nbsp;&nbsp;&nbsp; -DNAME='"ser"' -DVERSION='"0.9.6"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 2.96"' -D__CPU_i386 -D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM&nbsp; -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DLINUX -D_GNU_SOURCE -D_REENTRANT -DF_MALLOC&nbsp; -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024&nbsp; -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
 -I/u01/app/oracle/product/9.2.0.4.0/rdbms/demo -I/u01/app/oracle/product/9.2.0.4.0/rdbms/public -c dbase.c -o dbase.o<br>In file included from dbase.c:41:<br>common.h:55:2: warning: #warning "This module is experimental and may crash SER or create unexpected results. You use the module at your own risk. Please submit bugs at http://bugs.sip-router.org/"<br>dbase.c: In function `db_free_result':<br>dbase.c:377: warning: passing arg 2 of `fm_free' discards qualifiers from pointer target type<br>dbase.c: In function `oci_prepare':<br>dbase.c:1133: parse error before `rc'<br>dbase.c:1136: `rc' undeclared (first use in this function)<br>dbase.c:1136: (Each undeclared identifier is reported only once<br>dbase.c:1136: for each function it appears in.)<br>dbase.c: In function `oci_execute':<br>dbase.c:1170: parse error before `rc'<br>dbase.c:1173: `rc' undeclared (first use in this function)<br>dbase.c: In function `oci_cleanup':<br>dbase.c:1186: parse error before
 `rc'<br>dbase.c:1187: `rc' undeclared (first use in this function)<br>make[1]: *** [dbase.o] Error 1<br><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br><br><br><br>Best Regards,<br>Abdul Qadir<br><br><b><i>Dmitry Semyonov &lt;dsemyonov@dins.ru&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Abdul,<br><br>On Tue, 5 Dec 2006 at 18:22 -0800, Abdul Qadir wrote:<br><br>&gt; I have attached my oralce include file.<br><br>You should not send big attachments to the list.<br><br>I unpacked your archive to /usr/local/oracle9, and changed DEFS <br>definition inside modules/oracle/Makefile to<br><br>DEFS    += -I/usr/local/oracle9/demo -I/usr/local/oracle9/public<br><br>After that I was able to build the module without errors with<br>"make modules=modules/oracle modules" command.<br><br>Please, double-check your path to the includes, and verify it is <br>properly passed to the compiler. Sample output
 for dbase.c compilation <br>is as follows (note the include paths at the end):<br><br>gcc -fPIC -DPIC -g -O9 -funroll-loops  -Wcast-align  -Wall <br>-minline-all-stringops -malign-double -falign-loops -ftree-vectorize <br>-mtune=athlon64      -DNAME='"ser"' -DVERSION='"0.9.7-pre7"' <br>-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386 <br>-D__OS_linux -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM <br>-DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP <br>-DDISABLE_NAGLE -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT <br>-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN <br>-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL <br>-DHAVE_ALLOCA_H -DLINUX -D_GNU_SOURCE -D_REENTRANT <br>-I/usr/local/oracle9/demo -I/usr/local/oracle9/public -c dbase.c -o <br>dbase.o<br><br><br>&gt; Dmitry Semyonov <dsemyonov@dins.ru> wrote: Abdul,<br>&gt; <br>&gt; On Mon, 4 Dec 2006 at 23:44 -0800, Abdul Qadir wrote:<br>&gt; <br>&gt;
 &gt; Thats why I did modified the make file to reflect my path. But <br>&gt; &gt; still getting the same error. Do u think I still need to install <br>&gt; &gt; Instant Client, although I have full client installed.<br>&gt; <br>&gt; I don't think so.<br><br>-- <br>...Bye..Dmitry.<br></dsemyonov@dins.ru></blockquote><br><p>&#32;
<hr size=1>Cheap Talk? <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Check out</a> Yahoo! Messenger's low PC-to-Phone call rates.