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`
** Package changed: gcc-4.5 (Ubuntu) => xmlrpc-c (Ubuntu)
** Changed in: xmlrpc-c (Ubuntu)
Status: New => Confirmed
** Tags added: as-needed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690779
Title:
Undefined reference error with methods of libxmlrpc-c3-dev
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs