delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/25/05:58:41

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
From: "Ralf Habacker" <Ralf DOT Habacker AT saght DOT tessag DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: AW: Problems compiling Compress::Zlib under Perl.
Date: Wed, 25 Apr 2001 11:56:48 +0200
Message-ID: <001701c0cd6e$0b0334b0$6e032bb7@BRAMSCHE>
MIME-Version: 1.0
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: <DD32BC0E9D8BD3118633009027653ACE05641762@rhea.britain.agilent.com>

Add --driver-flags -Wl,--verbose or --driver-flags -v to the dllwrap command
line to see which libs are explicit added

Regards

Ralf Habacker
EMail: Ralf DOT Habacker AT freenet DOT de
       Ralf DOT Habacker AT saght DOT tessag DOT com

> -----Ursprüngliche Nachricht-----
> Von: cygwin-owner AT sources DOT redhat DOT com
> [mailto:cygwin-owner AT sources DOT redhat DOT com]Im Auftrag von RUMBLE,PHIL
> (A-Scotland,ex1)
> Gesendet am: Mittwoch, 25. April 2001 10:16
> An: 'cygwin AT sourceware DOT cygnus DOT com'
> Betreff: Problems compiling Compress::Zlib under Perl.
>
> People,
>
> I keep getting this error. Any clues?
>
>
>
> $ 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-cygwi
> n/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
>
>


--
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