This content has been marked as final. Show 9 replies
try g++ option -m32, it works for me
By the way, the supported g++ compiler version on RH Linux is 3.4 for 4.4 C-API.
So do you mean the C library only supports 32bit application? Is that possible to get 64bit C API library?
even using -m32, I got some errors:
/usr/bin/ld: cannot find -lstdc++
Am I missing anything?
Yes, currently there is only 32-bit C-API library for Linux and 64bit libary for Linux is planned in a future release.
The C-API library has dependency on C++ runtime library libstdc++ on Linux (see the C-API Developer Guide section 'C++ Runtime Library Support').
Thanks so much for your answers.
Can I build the C-API library for 64bit linux by myself? Using the source code provided?
Are there any special requirements to compile the library from source code?
We don't provide any ant rules to build the cclient library but you should be able
to build it with the source code provided. We use GNU make to build the library.
and will not be supported.
How or where can I get the makefile for cclient?
Build instructions for 64-bit libmqcrt.so can be found here: [http://forums.sun.com/thread.jspa?messageID=10985782|http://forums.sun.com/thread.jspa?messageID=10985782]
I've makefile for 64bit linux libmqcrt.so and used it in China Mobile project , please touch me.