Hi,
Can the following fix be approved as a patch on libxml2-2.5.11 source distribution. I modified the libxml2.def.src file to exclude the symbols based on the LIBXML_HTTP_ENABLED flag. I have attached the diff of the file for confirmation. Using this I was able to successfully build libxml.dll.
Ln 787:
#ifdef LIBXML_HTML_ENABLED
xmlIOHTTPClose
#endif
#ifdef LIBXML_HTML_ENABLED
xmlIOHTTPMatch
#endif
#ifdef LIBXML_HTML_ENABLED
xmlIOHTTPOpen
#endif
#ifdef LIBXML_HTML_ENABLED
xmlIOHTTPOpenW
#endif
#ifdef LIBXML_HTML_ENABLED
xmlIOHTTPRead
#endif
Changed to:
#ifdef LIBXML_HTTP_ENABLED
xmlIOHTTPClose
#endif
#ifdef LIBXML_HTTP_ENABLED
xmlIOHTTPMatch
#endif
#ifdef LIBXML_HTTP_ENABLED
xmlIOHTTPOpen
#endif
#ifdef LIBXML_HTTP_ENABLED
xmlIOHTTPOpenW
#endif
#ifdef LIBXML_HTTP_ENABLED
xmlIOHTTPRead
#endif
Ln: 1213
#ifdef LIBXML_HTML_ENABLED
xmlRegisterHTTPPostCallbacks
#endif
Changed to
#ifdef LIBXML_HTTP_ENABLED
xmlRegisterHTTPPostCallbacks
#endif
Goutham S Mohan
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]