Re: [xml] Error building libxml2



Progress...a reference error with atexit now.  What does this refer to?

creating libxml2.la
(cd .libs && rm -f libxml2.la && ln -s ../libxml2.la libxml2.la)
source='xmllint.c' object='xmllint.o' libtool=no \
depfile='.deps/xmllint.Po' tmpdepfile='.deps/xmllint.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -I/data/local/include -g -O2 -Wall -c `test -f 'xmllint.c' || echo './'`xmllint.c /bin/sh ./libtool --mode=link gcc -g -O2 -Wall -o xmllint xmllint.o ./libxml2.la -lpthread -L/data/local/lib -lz -lm gcc -g -O2 -Wall -o .libs/xmllint xmllint.o ./.libs/libxml2.so -L/data/local/lib -lpthread -lz -lm -Wl,--rpath -Wl,/usr/local/lib
./.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

Anne
On Feb 3, 2004, at 2:30 PM, Adam Maccabee Trachtenberg wrote:

On Tue, 3 Feb 2004, Anne Ramey wrote:

I installed a new copy of zlib, just to be sure.  It configures, made,
tested and installed fine.  It installed into
/data/local/include so I did:

./configure --with-zlib=/data/local/include --enable-ipv6=no

Try "--with-zlib=/data/local".

-adam

--
adam trachtenberg com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!

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




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