Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 22 Sep 2003 16:49:07 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <3722898716.20030922164907@familiehaase.de> To: Paul W CC: cygwin AT cygwin DOT com Subject: Re: Perl - trying to install libwin32 In-Reply-To: <1064240595.3667.20.camel@shark> References: <1064240595 DOT 3667 DOT 20 DOT camel AT shark> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Paul schrieb: > Hello all, > I'm trying to install the perl libwin32 package under cygwin. I'm > following the steps given in this message: > http://sources.redhat.com/ml/cygwin/2003-01/msg00581.html [...] > ... Lots more link errors ... > File.o(.text+0x18b31):File.c: undefined reference to `_GetLastError' > File.o(.text+0x18d6a):File.c: undefined reference to `_SetErrorMode' > collect2: ld returned 1 exit status > perlld: *** system() failed to execute > gcc -shared -o File.dll -Wl,--out-implib=libFile.dll.a > -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \ > -s -L/usr/local/lib File.o > /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a > make[1]: *** [../blib/arch/auto/Win32API/File/File.dll] Error 1 > make[1]: Leaving directory `/home/coldfusion/libwin32-0.191/APIFile' > make: *** [subdirs] Error 2 Strange error, the functions are in the Windows DLL: kernel32.dll Have you installed the w32api package ( ls /usr/lib/w32api )? Which compiler are you using? I used 3.2.x to build perl. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/