[xml] RE: Please help resolve linker error:



Sanjay,

The unresolved externals that you list are all symbols found in the zlib compression library, so you probably 
just need to include the zlib import library when linking. 

It does seem a bit odd, though, since I thought Igor's pre-compiled libxml2 binaries were compiled without 
zlib support.

Eric Zurcher
CSIRO Livestock Industries
Canberra, Australia
Eric Zurcher csiro au

Date: Tue, 9 Mar 2004 11:07:40 -0700
From: "Chugh, Sanjay" <schugh filenet com>
To: <xml gnome org>
Subject: [xml] Please help resolve linker error:

[Portions or original message deleted.] 

After a little while, I decided to look and see if there is a newer
version.
So I downloaded the binaries for version 2.6.7.
This time, I get different linker errors. All of them pertain to xmlIO
and some of them are:

libxml2_a.lib(xmlIO.obj) : error LNK2019: unresolved external symbol
_gzopen referenced in function _xmlGzfileOpen_real
libxml2_a.lib(xmlIO.obj) : error LNK2019: unresolved external symbol
_gzdopen referenced in function _xmlGzfileOpen_real
libxml2_a.lib(xmlIO.obj) : error LNK2019: unresolved external symbol
_gzread referenced in function _xmlGzfileRead


I am not yet familiar enough with libxml2 to quickly find out what the
problems are.
If anyone can help to get me going, I would really appreciate it.

Thanks,


-- Sanjay




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