This is the mail archive of the 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]
Other format: [Raw text]

Re: Perl - trying to install libwin32

Paul schrieb:

> Hello all,

> I'm trying to install the perl libwin32 package under cygwin. I'm
> following the steps given in this message:



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


Unsubscribe info:
Problem reports:

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