Re: [xml] Cross compiling in QNX
- From: Roumen Petrov <bugtrack roumenpetrov info>
- To: Sree R <sreesr2001 gmail com>, xml gnome org
- Subject: Re: [xml] Cross compiling in QNX
- Date: Wed, 13 Mar 2013 23:24:12 +0200
Sree R wrote:
Hello,
I am trying to build libxml2 for QNX/ARM, from pc/cygwin/windows 7.
#./configure --build=i686-pc-cygwin --host=arm-unknown-nto-qnx6.5.0
--disable-silent-rules
# make
It does not create the shared library, while the static library is created.
But 'xmllint' linker seem to refer the libxml2.so.11, which is not built.
Any inputs would be much appreciated.
Regards,
Sree
[SNIP]
/bin/sh ./libtool --tag=CC --mode=link ntox86-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 -Wno-long-long -o xmllint xmllint.o
./libxml2.la -lz -lm -lsocket
libtool: link: ntox86-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 -Wno-long-long -o .libs/xmllint
xmllint.o ./.libs/libxml2.so -lz -lm -lsocket
C:/QNX650/host/win32/x86/usr/bin/ntox86-ld.exe:./.libs/libxml2.so: file
format not recognized; treating as linker script
I think that linker does not understand cygwin
extension(implementation/simulation) of "symbolic links".
I guess that content of file ./.libs/libxml2.so is something like
<symlink>.....
C:/QNX650/host/win32/x86/usr/bin/ntox86-ld.exe:./.libs/libxml2.so:1: syntax
error
May be you cross-tools has to be build for cygwin as build and host
platform.
Regards,
Roumen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]