Hello.
I downloaded the current SVN version of LibXML-2 and I tried to compile it 
under Mingw32.
During compilation I discovered a bug that blocked the process.
The fact happens only if you install dlfcn package into the Mingw32 enviroment.
Into xmlmodule.c there is a conflict with two different implementations, so I 
fixed it by excluding the dlfcn support if the _WIN32 is detected.
After applying the fix, everything worked fine.
I hope it could be possible to commit this very simple fix, without the need of 
subscribing to bugzilla.
Keep up the good work.

Sincerely,

Carlo Bramini.

=====================================
--- C:\msys\1.0\home\pc\xmlmodule.c     Fri Jan 12 09:55:10 2007
+++ C:\msys\1.0\home\pc\libxml2-2.6.30\xmlmodule.c      Wed Jan 16 11:15:23 2008
@@ -190,7 +190,7 @@
     return (0);
 }
 
-#ifdef HAVE_DLOPEN
+#if defined(HAVE_DLOPEN) && !defined(_WIN32)
 #ifdef HAVE_DLFCN_H
 #include <dlfcn.h>
 #endif


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to