need help xmlrpc-c libraries newbie

Hi Guys,

i am returning to C++ after a long time ~2003 and i am having difficulties configuring eclipse CDT to use the xmlrpc libraries. i have install xmlrpc libraries on centos7 "all of them".

xmlrpc-c-config c++2 client --libs --cflags

and i tried to put them there pkg-config --libs as an added command variable to the linker `pkg-config --libs xmlrpc_client++`

but i get an error:


as i am newbie is anyone who knows how to add the xmlrpc libraries to the eclipse in order to use them to build the xmlrpc examples.

i know its asking a lot but i am back in the programming world so i need a little bit of help.

13:23:24 **** Build of configuration Debug for project xml ****
make all
Building file: ../src/xml.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/local/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/xml.d" -MT"src/xml.o" -o "src/xml.o" "../src/xml.cpp"
Finished building: ../src/xml.cpp

Building target: xml
Invoking: GCC C++ Linker
g++ -L/usr/local/lib -o "xml" ./src/xml.o -lxmlrpc -lxmlrpc_abyss -lxmlrpc++ -lxmlrpc_abyss++
/usr/bin/ld: ./src/xml.o: undefined reference to symbol '_ZN6girmem13autoObjectPtrD2Ev'
/usr/local/lib//libxmlrpc_util++.so.8: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [xml] Error 1
"make all" terminated with exit code 2. Build might be incomplete.

13:23:25 Build Failed. 2 errors, 0 warnings. (took 344ms)




Tim
Last edited on
i fixed it
needed to put them in order

xmlrpc_utils++
xmlrpc_client++
xmlrpc++
Topic archived. No new replies allowed.