Re: [xml] MSYS and MINGW: undefined reference to _imp__xmlFree



Mike Peat wrote:
[SNIP]
./configure --prefix=/projects/xmlsec/libxml2-2.9.0 --build=i686-pc-mingw32 --host=i686-pc-winnt --with-iconv=/projects/xmlsec/libiconv-1.14 --with-zlib=/projects/xmlsec/zlib-1.2.7

make

Any suggestions *very* gratefully received. :-(

Unfortunately I have no idea why this issue appear again.
I could build just fine all libraries required by xmlsec in my cross environment (linux -> mingw host).

Probably compiler found old headers instead those from source. Please check with a monitoring tool headers loaded during build process.

My build environment is quite similar to you - each package is build and installed in separate directory. I'm sure that in my environment each build use correct headers and libraries.

With configure command --build==.... and --host=..., you trigger cross-compilation. Try without.


--Mike

Roumen




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