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 inflate@8: symbol not defined
Cannot export inflateEnd@4: symbol not defined
Cannot export inflateInit2_@16: 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 
`inflateInit2_@16'
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 
`inflate@8'
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?



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to