hi
I compiled as follows
"gcc parser.c -lxml2 -lm "
Now im getting errors as follows
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpenW':
(.text+0x8f6): undefined reference to `gzdopen'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpenW':
(.text+0x938): undefined reference to `gzopen'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlGzfileOpenW':
(.text+0x952): undefined reference to `gzopen'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlGzfileRead':
(.text+0x962): undefined reference to `gzread'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlGzfileWrite':
(.text+0x982): undefined reference to `gzwrite'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlGzfileClose':
(.text+0x9a5): undefined reference to `gzclose'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlFreeZMemBuff':
(.text+0xa18): undefined reference to `deflateEnd'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `__xmlParserInputBufferCreateFilename':
(.text+0x10aa): undefined reference to `gzread'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `__xmlParserInputBufferCreateFilename':
(.text+0x10d2): undefined reference to `gzrewind'
/usr/lib/gcc/x86_64-linux-gnu/4.2.4/../../../../lib/libxml2.a(xmlIO.o): In function `xmlIOHTTPCloseWrite':
(.text+0x1abb): undefined reference to `deflate'
I have downloaded libxml2 parser from this link.
http://linux.softpedia.com/progDownl...nload-162.html
do we have different kind of libxml2 parser for 64 bit and 32 bit.
if so, can u tell me where can i download libxml2 for 64 bit amd machine.
Thanks in advance