lmi
[Top][All Lists]
Advanced

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

[lmi] error building libxml using install_msw.sh


From: Vadim Zeitlin
Subject: [lmi] error building libxml using install_msw.sh
Date: Thu, 24 Mar 2011 15:51:36 +0100

 Hello,

 I wanted to set up an "official" installation of LMI to try to reproduce
some bugs which I can't see with MSVC, so I installed a fresh Windows 7
virtual machine and decided to exactly follow instructions in the INSTALL
file. Installation of Cygwin went exactly as described but installing LMI
itself failed. Looking at the log file, the root of the problem seems to be
this error during the build of libxml:

/bin/sh ./libtool --tag=CC --mode=link /MinGW_/bin/gcc  -g -O2 -pedantic -W 
-Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs 
-Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow 
-Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline 
-Wredundant-decls  -lws2_32 -o xmllint.exe  xmllint.o ./libxml2.la     -lws2_32 
/MinGW_/bin/gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type 
-Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized 
-Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings 
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 
-Winline -Wredundant-decls -o xmllint.exe xmllint.o  ./.libs/libxml2.a -lws2_32
xmllint.o: In function `xmllintExternalEntityLoader':
C:/opt/lmi/xml-scratch/libxml2-2.6.26/xmllint.c:306: undefined reference to 
`_imp__xmlFree'
C:/opt/lmi/xml-scratch/libxml2-2.6.26/xmllint.c:303: undefined reference to 
`_imp__xmlFree'
xmllint.o: In function `myStrdupFunc':
C:/opt/lmi/xml-scratch/libxml2-2.6.26/xmllint.c:377: undefined reference to 
`_imp__xmlFree'
xmllint.o: In function `xmlHTMLEncodeSend':
C:/opt/lmi/xml-scratch/libxml2-2.6.26/xmllint.c:529: undefined reference to 
`_imp__xmlFree'
xmllint.o: In function `processNode':
C:/opt/lmi/xml-scratch/libxml2-2.6.26/xmllint.c:1789: undefined reference to 
`_imp__xmlFree'
xmllint.o:C:/opt/lmi/xml-scratch/libxml2-2.6.26/xmllint.c:2415: more undefined 
references to `_imp__xmlFree' follow
collect2: ld returned 1 exit status
make[3]: *** [xmllint.exe] Error 1
make[3]: Leaving directory `/opt/lmi/xml-scratch/libxml2-2.6.26'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/lmi/xml-scratch/libxml2-2.6.26'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/lmi/xml-scratch/libxml2-2.6.26'
make: *** [libxml2/2.6/libxml2-2.6.26] Error 2

 Surprisingly, the build didn't stop after this but went ahead resulting in
errors when building libxslt and then in link errors when linking all LMI
executables because of the missing libexslt.

 So now I have the following questions:

1. Should I try to understand why does linking xmllint fail or can we just
   skip building it as we (probably) don't need it at all?

2. Shouldn't the build stop if any of dependencies fail to build?

 Thanks,
VZ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]