public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
To: Paul W <cygwin@phred.org.uk>
Cc: cygwin@cygwin.com
Subject: Re: Perl - trying to install libwin32
Date: Mon, 22 Sep 2003 15:06:00 -0000	[thread overview]
Message-ID: <3722898716.20030922164907@familiehaase.de> (raw)
In-Reply-To: <1064240595.3667.20.camel@shark>

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/

  reply	other threads:[~2003-09-22 14:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22 14:35 Paul W
2003-09-22 15:06 ` Gerrit P. Haase [this message]
2003-09-22 15:12   ` Paul W
2003-09-22 18:21     ` Gerrit P. Haase
2003-10-01  4:00 Charles Owens
2003-10-01  7:13 ` Paul W
2003-10-01  9:20   ` Paul W
2003-10-01 10:02 ` Gerrit P. Haase
2003-10-18  6:06   ` Charles Owens
2003-10-18  7:03     ` Igor Pechtchanski
2003-10-22  1:59       ` Charles Owens
     [not found]         ` <25318427845.20031022085800@familiehaase.de>
2003-10-30 21:13           ` Charles Owens
2003-10-30 21:51             ` Gerrit P. Haase
2003-10-22  9:55 Gerrit P. Haase

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3722898716.20030922164907@familiehaase.de \
    --to=gerrit@familiehaase.de \
    --cc=cygwin@cygwin.com \
    --cc=cygwin@phred.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).