Hello, o Dan-Cristian Bogos [11/13/08 15:38]: > Folks (sorry for repeating my email, looks like I have sent it first from a > non-subscribed address), > > I am getting a strange problem while trying to install xmlrpc2di module . > Could be that I am doing something wrong, therefore would appreciate any > kind of guidance. > > Steps I have performed: > 1. Uncommented most of the things in Makefile for a local install of > xmlrpc++0.7 > 2. Grabbed and patched the xmlrpc++0.7 with "make install-xmlrpcpp" > 3. Run "make" to make the module. > > Bellow you can have the output of the compilation. thanks, seems that struct access in XmlRpcValue is only supported for newer (>0.7, e.g. in debian there is 0.7+cvs version) xmlrpcpp version. Now I made that compile time optional, hope it compiles now without problems. If your xmlrpcpp version supports SSL, you also need to add -DHAVE_XMLRPCPP_SSL in Makefile (I accidentally left it in last time).
BR Stefan > > Any tips would be appreciated. > > Cheers, > DanB > > > host4:/usr/local/src/sems/trunk/apps/xmlrpc2di# make > ../../core/plug-in/Makefile.app_module:121: MultithreadXmlRpcServer.d: > No such file or directory > g++ -MM XMLRPC2DI.cpp -Wall -Wno-reorder -fPIC -g -O2 -Ixmlrpc++0.7/src > -D_DEBUG -D_THREAD_SAFE -D_REENTRANT -DSEMS_VERSION='"1.0.0-pre-r1130M"' > -DARCH='"i386"' -DOS='"linux"' -I ../../core -Ixmlrpc++0.7/src > > XMLRPC2DI.d > g++ -MM MultithreadXmlRpcServer.cpp -Wall -Wno-reorder -fPIC -g -O2 > -Ixmlrpc++0.7/src -D_DEBUG -D_THREAD_SAFE -D_REENTRANT > -DSEMS_VERSION='"1.0.0-pre-r1130M"' -DARCH='"i386"' -DOS='"linux"' > -I ../../core -Ixmlrpc++0.7/src > MultithreadXmlRpcServer.d > make[1]: Entering directory `/usr/local/src/sems/trunk/apps/xmlrpc2di' > make[1]: Nothing to be done for `deps'. > make[1]: Leaving directory `/usr/local/src/sems/trunk/apps/xmlrpc2di' > make[1]: Entering directory `/usr/local/src/sems/trunk/apps/xmlrpc2di' > g++ -Wall -Wno-reorder -fPIC -g -O2 -Ixmlrpc++0.7/src -Ixmlrpc > ++0.7/src -D_DEBUG -D_THREAD_SAFE -D_REENTRANT > -DSEMS_VERSION='"1.0.0-pre-r1130M"' -DARCH='"i386"' -DOS='"linux"' > -I ../../core -Ixmlrpc++0.7/src -I ../../core -Ixmlrpc++0.7/src -c > MultithreadXmlRpcServer.cpp -o MultithreadXmlRpcServer.o > g++ -Wall -Wno-reorder -fPIC -g -O2 -Ixmlrpc++0.7/src -Ixmlrpc > ++0.7/src -D_DEBUG -D_THREAD_SAFE -D_REENTRANT > -DSEMS_VERSION='"1.0.0-pre-r1130M"' -DARCH='"i386"' -DOS='"linux"' > -I ../../core -Ixmlrpc++0.7/src -I ../../core -Ixmlrpc++0.7/src -c > XMLRPC2DI.cpp -o XMLRPC2DI.o > XMLRPC2DI.cpp: In static member function ‘static void > XMLRPC2DIServer::xmlrpcval2amarg(XmlRpc::XmlRpcValue&, AmArg&, unsigned > int)’: > XMLRPC2DI.cpp:480: error: no matching function for call to > ‘std::map<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, XmlRpc::XmlRpcValue, > std::less<std::basic_string<char, std::char_traits<char>, > std::allocator<char> > >, std::allocator<std::pair<const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > XmlRpc::XmlRpcValue> > >::map(XmlRpc::XmlRpcValue&)’ > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c > ++/4.1.2/bits/stl_map.h:174: note: candidates are: std::map<_Key, _Tp, > _Compare, _Alloc>::map(const std::map<_Key, _Tp, _Compare, _Alloc>&) > [with _Key = std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, _Tp = XmlRpc::XmlRpcValue, _Compare = > std::less<std::basic_string<char, std::char_traits<char>, > std::allocator<char> > >, _Alloc = std::allocator<std::pair<const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > XmlRpc::XmlRpcValue> >] > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c > ++/4.1.2/bits/stl_map.h:164: note: std::map<_Key, _Tp, > _Compare, _Alloc>::map(const _Compare&, const _Alloc&) [with _Key = > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > _Tp = XmlRpc::XmlRpcValue, _Compare = std::less<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > >, _Alloc = > std::allocator<std::pair<const std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, XmlRpc::XmlRpcValue> >] > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c > ++/4.1.2/bits/stl_map.h:156: note: std::map<_Key, _Tp, > _Compare, _Alloc>::map() [with _Key = std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, _Tp = > XmlRpc::XmlRpcValue, _Compare = std::less<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > >, _Alloc = > std::allocator<std::pair<const std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, XmlRpc::XmlRpcValue> >] > XMLRPC2DI.cpp:480: error: no matching function for call to > ‘std::map<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, XmlRpc::XmlRpcValue, > std::less<std::basic_string<char, std::char_traits<char>, > std::allocator<char> > >, std::allocator<std::pair<const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > XmlRpc::XmlRpcValue> > >::map(XmlRpc::XmlRpcValue&)’ > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c > ++/4.1.2/bits/stl_map.h:174: note: candidates are: std::map<_Key, _Tp, > _Compare, _Alloc>::map(const std::map<_Key, _Tp, _Compare, _Alloc>&) > [with _Key = std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, _Tp = XmlRpc::XmlRpcValue, _Compare = > std::less<std::basic_string<char, std::char_traits<char>, > std::allocator<char> > >, _Alloc = std::allocator<std::pair<const > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > XmlRpc::XmlRpcValue> >] > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c > ++/4.1.2/bits/stl_map.h:164: note: std::map<_Key, _Tp, > _Compare, _Alloc>::map(const _Compare&, const _Alloc&) [with _Key = > std::basic_string<char, std::char_traits<char>, std::allocator<char> >, > _Tp = XmlRpc::XmlRpcValue, _Compare = std::less<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > >, _Alloc = > std::allocator<std::pair<const std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, XmlRpc::XmlRpcValue> >] > /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c > ++/4.1.2/bits/stl_map.h:156: note: std::map<_Key, _Tp, > _Compare, _Alloc>::map() [with _Key = std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, _Tp = > XmlRpc::XmlRpcValue, _Compare = std::less<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > >, _Alloc = > std::allocator<std::pair<const std::basic_string<char, > std::char_traits<char>, std::allocator<char> >, XmlRpc::XmlRpcValue> >] > make[1]: *** [XMLRPC2DI.o] Error 1 > make[1]: Leaving directory `/usr/local/src/sems/trunk/apps/xmlrpc2di' > make: [all] Error 2 (ignored) > > _______________________________________________ > Sems mailing list > [email protected] > http://lists.iptel.org/mailman/listinfo/sems -- Stefan Sayer VoIP Services [EMAIL PROTECTED] www.iptego.com IPTEGO GmbH Am Borsigturm 40 13507 Berlin Germany Amtsgericht Charlottenburg, HRB 101010 Geschaeftsfuehrer: Alexander Hoffmann _______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
