From: Glenn Randers-P. <gl...@gm...> - 2010-04-28 01:59:57
|
>From the libpng bug tracker at SourceForge: I've built libpng 1.4.1 yesterday from this link: http://prdownloads.sourceforge.net/libpng/libpng-1.4.1.tar.xz?download I'm running Windows 7 in a MSYS shell. I'm using the most recent MSYS and MinGW available from download. Got also the most recent needed tools over there: make, sed, awk and something else, I cannot remember this fully. Problem is, when I run the ./configure script, everything seems ok, I can build the static library, dll and the import library, everything installs just fine, but the import ilbrary is missing *all* useful definitions for the dll. I was trying to build SDL_image but it always stopped building with a lot of "undefined reference" errors. Linking with the static library is ok, but here's the output of "nm libpng14.dll.a": (configured with just "/.configure --prefix=/mingw") d000001.o: 00000000 i .idata$4 00000000 i .idata$5 00000000 i .idata$7 00000000 I _libpng14_14_dll_iname d000000.o: 00000000 i .idata$2 00000000 i .idata$4 00000000 i .idata$5 00000000 I __head_libpng14_14_dll U _libpng14_14_dll_iname And that's all. When I run "nm libpng14-14.dll" everything is there indeed, but the impot library misses all. When I use the scripts/makefile.mingw makefile, I get the correct import library. |