[xml] problems with make of libxml2



When I did ./configure  (using all the defaults) I got:

nanoftp.c: In function `xmlNanoFTPGetConnection':
nanoftp.c:1556: structure has no member named `ss_family'
nanoftp.c:1575: structure has no member named `ss_family'
nanoftp.c:1606: structure has no member named `ss_family'
nanoftp.c:1643: structure has no member named `ss_family'
nanoftp.c:1662: structure has no member named `ss_family'
make[2]: *** [nanoftp.lo] Error 1
make[2]: Leaving directory `/data/test/XML/libxml2-2.6.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/test/XML/libxml2-2.6.4'
make: *** [all] Error 2

then I tried the --without-ftp switch and now I get:

./.libs/libxml2.so: undefined reference to `deflate'
./.libs/libxml2.so: undefined reference to `gzopen'
./.libs/libxml2.so: undefined reference to `crc32'
./.libs/libxml2.so: undefined reference to `gzread'
./.libs/libxml2.so: undefined reference to `deflateInit2_'
./.libs/libxml2.so: undefined reference to `gzdopen'
./.libs/libxml2.so: undefined reference to `gzclose'
./.libs/libxml2.so: undefined reference to `atexit'
./.libs/libxml2.so: undefined reference to `gzwrite'
./.libs/libxml2.so: undefined reference to `gzrewind'
./.libs/libxml2.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/data/test/XML/libxml2-2.6.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/test/XML/libxml2-2.6.4'
make: *** [all] Error 2


I'm unclear what I can do about this error or what is causing it. Please help.

Anne




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