[KLUG Programming] XML-RPC, C, & RH9

Adam Williams programming@kalamazoolinux.org
Sat, 07 Feb 2004 16:19:43 -0500


In trying to build xmlrpc-c-0.9.9 I get -

make[3]: Leaving directory
`/home/awilliam/Documents/SubSystems/oGo/mogo/test/c/xmlrpc-c-0.9.9/lib/abyss'
make[3]: Entering directory
`/home/awilliam/Documents/SubSystems/oGo/mogo/test/c/xmlrpc-c-0.9.9/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/home/awilliam/Documents/SubSystems/oGo/mogo/test/c/xmlrpc-c-0.9.9/lib'
make[2]: Leaving directory
`/home/awilliam/Documents/SubSystems/oGo/mogo/test/c/xmlrpc-c-0.9.9/lib'
Making all in src
make[2]: Entering directory
`/home/awilliam/Documents/SubSystems/oGo/mogo/test/c/xmlrpc-c-0.9.9/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./../lib/expat/xmlparse
-I./../lib/abyss/src    -g -O2 -c XmlRpcCpp.cc
In file included from XmlRpcCpp.cc:27:
XmlRpcCpp.h:73: parse error before `)' token
XmlRpcCpp.h:78: parse error before `)' token
XmlRpcCpp.h:168: parse error before `&' token
XmlRpcCpp.h:169: parse error before `&' token
XmlRpcCpp.h:186: parse error before `)' token
XmlRpcCpp.h:187: parse error before `)' token
XmlRpcCpp.h:210: parse error before `&' token
XmlRpcCpp.h:211: parse error before `&' token
XmlRpcCpp.h:212: parse error before `&' token

- which seems very odd.  I've built this before in history.  But on two
RH9 boxes it won't build.  Has anyone else built this package?

Ximian provides xmlrpc-c packages but they seem to be missing files
(xmlrpc_client.h in particular).

I'm just trying to built a little C routine for calling a given XML-RPC
service since web authentication is broken in C#, so I can just call the
C routine from the C# application.