Home » Developer & Programmer » Precompilers, OCI & OCCI » OCCI Library
OCCI Library [message #94353] Fri, 27 August 2004 04:01
RR
Messages: 19
Registered: October 2001
Junior Member
Can anyone tell me what is wrong in the following link command

Platform Solaris - 8
Oracle 9i (9.2.0)
Using Sun Workshop compiler
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-12 2002/12/16

I am trying to build the occi examples occidml in specific that comes with the Oracle ($ORACLE_HOME/rdbms/demo). Compile works fine but the link is failing

COMPILE = OK

/opt/SUNWspro/bin/CC -xarch=v9 -c occidml.cpp -I/opt/oracle/u01/app/oracle/product/9.2.0/rdbms/public

LINK = Error see below

ld -o occidml -L/opt/oracle/u01/app/oracle/product/9.2.0/lib -L/opt/oracle/u01/app/oracle/product/9.2.0/rdbs/lib -L/usr/lib/64/ `cat /opt/oracle/u01/app/oracle/product/9.2.0/lib/sysliblist` -R/opt/oracle/u01/app/oracle/product9.2.0/lib -R/usr/lib/64/ -laio -lposix4 -lkstat -lm -lthread -locci9 -lclntsh -lclient9 -lcommon9 -lctxc9 -ldm9 -lgenric9 -lordim9 -lplc9 -lsql9 -lz -lm occidml.o

__1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_ occidml.o
__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___2l6MpFr1_2_2_ occidml.o
__1cGoracleEocciLEnvironmentUterminateEnvironment6Fp2_v_ occidml.o
__1cDstdIios_baseR__sync_with_stdio_ occidml.o
__1cG__CrunGex_get6F_pv_ occidml.o
__1cDstdbG__RTTI__1nDstdIios_baseHfailure__ occidml.o
__1cGoracleEocciMSQdDLExceptionKgetMessage6kM_nDstdMbasic_string4Ccn0DLchar_traits4Cc__n0DJallocator4Cc_____ occidml.o
__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___Dput6Mc_r1_ occidml.o
__1cG__CrunHex_skip6F_b_ occidml.o
__1cH__rwstdUInterlockedDecrement6Fpl_l_ occidml.o
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___J__nullref_ occidml.o
__1cH__rwstdQrwse_failbit_set_ occidml.o
__1c2k6Fpv_v_ occidml.o
__1cH__rwstdRexcept_msg_string2t6MIE_v_ occidml.o
__1cG__CrunIex_clean6F_v_ occidml.o
__1cG__CrunKex_rethrow6F_v_ occidml.o
__1cG__CrunMex_rethrow_q6F_v_ occidml.o
__1cDstdEcerr_ occidml.o
__1cDstdEcout_ occidml.o
__iob occidml.o (symbol belongs to implicit dependency /usr/lib/64//libc.so.1)
__1cGoracleEocciMSQdDLExceptionMgetErrorCode6kM_i_ occidml.o
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6Mpkcrkn0C__v_ occidml.o
__1cH__rwstdPrwse_badbit_set_ occidml.o
__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___Fflush6M_r1_ occidml.o
__1cH__rwstdUInterlockedIncrement6Fpl_l_ occidml.o
__1cDstdIios_baseHfailure2T6M_v_ occidml.o
__1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ occidml.o
__1cDstdIios_baseHfailure2t6Mrkn0AMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc_____v_ occidml.o
__1cH__rwstdPrwse_eofbit_set_ occidml.o
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___I__getRep6MLL_pnH__rwstdM__string_ref4Ccn0B_n0C____ occiml.o
__1cGoracleEoccibM__RTTI__1nGoracleEocciMSQdDdDLException__ occidml.o
__1cGoracleEocciMSQdDLException2T6M_v_ occidml.o
__1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___2l6Mi_r1_ occidml.o
fflush occidml.o (symbol belongs to implicit dependency /usr/lib/64//libc.so.1)
__1cGoracleEocciMSQdDLException2t6Mrk2_v_ occidml.o
memcpy occidml.o (symbol belongs to implicit dependency /usr/lib/64//libc.so.1)
__1cGoracleEocciLEnvironmentRcreateEnvironment6Fn0CEMode_pvpF4L_4pF44L_4pF44_v_p2_ occidml.o
__1c2n6FL_pv_ occidml.o
__1cG__CrunIex_alloc6FL_pv_ occidml.o
ld: fatal: Symbol referencing errors. No output written to occidml
Previous Topic: ORA-12560 TNS:protocol adapter error: -In VB
Next Topic: analytic functions in Pro*C
Goto Forum:
  


Current Time: Mon Nov 23 16:35:05 CST 2020