Menu

Problems building xmlrpc++

Help
Luis Pablo
2008-03-18
2013-04-24
  • Luis Pablo

    Luis Pablo - 2008-03-18

    Hello,

    I'm having some trouble in building the library, in its latest CVS version (I'm just typing 'make', and using g++ 4.1.2):

    [...]
    g++ -o ./libxmlrpc++.so.0.8 -shared ./src/XmlRpcClient.o ./src/XmlRpcDispatch.o
    ./src/XmlRpcServer.o ./src/XmlRpcServerConnection.o ./src/XmlRpcServerMethod.o .
    /src/XmlRpcSocket.o ./src/XmlRpcSource.o ./src/XmlRpcUtil.o ./src/XmlRpcValue.o
    cd test && make CXX=g++ CXXFLAGS="-g -Wall -Wstrict-prototypes -O2 -I/usr/local/
    ssl/include/" SYSTEMLIBS=""
    make[1]: Entering directory `/home/root/xmlrpc++/test'
    make[1]: *** No rule to make target `-lssl', needed by `HelloClient'.  Stop.
    make[1]: Leaving directory `/home/root/xmlrpc++/test'
    make: *** [tests] Error 2

    I also tried with the 0.7 release, with no better luck.
    Any ideas?

    Thanks in advance,

    LP

     
    • TheDonald

      TheDonald - 2008-03-20

      I solved the same problem by downgrading Dev-C++ to my original 4.9.9.2 Dev-C++ release and using the default settings from there. The xml-rpc++ examples worked fine.If you don't use Dev-C++ I can't help you.
      TheDonald

       
    • quique123

      quique123 - 2008-03-25

      Hi,

      you are experiencing problems when compiling latest CVS version because the linker cannot find the SSL library (see the "-lssl" message), needed by that version.

      But SSL is not needed for the 0.7 release. I suggest you to create a brand new folder, unzipp there the 0.7  release and try it again

      If it does not work and you request more info, please provide then your system (Linux? Windows? Unix? 386? PowerPC?), compiler version, IDE and whatever other information you find important.

      José

       

Log in to post a comment.