This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: Problems compiling Compress::Zlib under Perl.


> People,
>
> Here is the vebose output.
>
> Thanks
>
> Rumble
>
> $ make
> Running Dynamic Lib Section
> rm -f blib/arch/auto/Compress/Zlib/Zlib.dll
> LD_RUN_PATH="/usr/local/lib" ld2 -o blib/arch/auto/Compress/Zlib/Zlib.dll
> -s -L/usr/local/lib Zlib.o --driver-flags -Wl,--verbose
> /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a -L/lib -lz
> dllwrap --dllname Zlib.dll --driver-name gcc --dlltool dlltool
> --export-all-symbols --as as --output-def libZlib.def
> --output-lib libZlib.a
> \
>  -s -L/usr/local/lib Zlib.o --driver-flags -Wl,--verbose
> /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a -L/lib -lz
> dllwrap: no export definition file provided
> attempt to open /usr/lib/w32api/libuser32.a succeeded

 you wrote "cannot find -luser32": The line above say that it was found

>/usr/local/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined
>reference to `WinMain@16'

try this
--driver-flags --enable-stdcall-fixup         Link _sym to _sym@nn without
warnings

Additional look for older messages in the mailing list. May be you found
something.



Regards

Ralf Habacker
EMail: Ralf.Habacker@freenet.de
       Ralf.Habacker@saght.tessag.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]