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...

-sbi

-----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
__imp__xmlLoadExtDtdDefaultValue


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 
include/win32config.h.

Ciao,
Igor

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.

-sbi

-----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
__imp__xmlLoadExtDtdDefaultValue


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;
  xmlSubstituteEntitiesDefault(1);

I tried to link an application using the current libxml2.lib 
version 2.5.7
(from 


http://www.zlatkovic.com/projects/libxml/libxml2-2.5.7.win32.zip), but
I got the error message:

    error LNK2001: unresolved external symbol 
__imp__xmlLoadExtDtdDefaultValue

I checked the libxml2.dll but I didn't contain 
'xmlLoadExtDtdDefaultValue'.
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  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]