Linking Pro*C library on Linux
Dear all,
I am trying to compile a Pro*C program on Linux. It compiled successfully but I tried to link the object files it failed to link that. Here is command that used to link :
gcc -fPIC -o readgfile -p readg_x.o cdrsort.o mtcprc.o encoder.o mtcbuil.o dbtprc.o dbtbuil.o MedLib_x.o DFMLIB_x.o Dyn_SQL_x.o -L/u01/home/med/src/lib -L/u02/oradb102/product/10.2.0.1/lib/ /home/med/src/api/libnapi.a /home/med/src/api/libtabs.a -lclntsh
Here is error:
/home/med/src/readg/readg_x.c:565: undefined reference to `options'
0