RE: [xml] unresolved external symbol __imp__xmlLoadExtDtdDefaultValue

Actually, I would rather put LIBXML_THREADS_ENABLED 
in win32config.h, since defining _REENTRANT may
have effect on other, non-libxml-related, header files.

In any case, it would probably be better to have
the same ABI with or without threads...


-----Original Message-----
From: Zlatkovic, Igor [mailto:Igor Zlatkovic Dresdner-Bank com]
Sent: 14 May, 2003 18:21
To: 'Stiphane Bidoul'; 'Sascha Breite'; xml gnome org
Subject: AW: [xml] unresolved external symbol

Damn... you are right. I have that defined in every program 
per default,
didn't even notice the lapse. I'll put that macro in 


libxml 2.5.7 is compiled with threads=yes by default.

You need to define _REENTRANT=1 before including libxml2,
because the "global variables" are macros resulting
in calls to functions.


-----Original Message-----
From: xml-admin gnome org [mailto:xml-admin gnome org]On Behalf Of
Sascha Breite
Sent: 14 May, 2003 11:25
To: xml gnome org
Subject: [xml] unresolved external symbol

Dear all,

Maybe one of you can help me with this problem. Within my 
source code I have
to use the following options:

  xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;

I tried to link an application using the current libxml2.lib 
version 2.5.7
(from, but
I got the error message:

    error LNK2001: unresolved external symbol 

I checked the libxml2.dll but I didn't contain 
When I try an older version of libxml (e.g. 2.4.23) it is 
working. Also, I
checked the header files and they seem ok.

Does anyone have an idea? Please answer to my email address, 
because I am
not a member of the mailing list.

Thank you for your support and regards,

Sascha Breite

xml mailing list, project page
xml gnome org

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