-
Hi Guys,
I am having trouble linking pro*C programs with GNU gcc on SUN SOLARIS server. I am getting undefined symbol "sqlca" while linking. thanks in advance.
The error message is as follows:
Undefined first referenced
symbol in file
sqlca sqlio.o
ld: fatal: Symbol referencing errors. No output written to ccmsdaly
collect2: ld returned 1 exit status
*** Error code 1
The following command caused the error:
gcc -o ccmsdaly ccmsmain.o ccmsdaly.o sqlio.o ccmslib.o commmemb.o commhear.o commloc.o chartcod.o dailyfil.o membrec.o validbil.o votedet.o votesum.o -L-L. -L/disk1/app/oracle/product/8.1.7/lib/ -lclntsh `cat /disk1/app/oracle/product/8.1.7/lib/sysliblist` -R/disk1/app/oracle/product/8.1.7/lib -laio -lm
make: Fatal error: Command failed for target `ccmsdaly'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|