Re: [xml] problems with make of libxml2



Hmm.
This email made it's way to me without any of the List-... headers which
I use for filtering and so it ended up in my ProbablySpam folder.

On 20 Jan, in message <41C2A146-4B79-11D8-92A7-000A959E1C16 blast com>
  Anne Ramey <anner blast com> wrote:

Thanks so much.  It seemed to get much further this time, but now I 
don't know what is causing the new error:

./.libs/libxml2.so: undefined reference to `atexit'
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

ideas?

None.
Please provide a bit more than just the error message and final output -
I have no clue what your system was doing before it couldn't find
atexit.
Linking?
Compiling?
But as it can't find atexit then there's got to be something up with
your C library.

On Jan 16, 2004, at 5:47 PM, Philip Ludlam wrote:

On 15 Jan, in message <E15A60F6-4787-11D8-92A7-000A959E1C16 blast com>
  Anne Ramey <anner blast com> wrote:

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

This is a known and fixed bug.
You can disable IPV6, use CVS or wait for the next release.

./.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

Disable zlib support - or find out why your system has the zlib headers
but isn't linking with the library object.

Yours,

Phil L.
-- 
http://www.philipnet.com               http://director.sourceforge.net
          f y cn ndrstnd ths cn y gv m  jb s  cmptr prgrmmr?

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml

Anne Ramey
Network Administrator
Blast Internet Services
919-545-2521  (800)-24-BLAST
http://www.blast.com

Dear All,



Yours,

Phil L.
-- 
http://www.philipnet.com               http://director.sourceforge.net
          f y cn ndrstnd ths cn y gv m  jb s  cmptr prgrmmr?




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