|
From: | Guido Draheim |
Subject: | Re: [Mingw-users] Re: "Re: libbfd, libtool & Win32" and "Re: BuildingaMinGW GLibetc..." |
Date: | Wed, 18 Sep 2002 01:47:49 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
Earnie Boyd wrote:
Guido Draheim wrote:Earnie Boyd wrote:Guido Draheim wrote:No, because I did just switch my system, and have to reinstall some rpms - crosscompiler and stuff is some that. Atleast I am still missing the crosscompiled zlib stuff that I used to use to crosscompile the project - before going deeper, here's a quick try with the stock zlib.dll which stil have on my disk leftover from the link experiments with the borland compilers: $ i386-mingw32-ld -shared -L../../zlib114dll/dll32 -o zzip.dll \ zzip-zip.lo zzip-file.lo zzip-dir.lo zzip-stat.lo zzip-info.lo \ zzip-err.lo zzip-io.lo -lz^^^s#-lz#/path/to/zlib.dll# See if the above change works, if not then the version of binutils you have doesn't support it.$ i386-mingw32-ld -shared -L../../zlib114dll/dll32 -o zzip.dll \ zzip-zip.lo zzip-file.lo zzip-dir.lo zzip-stat.lo zzip-info.lo \ zzip-err.lo zzip-io.lo -l/usr/src/cvs/zlib114dll/dll32/zlib.dll^^ s/-l//
interesting:$ i386-mingw32-ld -shared -L../../zlib114dll/dll32 -o zzip.dll zzip-zip.lo zzip-file.lo zzip-dir.lo zzip-stat.lo zzip-info.lo zzip-err.lo zzip-io.lo /usr/src/cvs/zlib114dll/dll32/zlib.dll
Cannot export _errno: symbol not defined Cannot export calloc: symbol not defined Cannot export close: symbol not defined Cannot export closedir: symbol not defined Cannot export free: symbol not defined Cannot export fstat: symbol not defined Cannot export address@hidden: symbol not defined Cannot export address@hidden: symbol not defined Cannot export address@hidden: symbol not defined [more of that] zzip-file.lo: In function `zzip_inflate_init': /usr/src/cvs/zzip-10/i386-mingw32/../zzip-file.c:239: undefined reference to address@hidden' zzip-file.lo: In function `zzip_fclose': /usr/src/cvs/zzip-10/i386-mingw32/../zzip-file.c:261: undefined reference to `free' zzip-file.lo: In function `zzip_file_read': /usr/src/cvs/zzip-10/i386-mingw32/../zzip-file.c:341: undefined reference to address@hidden' zzip-file.lo: In function `zzip_read': /usr/src/cvs/zzip-10/i386-mingw32/../zzip-file.c:385: undefined reference to `_errno' [more of that] Me guesses that it did *not* read the dll export table, right?
[Prev in Thread] | Current Thread | [Next in Thread] |