RE: [xml] Build problems: libxml2 on redhad7.1



I forgot to mention that I was installing libxml2 version 2.4.30 source code.


-----Original Message-----
From: Ganesh Sivaraman
Sent: Mon 12/23/2002 10:56 AM
To: xml gnome org
Cc: 
Subject: [xml] Build problems: libxml2 on redhad7.1

Hi,
   I found the following 'undefined referneces' when i gave a 'make'. 
Can someone pls tell me which libraries do I have to link for this? Or is it some 'configure' or Makefile 
option that I've to change?

gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include       -g -O2 -Wall -c xmllint.c
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -o xmllint  xmllint.o ./libxml2.la    -lm
gcc -g -O2 -Wall -o .libs/xmllint xmllint.o  ./.libs/libxml2.so -lm -Wl,--rpath -Wl,/usr/local/lib
./.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 `gzwrite'
./.libs/libxml2.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status

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





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