ProC library link errors?

From: Jonathan fernald <jonathan_fernald_at_idx.com>
Date: 1997/11/20
Message-ID: <347470C0.6AB6_at_idx.com>#1/1


Quick summary: I'm using the Oracle ProC++ precompiler on some embedded sql code for Solaris. Everything compiles fine. But I can't get a link because of undefined errors coming out of some Oracle-supplied libraries. They look like this:

Undefined       first referenced
 symbol          in file
pbbfset       /opt/db/oracle7/lib/libclient.a(krmx.o)
ppiicc        /opt/db/oracle7/lib/libclient.a(krmx.o)
psucan        /opt/db/oracle7/lib/libclient.a(krmx.o)
<others not shown>

[Quoted] So the krmx.o module of the Oracle libclient library needs some externals. My guess is that I need another library, but what/where?

[Quoted] Anyone else have a suggestion?  

Thanks in advance,

  • Jon (jonathan_fernald_at_idx.com)

For those who are interested, here's the link statement generated by the make:

CC -o myprogram mymodule.o -L../sql -L../bid -L../ddb -L../regexp
-L../rwtool -L/lib -L/opt/db/oracle7/lib -L/opt/db/oracle7/precomp/lib
-L/opt/db/oracle7/lib/ -lclntsh /opt/db/oracle7/lib/scorept.o

/opt/db/oracle7/lib/sscoreed.o /opt/db/oracle7/rdbms/lib/kpudfo.o

-lclient -lsql /opt/db/oracle7/lib/nautab.o /opt/db/oracle7/lib/naeet.o
/opt/db/oracle7/lib/naect.o /opt/db/oracle7/lib/naedhs.o `cat /opt/db/oracle7/lib/naldflgs` -lnetv2 -lnttcp -lnetwork -lncr -lnetv2
-lnttcp -lnetwork -lclient -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4
-lnlsrtl3 -lcore4 -lnlsrtl3 -lnetv2 -lnttcp -lnetwork -lncr -lnetv2
-lnttcp -lnetwork -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4
-lnlsrtl3 -lcore4 -lnlsrtl3 -lclient -lcommon -lgeneric -lnlsrtl3
-lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3 `cat
/opt/db/oracle7/lib/sysliblist` -lm -library=%all Received on Thu Nov 20 1997 - 00:00:00 CET

Original text of this message