Skip Menu |

This queue is for tickets about the XML-LibXML-Common CPAN distribution.

Report information
The Basics
Id: 14772
Status: resolved
Priority: 0/
Queue: XML-LibXML-Common

People
Owner: Nobody in particular
Requestors: joshholl [...] fidmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.13
Fixed in: (no value)



Subject: Win32 Build Error
I am unable to build XML-LibXML-Common-0.13 and subsequently XML-LibXML on my win32 box. Heres my vitals Perl Version: v5.8.7 built for MSWin32-x86-multi-thread OS Version: Windows 2000 sp4 Compiler: Mingw 4.1.1 (gcc 3.4.2) Make Util: dmake-4.1pl1 Im running through makefile.pl with the following command perl Makefile.PL INC=-IF:/MinGWEnv/include/libxml LIB=-LF:/MinGWEnv/lib Build fails when creating Common.dll. Below is my output dlltool --def Common.def --output-exp dll.exp g++ -o blib\arch\auto\XML\LibXML\Common\Common.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"c:\perl\lib\CORE" -L"F:\MinGWEnv\lib" Common.o -Wl,--image-base,0x2c010000 C:\perl\li b\CORE\libperl58.a F:\MinGWEnv\lib\libxml2.a F:\MinGWEnv\lib\zlib.a F:\MinGWEnv\lib\libmsvcrt.a F:\MinGWEnv\lib\libmoldname.a F:\MinGWEnv\lib\libkernel32.a F:\MinGWEnv\lib\libuse r32.a F:\MinGWEnv\lib\libgdi32.a F:\MinGWEnv\lib\libwinspool.a F:\MinGWEnv\lib\libcomdlg32.a F:\MinGWEnv\lib\libadvapi32.a F:\MinGWEnv\lib\libshell32.a F:\MinGWEnv\lib\libole32.a F:\MinGWEnv\lib\liboleaut32.a F:\MinGWEnv\lib\libnetapi32.a F:\MinGWEnv\lib\libuuid.a F:\MinGWEnv\lib\libws2_32.a F:\MinGWEnv\lib\libmpr.a F:\MinGWEnv\lib\libwinmm.a F:\MinGWEnv \lib\libversion.a F:\MinGWEnv\lib\libodbc32.a dll.exp Common.o(.text+0x3c0):Common.c: undefined reference to `xmlFree' Common.o(.text+0x640):Common.c: undefined reference to `xmlFree' collect2: ld returned 1 exit status dmake.exe: Error code 1, while making 'blib\arch\auto\XML\LibXML\Common\Common.dll'
From: joshholl [...] fidmail
This is not a problem with XML-LibXML-Common. Its an issue with libxml2 for Win32 [guest - Tue Sep 27 00:00:26 2005]: Show quoted text
> I am unable to build XML-LibXML-Common-0.13 and subsequently XML- > LibXML on my win32 box. > > Heres my vitals > > Perl Version: v5.8.7 built for MSWin32-x86-multi-thread > OS Version: Windows 2000 sp4 > Compiler: Mingw 4.1.1 (gcc 3.4.2) > Make Util: dmake-4.1pl1 > > Im running through makefile.pl with the following command > perl Makefile.PL INC=-IF:/MinGWEnv/include/libxml LIB=- > LF:/MinGWEnv/lib > > Build fails when creating Common.dll. Below is my output > > dlltool --def Common.def --output-exp dll.exp > g++ -o blib\arch\auto\XML\LibXML\Common\Common.dll -Wl,--base-file > -Wl,dll.base -mdll -s -L"c:\perl\lib\CORE" -L"F:\MinGWEnv\lib" > Common.o -Wl,--image-base,0x2c010000 C:\perl\li > b\CORE\libperl58.a F:\MinGWEnv\lib\libxml2.a F:\MinGWEnv\lib\zlib.a > F:\MinGWEnv\lib\libmsvcrt.a F:\MinGWEnv\lib\libmoldname.a > F:\MinGWEnv\lib\libkernel32.a F:\MinGWEnv\lib\libuse > r32.a F:\MinGWEnv\lib\libgdi32.a F:\MinGWEnv\lib\libwinspool.a > F:\MinGWEnv\lib\libcomdlg32.a F:\MinGWEnv\lib\libadvapi32.a > F:\MinGWEnv\lib\libshell32.a F:\MinGWEnv\lib\libole32.a > F:\MinGWEnv\lib\liboleaut32.a F:\MinGWEnv\lib\libnetapi32.a > F:\MinGWEnv\lib\libuuid.a F:\MinGWEnv\lib\libws2_32.a > F:\MinGWEnv\lib\libmpr.a F:\MinGWEnv\lib\libwinmm.a F:\MinGWEnv > \lib\libversion.a F:\MinGWEnv\lib\libodbc32.a dll.exp > Common.o(.text+0x3c0):Common.c: undefined reference to `xmlFree' > Common.o(.text+0x640):Common.c: undefined reference to `xmlFree' > collect2: ld returned 1 exit status > dmake.exe: Error code 1, while making > 'blib\arch\auto\XML\LibXML\Common\Common.dll'
From: joshholl [...] fidmail
Just to make sure I don't upset anyone important... This is an issue with me getting libxml2 for Win32 to link in MinGW. Ok I'm done being annoying. I just don't want anyone thinking im pointing the finger at them when its not their problem. [guest - Tue Sep 27 01:41:58 2005]: Show quoted text
> This is not a problem with XML-LibXML-Common. Its an issue with libxml2 > for Win32 >