Comment 1 for bug 690779

Revision history for this message
Stefano Rivera (stefanor) wrote :

This is not a GCC bug, it's a result of the no-add-needed linker changes.

The following works for me:

$ g++ -o server server.cpp -lxmlrpc_server++ -lxmlrpc++ -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_server

or, as a workaround:

$ g++ -o server server.cpp -Wl,--no-as-needed `xmlrpc-c-config c++2 abyss-server --libs`