activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kingheiy <kingh...@gmail.com>
Subject undefined reference to `MQAdapter::class$' when use "gcj" to build activemq client
Date Fri, 23 May 2008 20:51:39 GMT

Hi All:
  I am following the example in
http://activemq.apache.org/compile-activemq-with-gcj.html
  to compile ActiveMQ with GCJ to get a native C/C++ library.  But I am
getting error in the last step

$:~/gcj_test.dir> /opt/gcc424/bin/gcj -o Bootstrap Bootstrap.o MQAdapter.so
-L /opt/gcc424/lib -lgcj -lstdc++ -lgcj_bc activeio-core-3.1.0.jar.so
activemq-core-5.1.0.jar.so commons-logging-1.1.jar.so
geronimo-j2ee-management_1.0_spec-1.0.jar.so
geronimo-jms_1.1_spec-1.1.1.jar.so geronimo-jta_1.0.1B_spec-1.0.1.jar.so
geronimo-servlet_2.5_spec-1.2.jar.so log4j-1.2.14.jar.so
Bootstrap.o: In function `main':
Bootstrap.cpp:(.text+0x200): undefined reference to `MQAdapter::class$'
collect2: ld returned 1 exit status
$:~/gcj_test.dir>

any idea what casued the "undefined reference to `MQAdapter::class$'" ?

-- 
View this message in context: http://www.nabble.com/undefined-reference-to-%60MQAdapter%3A%3Aclass%24%27-when-use-%22gcj%22-to-build-activemq-client-tp17440837s2354p17440837.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message