[Devel] mi_xmlrpc on mandriva 2006

Cesc cesc.santa at gmail.com
Wed Apr 18 13:24:32 CEST 2007


Hi,

I know ... debian is better, but i got stuck with mandriva for this
project :( (not my choice, but i have to live with it).
This is what I installed (plus the libxmlrpc0)
Name: libxmlrpc0-devel
Version: 0.51-7mdk
Architecture: i586
Size: 610 KB

Summary: Libraries, includes, etc. to develop XML and HTML applications

Description: xmlrpc-epi is an implementation of the xmlrpc protocol in
C. It provides an easy to use API for developers to serialize RPC
requests to and from XML. It does *not* include a transport layer,
such as HTTP. The API is primarily based upon proprietary code written
for internal usage at Epinions.com, and was later modified to
incorporate concepts from the xmlrpc protocol.

On 4/18/07, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:
> Cesc,
>
> note that you need the xmlrpc-c package (the C implementation) and
> xmlrpc-c-dev . On debian there are the libxmlrpc-c3 and libxmlrpc-c3-dev
> packages.
>
> also, see Henning's note about version.
>
> regards,
> bogdan
>
> Cesc wrote:
> > Hi,
> >
> > Openser1.2, on mandriva 2006
> > mi_xmlrpc won't compile:
> > note the line with: mi_xmlrpc.c:44:26: error: xmlrpc_abyss.h: No such
> > file or directory
> > I installed the libxmlrpc-devel package and this is all the xmlrpc
> > files found on my system
> > [thales at mandriva2006 openser.1.2]$ find /usr/include/ | grep -i xmlrpc
> > /usr/include/kabc/kabc_resourcexmlrpc.h
> > /usr/include/kabc/kcal_resourcexmlrpc.h
> > /usr/include/xmlrpc_introspection.h
> > /usr/include/xml_to_xmlrpc.h
> > /usr/include/xmlrpc.h
> >
> >
> > gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
> > -minline-all-stringops -falign-loops -ftree-vectorize -mtune=athlon64
> >  -DNAME='"openser"' -DVERSION='"1.2.0-notls"' -DARCH='"i386"'
> > -DOS='"linux"' -DCOMPILER='"gcc 4.0.1"' -D__CPU_i386 -D__OS_linux
> > -D__SMP_yes -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
> > -DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
> > -DHAVE_RESOLV_RES -DSTATISTICS -DF_MALLOC  -DSVNREVISION='"2:2009M"'
> > -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
> > -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
> > -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H
> > -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
> > -I/usr/local/include -I/usr/local/include/xmlrpc_-c
> > -I/usr/include/xmlrpc_-c -c mi_xmlrpc.c -o mi_xmlrpc.o
> > In file included from mi_xmlrpc.c:38:
> > mi_xmlrpc.h:37: error: syntax error before 'env'
> > mi_xmlrpc.h:37: warning: type defaults to 'int' in declaration of 'env'
> > mi_xmlrpc.h:37: warning: data definition has no type or storage class
> > mi_xmlrpc.h:38: error: syntax error before '*' token
> > mi_xmlrpc.h:38: warning: type defaults to 'int' in declaration of
> > 'xr_response'
> > mi_xmlrpc.h:38: warning: data definition has no type or storage class
> > In file included from mi_xmlrpc.c:39:
> > xr_writer.h:37: error: syntax error before '*' token
> > xr_writer.h:38: error: syntax error before '*' token
> > In file included from mi_xmlrpc.c:40:
> > xr_parser.h:36: error: syntax error before '*' token
> > In file included from mi_xmlrpc.c:41:
> > xr_server.h:35: error: syntax error before '*' token
> > xr_server.h:35: error: syntax error before '*' token
> > xr_server.h:36: warning: type defaults to 'int' in declaration of
> > 'default_method'
> > xr_server.h:36: warning: data definition has no type or storage class
> > xr_server.h:38: error: syntax error before '*' token
> > mi_xmlrpc.c:44:26: error: xmlrpc_abyss.h: No such file or directory
> > mi_xmlrpc.c:50: error: syntax error before 'env'
> > mi_xmlrpc.c:50: warning: type defaults to 'int' in declaration of 'env'
> > mi_xmlrpc.c:50: warning: data definition has no type or storage class
> > mi_xmlrpc.c:51: error: syntax error before '*' token
> > mi_xmlrpc.c:51: warning: type defaults to 'int' in declaration of
> > 'xr_response'
> > mi_xmlrpc.c:51: warning: data definition has no type or storage class
> > mi_xmlrpc.c: In function 'mod_child_init':
> > mi_xmlrpc.c:166: warning: implicit declaration of function
> > 'xmlrpc_server_abyss_init_registry'
> > mi_xmlrpc.c:176: error: 'xmlrpc_server_abyss_rpc2_handler' undeclared
> > (first use in this function)
> > mi_xmlrpc.c:176: error: (Each undeclared identifier is reported only once
> > mi_xmlrpc.c:176: error: for each function it appears in.)
> > mi_xmlrpc.c:182: error: 'xmlrpc_server_abyss_default_handler'
> > undeclared (first use in this function)
> > mi_xmlrpc.c:197: warning: implicit declaration of function
> > 'xmlrpc_env_init'
> > mi_xmlrpc.c:200: warning: implicit declaration of function
> > 'xmlrpc_build_value'
> > mi_xmlrpc.c:200: warning: assignment makes pointer from integer
> > without a cast
> > mi_xmlrpc.c:201: error: request for member 'fault_occurred' in
> > something not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:202: error: request for member 'fault_string' in something
> > not a structure or union
> > mi_xmlrpc.c:223: warning: implicit declaration of function
> > 'xmlrpc_env_clean'
> > mi_xmlrpc.c:224: warning: implicit declaration of function
> > 'xmlrpc_DECREF'
> > make[1]: *** [mi_xmlrpc.o] Error 1
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/devel
> >
>
>



More information about the Devel mailing list