Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> oracle library errors when linking
Hi
Sorry about the length of this one.
I have installed oracle 8.0.5 and oracle 8.1.5. When I try to install/compile a product (Unisys LINC development/generate for Unix) using the 8.1.5 installation, i get the following error (skip down a bit to Undefined Symbol;
COBDIR=`dirname /u01/cobol/coblib` cob -O -xe '' lcp.o \
../lib/child.o ../rtslib/o_c_systab.o ../rtslib/o_c_lsys.o ./rtslib/o_c_critic.o ../rtslib/o_c_stn.o ../irtslib/o_c_tmpl.o -F
-Q -Bstatic -L ../lib -loldb -lunixII -lactivelinc -L ../hub -lhub -Q -Bdynamic -lc -laio -Q -Bstatic -lelf -lw -L/u01/app/oracle/product/8.1.5/lib/naect.o
/u01/app/oracle/product/8.1.5/lib
-L/u01/app/oracle/product/8.1.5/rdbms/lib -Bstatic
/u01/app/oracle/product/8.1.5/lib/nautab.o
/u01/app/oracle/product/8.1.5/lib/naeet.o
-lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lclient8 -lvsn8 -lcommon8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lnro8 -lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -lnoss8 -lnoname8 -lntcp8 -lntcps8 -lnsslb8 -lntcp8 -lntns8 -ln8 -lnl8 -lclient8 -lvsn8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lm -lsql8
Undefined first referenced symbol in file
Product Build on Tue Aug 8 13:27:42 NZST 2000 FAILED. prod.build BindLcp: error in /u01/linc163/obj/lcp/makefile making target olcp
When I look into the libraries in question, I get this;
naect.o:
naect.o: [Index] Value Size Type Bind Other Shndx Name
naect.o: [2] | 0| 0|SECT |LOCL |0 |2 | naect.o: [3] | 0| 0|SECT |LOCL |0 |3 | naect.o: [4] | 0| 0|SECT |LOCL |0 |4 | naect.o: [5] | 0| 0|SECT |LOCL |0 |5 | naect.o: [6] | 0| 0|SECT |LOCL |0 |6 | naect.o: [7] | 0| 0|SECT |LOCL |0 |7 | naect.o: [1] | 0| 0|FILE |LOCL |0 |ABS |naect.c naect.o: [8] | 0| 96|OBJT |GLOB |0 |3 |naecta naect.o: [23] | 4| 4|OBJT |GLOB |0 |4 |naectc naect.o: [21] | 0| 2|OBJT |GLOB |0 |4 |naecti naect.o: [22] | 96| 24|OBJT |GLOB |0 |3 |naectn naect.o: [9] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5a naect.o: [11] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5f naect.o: [18] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5g naect.o: [12] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5i naect.o: [15] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5k naect.o: [13] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5r naect.o: [14] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5s naect.o: [16] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5t naect.o: [10] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5u naect.o: [17] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5v naect.o: [20] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5w naect.o: [19] | 0| 0|NOTY |GLOB |0 |UNDEF |naemd5y
and the other one...
naeet.o:
naeet.o: [Index] Value Size Type Bind Other Shndx Name
naeet.o: [2] | 0| 0|SECT |LOCL |0 |2 | naeet.o: [3] | 0| 0|SECT |LOCL |0 |3 | naeet.o: [4] | 0| 0|SECT |LOCL |0 |4 | naeet.o: [5] | 0| 0|SECT |LOCL |0 |5 | naeet.o: [6] | 0| 0|SECT |LOCL |0 |6 | naeet.o: [7] | 0| 0|SECT |LOCL |0 |7 | naeet.o: [26] | 0| 0|NOTY |GLOB |0 |UNDEF |naed4ci naeet.o: [34] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56a naeet.o: [35] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56b naeet.o: [23] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56c naeet.o: [24] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56d naeet.o: [25] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56e naeet.o: [41] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56f naeet.o: [29] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56k naeet.o: [27] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56m naeet.o: [32] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56p naeet.o: [36] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56q naeet.o: [28] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56r naeet.o: [30] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56t naeet.o: [31] | 0| 0|NOTY |GLOB |0 |UNDEF |naed56v naeet.o: [33] | 0| 0|NOTY |GLOB |0 |UNDEF |naed5ui naeet.o: [1] | 0| 0|FILE |LOCL |0 |ABS |naeet.c naeet.o: [8] | 0| 180|OBJT |GLOB |0 |3 |naeeta naeet.o: [40] | 216| 300|OBJT |GLOB |0 |3 |naeetau naeet.o: [39] | 4| 4|OBJT |GLOB |0 |4 |naeetc naeet.o: [44] | 16| 4|OBJT |GLOB |0 |4 |naeetcu naeet.o: [37] | 0| 3|OBJT |GLOB |0 |4 |naeeti naeet.o: [42] | 8| 5|OBJT |GLOB |0 |4 |naeetiu naeet.o: [38] | 180| 36|OBJT |GLOB |0 |3 |naeetn naeet.o: [43] | 516| 60|OBJT |GLOB |0 |3 |naeetnu naeet.o: [20] | 0| 0|NOTY |GLOB |0 |UNDEF |naerena naeet.o: [21] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenb naeet.o: [9] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenc naeet.o: [10] | 0| 0|NOTY |GLOB |0 |UNDEF |naerend naeet.o: [11] | 0| 0|NOTY |GLOB |0 |UNDEF |naerene naeet.o: [12] | 0| 0|NOTY |GLOB |0 |UNDEF |naereni naeet.o: [15] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenk naeet.o: [13] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenm naeet.o: [18] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenp naeet.o: [22] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenq naeet.o: [14] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenr naeet.o: [16] | 0| 0|NOTY |GLOB |0 |UNDEF |naerent naeet.o: [19] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenu naeet.o: [17] | 0| 0|NOTY |GLOB |0 |UNDEF |naerenv
My question is - why all the UNDEF tags in the output? Is there a problem with having oracle 8.0.5 installed as well?
Thanks.
Chris Opthoog
GFG Group Ltd.
Received on Thu Aug 17 2000 - 20:52:17 CDT