[xml] Re: [xml-bindings]Compiling error : why ?

[ this doesn't seems binding related, forwarding the answer to the main list]

On Wed, Jul 23, 2003 at 10:29:31AM +0200, Jean Pierre PICHON wrote:
Hi all,

I try to install the libxml on a CObalt RAQ4 and I get the following error 
when I compile it.
make[2]: Entering directory `/usr/local/include/php/ext/xslt/libxml2-2.5.8'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
-I./include -I./include  -D_REENTRANT      -g -O2 -Wall -c nanoftp.c
rm -f .libs/nanoftp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 
-Wall -c nanoftp.c  -fPIC -DPIC -o .libs/nanoftp.lo
nanoftp.c: In function `xmlNanoFTPConnect':
nanoftp.c:1001: warning: `addrlen' might be used uninitialized in this function
nanoftp.c: In function `xmlNanoFTPGetConnection':
nanoftp.c:1483: structure has no member named `ss_family'
nanoftp.c:1503: structure has no member named `ss_family'
nanoftp.c:1533: structure has no member named `ss_family'
nanoftp.c:1571: structure has no member named `ss_family'
nanoftp.c:1587: structure has no member named `ss_family'
nanoftp.c:1600: structure has no member named `ss_family'
make[2]: *** [nanoftp.lo] Error 1
make[2]: Leaving directory `/usr/local/include/php/ext/xslt/libxml2-2.5.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/include/php/ext/xslt/libxml2-2.5.8'
make: *** [all-recursive-am] Error 2
[root libxml2-2.5.8]#

  Hum, this sounds like an IPv6 patch problem, on an older kernel 
so the best is to add --without-ipv6 (check the syntax) at the configure
  I wonder why SUPPORT_IP6 is switched on by the configure detection,
or maybe there is a special portability fix needed for the old version.


Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]