[xml] Creating libxml2 shared library for Montavista



I'm trying to build a shared library version of libxml2 (version 2.6.10) for Montavista Linux. 
I've been able to create other dynamic libraries using ld -shared without issue.
 
The static version libxml2.a library builds work fine. I have no problem on a native linux builds. 
 
The config.log shows:
 
Configured with: ../configure --host=i686-pc-linux-gnu --target=mips-hardhat-linux --prefix=/opt/montavista/devkit/mips/fp_be --exec-prefix=/opt/montavista/devkit/mips/fp_be --bindir=/opt/montavista/devkit/mips/fp_be/bin --sbindir=/opt/montavista/devkit/mips/fp_be/sbin --sysconfdir=/opt/montavista/devkit/mips/fp_be/etc --datadir=/opt/montavista/devkit/mips/fp_be/share --includedir=/opt/montavista/devkit/mips/fp_be/include --libdir=/opt/montavista/devkit/mips/fp_be/lib --libexecdir=/opt/montavista/devkit/mips/fp_be/libexec --localstatedir=/opt/montavista/devkit/mips/fp_be/var --sharedstatedir=/opt/montavista/devkit/mips/fp_be/share --mandir=/opt/montavista/devkit/mips/fp_be/man --infodir=/opt/montavista/devkit/mips/fp_be/info --program-transform-name=s,^,mips_fp_be-, --enable-cross --with-sysroot=/opt/montavista/devkit/mips/fp_be/target --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-threads=posix --disable-multilib --with-gxx-include
dir='$'{gcc_tooldir}/../target/usr/include/c++/3.3.1
with
 
configure:7265: checking whether the gcc linker (/opt/montavista/pro_adk/devkit/mips/fp_be/mips-hardhat-linux/bin/ld) supports shared libraries
configure:8104: result: yes
...
configure:9588: checking if libtool supports shared libraries
configure:9590: result: no
configure:9593: checking whether to build shared libraries
configure:9642: result: no
...
configure:10426: checking whether the g++ linker (/opt/montavista/pro_adk/devkit/mips/fp_be/mips-hardhat-linux/bin/ld) supports shared libraries
configure:11241:
result: no
...
configure:11749: checking whether the g++ linker (/opt/montavista/pro_adk/devkit/mips/fp_be/mips-hardhat-linux/bin/ld) supports shared libraries
configure:11774: result: no
...
configure:13731: checking if libtool supports shared libraries
configure:13733:
result: no
configure:13736: checking whether to build shared libraries
configure:13754:
result: no
Any suggestions would be appreciated.
 
Gary


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