Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Problem embedded SQL and GNU g++

Problem embedded SQL and GNU g++

From: Ullrich Kossow <kossow_at_iwb.mw.tu-muenchen.de>
Date: 1996/12/05
Message-ID: <32A69221.202C@iwb.mw.tu-muenchen.de>#1/1

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

/home/sparc-01/5appl/oracle/7.2/lib/osntab.o
ld: fatal: Symbol referencing errors. No output written to a gmake: *** [a] Error 1

Thanks for any help.

        Ullrich Received on Thu Dec 05 1996 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US