Home » Developer & Programmer » Precompilers, OCI & OCCI » EXEC IAF causing Problem while compiling Pro*C
EXEC IAF causing Problem while compiling Pro*C [message #94193] Mon, 03 May 2004 22:42
J.S.Rajkumar
Messages: 20
Registered: March 2004
Junior Member
Hi

We recently moved from oracle 8.1.7 to oracle 9.2.0. We are facing problem in compiling the Pro*C programs in 9.2.0 (which were running with 8.1.7)

We see the problem is because of the EXEC IAF statement in the Pro*C file. 

This is what we get when we try to compile our pro*c file

/home/barts/builddir $ make build_get_plc_data
Making Object files for get_plc_data.c
        /opt/ansic/bin/cc  -c  -I. -I../lib -I/opt/pi/include   -I/u01/dba/oracle/product/9.2.0/precomp/public get_plc_data.c
        /opt/ansic/bin/cc  -o get_plc_data get_plc_data.o -L/opt/pi/lib /opt/pi2/lib/libpiapi.a -lC.ansi -lC  -L/u01/dba/oracle/proh
/usr/ccs/bin/ld: Unsatisfied symbols:
   sqlcx2t (first referenced in get_plc_data.o) (code)
   main (Not referenced yet! Probably due to -u option)
*** Error exit code 1 (ignored)
        /bin/rm -f get_plc_data.o

We don't get this error if EXEC IAF is commented out. Can you please explain the reason for this error and come out with a solution to solve this problem. Any suggestion in detail will be appriciated.

Thanks
Jeslie

jeslie.simpson@wipro.com
Previous Topic: Different errors across DBs.
Next Topic: API's for bulk load
Goto Forum:
  


Current Time: Thu Apr 18 10:05:23 CDT 2024