Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Problem embedded SQL and GNU g++
I have a problem with linking a Program which is using embedded SQL
under SunOS 5.4
Oracle is version 7.2
g++ is version 2.7.2
With Sun CC everything is ok, but i would like to use GNU g++.
here the compiler output:
Pro*C/C++: Release 2.1.2.0.0 - Production on Thu Dec 5 10:04:47 1996
Copyright (c) Oracle Corporation 1979, 1994. All rights reserved.
System default option values taken from:
/home/sparc-01/5appl/oracle/7.2/proc/pmscfg.h
g++ -I/home/sparc-01/5appl/oracle/7.2/sqllib/public -c a.cc g++ -o a -L/home/sparc-01/5appl/oracle/7.2/lib -lsql -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -ldl -lnsl -lsocket /home/sparc-01/5appl/oracle/7.2/lib/osntab.o a.o
Undefined first referenced symbol in file osnptt
/home/sparc-01/5appl/oracle/7.2/lib/osntab.o
osnttt
/home/sparc-01/5appl/oracle/7.2/lib/osntab.o
sqlcex a.o osntns
Thanks for any help.
Ullrich Received on Thu Dec 05 1996 - 00:00:00 CST