Linking problems using oracle8 and gcc 2.7.2.3 on SunOS 5.5.1

From: Mohamad Ijadi <mohamad_at_lanl.gov>
Date: 1998/03/11
Message-ID: <3506B4F2.51A97DB8_at_lanl.gov>#1/1


Howdy, I am having problems linking my C programs using Oracle8 on a SunOS 5.5.1 and gcc. I get a bunch of undefined symbols and I can't find out which oracel8 libraries I should put on my link line.

Any help would be appreciated; oracle support has been very slow about this:(. Details are below.

  • mohamad

Los Alamos National Laboratory
Distributed Computing & Viz.
CIC-8, MS B272
phone: (505) 665-4331
fax: (505) 665-6333

My link line has these on it:

-L/oracle/app/oracle/product/8.0.3/lib \
-lclient -lnetwork -lncr -lnetwork -lclient -lcommon -lgeneric -lepc \
-lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 \
-lnsl -lsocket -lgen -ldl -lnetwork -lclient -lgeneric -lcommon \
-lm -laio -lc

And I get a bunch of undefined symbols like:

Undefined                       first referenced
 symbol                             in file

kpudbcx                             

/oracle/app/oracle/product/8.0.3/lib/libclient.a(upicur.o)

kpuexe
/oracle/app/oracle/product/8.0.3/lib/libclient.a(upipar.o)

naeeta
/oracle/app/oracle/product/8.0.3/lib/libnetwork.a(nae.o)

naeetc
/oracle/app/oracle/product/8.0.3/lib/libnetwork.a(nae.o) Received on Wed Mar 11 1998 - 00:00:00 CET

Original text of this message