Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Ralf Habacker" <Ralf.Habacker@saght.tessag.com>
To: <cygwin@sourceware.cygnus.com>
Subject: AW: Problems compiling Compress::Zlib under Perl.
Date: Wed, 25 Apr 2001 11:57:08 +0200
Message-ID: <001801c0cd6e$173faec0$6e032bb7@BRAMSCHE>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
In-Reply-To: <DD32BC0E9D8BD3118633009027653ACE05641763@rhea.britain.agilent.com>

> 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

