delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/25/20:13:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <12F176DD950ED411B68E0050DA14ED1033874E@jupiter.gunzphoto.com.au>
From: Neil Lunn <neillunn AT gunz DOT com DOT au>
To: "'RUMBLE,PHIL (A-Scotland,ex1)'" <phil_rumble AT agilent DOT com>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Problems compiling Compress::Zlib under Perl.
Date: Thu, 26 Apr 2001 09:52:31 +1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

> From: RUMBLE,PHIL (A-Scotland,ex1) [mailto:phil_rumble AT agilent DOT com]
> Sent: Wednesday, April 25, 2001 6:16 PM
> To: 'cygwin AT sourceware DOT cygnus DOT com'
> Subject: Problems compiling Compress::Zlib under Perl.
> I keep getting this error. Any clues?
> 

> cannot find -luser32

Your not linking against a cygwin zlib. Some windows version exists in your
path, or the zlib there is a windows version. Clean up your path and if
necessary, re-install the zlib distribution for cygiwn.

This should then be a clean install.

Neil

> 
> 
> $ make
> gcc -c -I/usr/include -DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO
> -fno-strict-aliasing -DUSEIMPORTLIB -O2   -DVERSION=\"1.11\"
> -DXS_VERSION=\"1.11\"  -I/usr/lib/perl5/5.6.1/cygwin/CORE  Zlib.c
> Running Mkbootstrap for Compress::Zlib ()
> chmod 644 Zlib.bs
> 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   
> /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 
> /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a
> -L/lib -lz
> dllwrap: no export definition file provided
> dllwrap: creating one, but that may not be what you want
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-3/../../../../i686-pc-c
> ygwin/bin/ld:
> cannot find -luser32
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> perlld: *** system() failed to execute
> 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 
> /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a
> -L/lib -lz
> 
> make: *** [blib/arch/auto/Compress/Zlib/Zlib.dll] Error 1
> 
> Thanks in Advance
> 
> Rumble
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 

__________________________________________________________________________
Please Note :
Only  the intended recipient is authorised to access or use this e-mail.  If
you are not the intended recipient,
please delete this e-mail and notify the sender immediately.   The contents
of this e-mail are the writer's 
opinion and are not necessarily endorsed by the Gunz Companies unless
expressly stated.

We use virus scanning software but exclude all liability for viruses or
similar in any attachment.



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019