Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> linking error / embed. sql / unix
Hi,
Hopefully I am in the correct newsgroup. Whenever I try to compile a simple embedded sql c code I get a linker error:
Undefined first referenced symbol in file sqlglm /var/tmp/cc0Tv20O1.o sqlcxt /var/tmp/cc0Tv20O1.old: fatal: Symbol referencing errors. No output written to a.out
These symbols are defined in the libsql.a as far as I have seen. The comiler call looks like this (oracle_home is set correctly)
gcc -I$ORACLE_HOME/sqllib/public -L$ORACLE_HOME/lib -I$ORACLE_HOME/precomp/public -lsql bsp.c
Any hints?
--
o
/|\ Viele Gruesse,Received on Mon Nov 29 1999 - 08:33:42 CST
>>
o Patrick Gundlach
![]() |
![]() |