Re: [xml] msys2 build error
Hi Neo, On Mon, Jan 1, 2018 at 9:28 PM, Neo Anderson wrote: > I’m trying to build the latest version 2.9.7 using msys2. I am getting 2 > problems. > > > > 1. I need to export LIBS="-lws2_32 -lgdi32 -lkernel32" before running > ./configure. Otherwise I will get lots of linkage errors. > > 2. After adding the above libraries, I get the following error: > > make[2]: Entering directory '/c/Build/libxml2-2.9.7' > > CCLD xmllint.exe This is the output in "silent" mode, which is nowadays the default for makefiles generated by autotools. To see the actual command line, you need to switch to verbose mode. Please re-run make with V=1 on the command line: make V=1 2>&1 | tee make.out and post the end of make.out Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml
[xml] msys2 build error
I’m trying to build the latest version 2.9.7 using msys2. I am getting 2 problems. 1. I need to export LIBS="-lws2_32 -lgdi32 -lkernel32" before running ./configure. Otherwise I will get lots of linkage errors. 2. After adding the above libraries, I get the following error: make[2]: Entering directory '/c/Build/libxml2-2.9.7' CCLD xmllint.exe xmllint.o: In function `xmllintExternalEntityLoader': C:\Build\libxml2-2.9.7/xmllint.c:310: undefined reference to `_imp__xmlFree' C:\Build\libxml2-2.9.7/xmllint.c:307: undefined reference to `_imp__xmlFree' xmllint.o: In function `myStrdupFunc': C:\Build\libxml2-2.9.7/xmllint.c:381: undefined reference to `_imp__xmlFree' xmllint.o: In function `processNode': C:\Build\libxml2-2.9.7/xmllint.c:1805: undefined reference to `_imp__xmlFree' xmllint.o: In function `xmlHTMLEncodeSend': C:\Build\libxml2-2.9.7/xmllint.c:534: undefined reference to `_imp__xmlFree' xmllint.o:C:\Build\libxml2-2.9.7/xmllint.c:2598: more undefined references to `_imp__xmlFree' follow collect2.exe: error: ld returned 1 exit status make[2]: *** [Makefile:1119: xmllint.exe] Error 1 make[2]: Leaving directory '/c/Build/libxml2-2.9.7' make[1]: *** [Makefile:1441: all-recursive] Error 1 make[1]: Leaving directory '/c/Build/libxml2-2.9.7' make: *** [Makefile:860: all] Error 2 I checked .libs directory and found: libtestdso.a libxml2.a libxml2.la libxml2.lai testdso.la testdso.lai It seems the build did not build dll library even though it should do (by default). I’m not familiar with Bash script or makefile syntax, so I am not able to find the cause. Help needed. Thanks. ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml