very odd linker error GCC ld 3.4.6

CARTER-HITCHIN, David, GBM David.CARTER-HITCHIN@rbos.com
Thu Nov 16 18:09:00 GMT 2006


Hi,

Code that has been compiling and linking fine for a while now has suddenly
been complaining like this:
============================================================================
=================================
g++ -L../lib/solaris_gcc_nonopt -L../ALroot/solaris_gcc_nonopt/lib
-L/apps/IRDtools/pkgs/pd/boost/prod/lib
-L/apps/IRDtools/pkgs/tp/sybase/prod/lib
-L/apps/IRDtools/pkgs/tp/reuters/ssl/prod/lib
-L/apps/IRDtools/pkgs/tp/tibco/rendezvous/prod/lib
-L/apps/IRDtools/pkgs/pd/bzip2/prod/lib
-L/apps/IRDtools/pkgs/tp/reuters/ssl/prod/lib
-L/apps/IRDtools/pkgs/pd/sqlite/prod/lib  -o solaris_gcc_nonopt/2logins
solaris_gcc_nonopt/2logins.o    -lanalytic -lapi_event -lapi_GRE -lapi_index
-lapi_ins_tran -lapi_org -lapi_security -lapi_sim -lbasicop -lbermuda2
-lblackscholes -lbondcalc -lcal -lcmt_model -lcredit_correlation
-lcredit_engine -lctd -lcurve_api -lcusip_util -ldateseq -ldeval
-lEOS_models -lfmt -lgdscrypt -lgdsproxy -lgdxaux -lgenmem -lglaux
-lgui_calls -lhandy -lidxzip -linseng -linsmem -lins_utils -lidxaux
-llimflex2 -llogging -lmasteraux -lmodel -lmodfra -lmod_whaley -lmonte_carlo
-lmortgage_models -lmpfolio -lnth_to_default -lpassword -lperaux -lprcaux
-lprice_api -lprocess -los_common -lquery -lrdwrt -lrevalaux -lric -lrv7
-lscaux -lsdb -lsqlite_interface -lshm -lstdfileio -lstr -lswaux -lsybaux
-lsyslogd_interface -ltdb -ltdwaux -lTNFCurve -ltrade_api -ltrade_check
-ltrade_defaults -luseridx -lvolaux -lvolengine -lvorst -lhawkrbt
-ltrade_model -loralib -lm -lpthread -lelf -lnls -lsocket
-lboost_date_time-gcc -lboost_regex-gcc -lboost_program_options-gcc-mt
-lsybdb -ltriarch_api -lfeedaux -lansi -lTriarchSSL -ltibrv -ltibrvcm -lbz2
-ltriarch_api -lfeedaux -lansi -lTriarchSSL -lsqlite3   
Undefined                       first referenced
 symbol                             in file
ramore_internals_independent_validate(int)
.../lib/solaris_gcc_nonopt/libapi_ins_tran.so
ld: fatal: Symbol referencing errors. No output written to
solaris_gcc_nonopt/2logins
collect2: ld returned 1 exit status
gmake: *** [solaris_gcc_nonopt/2logins] Error 1
============================================================================
================================

What is very odd about this is that this symbol is in the so and we haven't
changed that in quite a while:

[lon3332xus]-> nm ../lib/solaris_gcc_nonopt/libapi_ins_tran.so | grep
independent_valid>
         U _Z37ramore_internals_independent_validatei

[lon3332xus]-> c++filt _Z37ramore_internals_independent_validatei

ramore_internals_independent_validate(int)


This is happening both on Solaris 8 and Linux.

Does anyone know what could cause this?

Thanks,
David.

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
http://www.rbos.com
http://www.rbsmarkets.com 
***********************************************************************************



More information about the Binutils mailing list