activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbp <dilip.pa...@equifax.com>
Subject ACTIVEMQCPP - linker error using Sun Studio 11 compiler - activemq::library::ActiveMQCPP::initializeLibrary()
Date Sun, 14 Feb 2010 16:07:43 GMT

I have build the CMS library using the GNU compiler on Solaris 10 and am
trying to link with the Sun Sudio 11 Compiler with the existing projects
code base

I am running into following errors at linktime, I have taken the main.cpp
example and using existing Makefile structure to build it so determine if
the CMS library can be used with existing C++ code, below is the verbose
message from the compilation, it appears to be something with the static
library call activemq::library::ActiveMQCPP::initializeLibrary()

  Objects ..
        /export/home/m3l/Noram/Source/obj/main.o

###     command line files and options (expanded):
### -o /export/home/m3l/Noram/bin/test-activemq
/export/home/m3l/Noram/Source/obj/main.o -g -errwarn=wnoelseretvalue
-DDUPLICATE_PID_EPF -D_POSIX_C_SOURCE -D__EXTENSIONS__ -DRWSTD_NO_CONST_INST
-D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DNO_OBJECT_CACHE -DEQUIFAX_SMALL_BUSINESS_EXCHANGE
-I/export/home/m3l/ThirdParty/activemq-cpp-library-3.1.0/include/activemq-cpp-3.1.0
-I/export/home/m3l/ThirdParty/apr-1.3.9/include
-I/export/home/m3l/ThirdParty/apr-util-1.3.9/include
-I/export/home/m3l/Noram/Source/SearchMatch -I/export/home/m3l/Noram/Source
-I/export/home/v9rtc/sqllib/include
-I/export/home/build/ThirdParty/xerces-2_5_0/sparcv9/include
-I/tuxedo/tuxedo9.1/include -I/export/home/build/ThirdParty/boost_1_34_1
-I/export/home/build/ThirdParty/cppunit/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch=v9 -v -zmuldefs -mt
-L/export/home/m3l/ThirdParty/activemq-cpp-library-3.1.0/lib
-L/export/home/m3l/ThirdParty/apr-1.3.9/lib
-L/export/home/m3l/ThirdParty/apr-util-1.3.9/lib
-L/export/home/m3l/Noram/lib -L/export/home/v9rtc/sqllib/lib64
-L/tuxedo/tuxedo9.1/lib
-L/export/home/build/ThirdParty/xerces-2_5_0/sparcv9/lib
-L/export/home/build/ThirdParty/cppunit/lib -lactivemq-cpp -Bdynamic -lapr-1
-laprutil-1 -lexpat -ldb2 -ltux -lbuft -lfml -lfml32 -lengine -lpthread
-lposix4 -lnsl -lsocket -Bdynamic -lxerces-c -ldl -lm -laio -lnsl 
### CC: Note: NLSPATH =
/opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
### CC: Note: LD_LIBRARY_PATH =
/s11/SUNWspro/lib:/export/home/m3l/Noram/lib:/export/home/m3l/Noram/lib/shared:/export/home/m3l/ThirdParty/activemq-cpp-library-3.1.0/lib
### CC: Note: LD_LIBRARY_PATH_64 =
/tuxedo/tuxedo9.1/lib:/export/home/v9rtc/sqllib/lib64:/export/home/build/ThirdParty/xerces-2_5_0/sparcv9/lib:/export/home/v9rtc/sqllib/lib64:/export/home/m3l/Noram/lib
### CC: Note: LD_RUN_PATH     = (null)
### CC: Note: LD_OPTIONS = (null)
ln -s /opt/SUNWspro/prod/lib /tmp/lib_link.24707
ln -s /opt/SUNWspro/prod/lib /tmp/lib_base_link.24707
/usr/ccs/bin/ld -u __1cH__CimplKcplus_init6F_v_
-zld32=-S/tmp/lib_base_link.24707/libldstab_ws.so
-zld64=-S/tmp/lib_base_link.24707/v9/libldstab_ws.so
-zld32=-S/tmp/lib_base_link.24707/libCCexcept.so.1
-zld64=-S/tmp/lib_base_link.24707/v9/libCCexcept.so.1
-R/opt/SUNWspro/lib/rw7/v9:/opt/SUNWspro/lib/v9:/usr/ccs/lib/sparcv9:/lib/sparcv9:/usr/lib/sparcv9
-o /export/home/m3l/Noram/bin/test-activemq /opt/SUNWspro/prod/lib/v9/crti.o
/opt/SUNWspro/prod/lib/v9/CCrti.o /opt/SUNWspro/prod/lib/v9/crt1.o
/opt/SUNWspro/prod/lib/v9/values-xa.o -Y
P,/opt/SUNWspro/lib/rw7/v9:/opt/SUNWspro/lib/v9:/opt/SUNWspro/prod/lib/rw7/v9:/opt/SUNWspro/prod/lib/v9:/usr/ccs/lib/sparcv9:/lib/sparcv9:/usr/lib/sparcv9
/export/home/m3l/Noram/Source/obj/main.o -zmuldefs
-L/export/home/m3l/ThirdParty/activemq-cpp-library-3.1.0/lib
-L/export/home/m3l/ThirdParty/apr-1.3.9/lib
-L/export/home/m3l/ThirdParty/apr-util-1.3.9/lib
-L/export/home/m3l/Noram/lib -L/export/home/v9rtc/sqllib/lib64
-L/tuxedo/tuxedo9.1/lib
-L/export/home/build/ThirdParty/xerces-2_5_0/sparcv9/lib
-L/export/home/build/ThirdParty/cppunit/lib -lactivemq-cpp -Bdynamic -lapr-1
-laprutil-1 -lexpat -ldb2 -ltux -lbuft -lfml -lfml32 -lengine -lpthread
-lposix4 -lnsl -lsocket -Bdynamic -lxerces-c -ldl -lm -laio -lnsl -lCstd
-lCrun -lm -lthread -lc /opt/SUNWspro/prod/lib/v9/CCrtn.o
/opt/SUNWspro/prod/lib/v9/crtn.o >&/tmp/ld.24707.0.err
/opt/SUNWspro/prod/bin/c++filt -filt=no%stdlib </tmp/ld.24707.0.err
>/tmp/c++filt.24707.1.err
rm /tmp/ld.24707.0.err
/opt/SUNWspro/prod/bin/stdlibfilt -stderr </tmp/c++filt.24707.1.err
Undefined                       first referenced
 symbol                             in file
void activemq::library::ActiveMQCPP::initializeLibrary()
/export/home/m3l/Noram/Source/obj/main.o
decaf::lang::Thread::Thread(decaf::lang::Runnable*)
/export/home/m3l/Noram/Source/obj/main.o
bool decaf::util::concurrent::CountDownLatch::await(unsigned long)
/export/home/m3l/Noram/Source/obj/main.o
cms::ConnectionFactory*cms::ConnectionFactory::createCMSConnectionFactory(const
std::string &) /export/home/m3l/Noram/Source/obj/main.o
void decaf::util::concurrent::CountDownLatch::await()
/export/home/m3l/Noram/Source/obj/main.o
decaf::util::concurrent::CountDownLatch::~CountDownLatch()
/export/home/m3l/Noram/Source/obj/main.o
long long decaf::lang::Thread::getId()  
/export/home/m3l/Noram/Source/obj/main.o
void decaf::util::concurrent::CountDownLatch::countDown()
/export/home/m3l/Noram/Source/obj/main.o
cms::__RTTI__1nDcmsMCMSException_ /export/home/m3l/Noram/Source/obj/main.o
[Hint: static member cms::__RTTI__1nDcmsMCMSException_ must be defined in
the program]

decaf::util::concurrent::CountDownLatch::CountDownLatch(int)
/export/home/m3l/Noram/Source/obj/main.o
decaf::lang::Thread::~Thread()      
/export/home/m3l/Noram/Source/obj/main.o
void decaf::lang::Thread::start()   /export/home/m3l/Noram/Source/obj/main.o
long long decaf::lang::System::currentTimeMillis()
/export/home/m3l/Noram/Source/obj/main.o
std::string decaf::lang::Integer::toString(int)
/export/home/m3l/Noram/Source/obj/main.o
void decaf::lang::Thread::join()    /export/home/m3l/Noram/Source/obj/main.o
void activemq::library::ActiveMQCPP::shutdownLibrary()
/export/home/m3l/Noram/Source/obj/main.o

-- 
View this message in context: http://old.nabble.com/ACTIVEMQCPP---linker-error-using-Sun-Studio-11-compiler---activemq%3A%3Alibrary%3A%3AActiveMQCPP%3A%3AinitializeLibrary%28%29-tp27584369p27584369.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message