Re: [xml] Cross compiling in QNX

Update - the linker error seem to be a limitation within cygwin. The library itself is created. Once I replaced softlink with a hardlink to, it worked.


On Fri, Mar 8, 2013 at 2:58 PM, Sree R <sreesr2001 gmail com> wrote:

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, which is not built.

Any inputs would be much appreciated.


/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       -version-info 11:0:9    -o -rpath /usr/local/lib SAX.lo entities.lo encoding.lo error.lo  parserInternals.lo parser.lo tree.lo hash.lo list.lo xmlIO.lo  xmlmemory.lo uri.lo valid.lo xlink.lo HTMLparser.lo  HTMLtree.lo debugXML.lo xpath.lo xpointer.lo xinclude.lo  nanohttp.lo nanoftp.lo  catalog.lo globals.lo  threads.lo c14n.lo xmlstring.lo buf.lo xmlregexp.lo  xmlschemas.lo xmlschemastypes.lo xmlunicode.lo   xmlreader.lo relaxng.lo dict.lo SAX2.lo  xmlwriter.lo legacy.lo chvalid.lo pattern.lo xmlsave.lo  xmlmodule.lo schematron.lo xzlib.lo   -lz   -lm  -lsocket
libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
libtool: link: ntox86-ar cru .libs/libxml2.a  SAX.o entities.o encoding.o error.o parserInternals.o parser.o tree.o hash.o list.o xmlIO.o xmlmemory.o uri.o valid.o xlink.o HTMLparser.o HTMLtree.o debugXML.o xpath.o xpointer.o xinclude.o nanohttp.o nanoftp.o catalog.o globals.o threads.o c14n.o xmlstring.o buf.o xmlregexp.o xmlschemas.o xmlschemastypes.o xmlunicode.o xmlreader.o relaxng.o dict.o SAX2.o xmlwriter.o legacy.o chvalid.o pattern.o xmlsave.o xmlmodule.o schematron.o xzlib.o
libtool: link: ntox86-ranlib .libs/libxml2.a
libtool: link: ( cd ".libs" && rm -f "" && ln -s "../" "" )

/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   ./  -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/ -lz -lm -lsocket
C:/QNX650/host/win32/x86/usr/bin/ntox86-ld.exe:./.libs/ file format not recognized; treating as linker script
C:/QNX650/host/win32/x86/usr/bin/ntox86-ld.exe:./.libs/ syntax error

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