Hey,

I'm trying to compile libpng with cegcc (cegcc and mingw32ce compilers). 
The problem is about zlib, that i get from the zlib port i've written.

  * with cegcc, no problem
  * with mingw32ce :

*** Warning: linker path does not have real file for library -lz.
*** 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 libz and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
/home/torri/local/wince/lib/libz.dll.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.

and only the static lib is built. Usually, this means that:

1) -no-undefined is not passed to the linker
2) if it is passed to the linker, then the dll of the lib (here zlib) is 
missing.

-no-undefined is passed to the linker and I have the dll, named zlib1.dll.

If I rename it as libz-1.dll, there is no problem and the dll is built.

in libz.dll.a, the name of the dll is referenced as zlib1.dll.

Does someone know if the linker shipped with mingw32ce has problems ?

thank you

Vincent

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to