libtool
[Top][All Lists]
Advanced

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

problem when cross compiling with mingw32ce


From: Vincent Torri
Subject: problem when cross compiling with mingw32ce
Date: Sun, 14 Sep 2008 23:19:12 +0200 (CEST)


Hey,

I'm cross-compiling using the cegcc toolchain and the mingw32ce compiler. I have 2 problems:

1) I use Windows sockets, hence i have to link against libws2 and I pass -lws2. I have the following (usual...) message:

*** Warning: linker path does not have real file for library -lws2.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libws2 and none of the candidates passed a file format test
*** using a file magic. Last file checked: /home/torri/local/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/lib//libws2.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

I pass -no-undefined. The command line is:

/bin/sh ../../libtool --tag=CC --mode=link arm-mingw32ce-gcc -g -O2 -no-undefined -Wl,--enable-auto-import -version-info 0:1:0 -L/home/torri/local/wince/lib -L/home/torri/local/opt/cegcc/lib -o libevil.la -rpath /home/torri/local/wince/lib libevil_la-evil.lo libevil_la-evil_fcntl.lo libevil_la-evil_langinfo.lo libevil_la-evil_mman.lo libevil_la-evil_pwd.lo libevil_la-evil_stdlib.lo libevil_la-evil_unistd.lo libevil_la-evil_util.lo -lws2

Does someone know why ?

2) 2nd qestion: I have the following message from libtool (which i do not have with other compilers):

libtool: link: Could not determine host path corresponding to
libtool: link:   '/home/torri/local/wince/lib'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine host path corresponding to
libtool: link:   '/home/torri/local/wince/bin'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine host path corresponding to
libtool: link:   '/home/torri/local/opt/cegcc/lib'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine host path corresponding to
libtool: link:   '/home/torri/local/opt/cegcc/bin'
libtool: link: Continuing, but uninstalled executables may not work.

I've never seen those message. Again, I would like to know what is happening.

thank you

Vincent Torri





reply via email to

[Prev in Thread] Current Thread [Next in Thread]