This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Link Error - C++


Hi,

I'm trying to compile and link a program written using Oracle Pro*C++.
Everything seems to go well unil the link step when I get the following
message:

        c++ FullDBScan.cpp ../object/pack.o ../object/ASCII2EBCDIC.o
../object/EBCDIC2ASCII.o ../object/InitDataArea.o  ../objec
StrFunc.o ../object/UNIXtoIMS.o ../object/IMStoUNIX.o
../object/set_bits.o ../object/set_pcb_fdbk.o ../object/set_pcb_status.o
/object/tbk_compare.o  ../object/sp_tbk001.o  -I
/ora/app/oracle/product/10.1.0/precomp/public/ -I
/ora/app/oracle/product/10.1.
precomp/lib/ \
        -L /ora/app/oracle/product/10.1.0/precomp/public/ -L
/ora/app/oracle/product/10.1.0/precomp/lib/ -L /ora/app/oracle/prod
t/10.1.0/rdbms/lib/ \
        -l /ora/app/oracle/product/10.1.0/rdbms/lib/libdbtools10.a -o
../object/FullDBScan
In file included from FullDBScan.cpp:30:
../include/ExternPrototypes.h:108:24: warning: no newline at end of file
In file included from FullDBScan.cpp:36:
../include/clibs.h:22:7: warning: no newline at end of file


ld: Can't find library or mismatched ABI for
-l/ora/app/oracle/product/10.1.0/rdbms/lib/libdbtools10.a
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1

I have verified that the library is in the directory and that it
contains the unresolved symbols. Does anyone have a clue as to what is
going on?? I'd appreciate any ideas.
Thanks.

Don Hicks
XT 45695


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]