Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3F90BA48.7080809@enc.edu>
Date: Fri, 17 Oct 2003 23:58:00 -0400
From: Charles Owens <charles.n.owens@enc.edu>
Organization: Eastern Nazarene College
User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Gerrit P. Haase" <gerrit@familiehaase.de>
Cc: cygwin@cygwin.com
Subject: Re: Perl - trying to install libwin32
References: <3F7A4288.90001@enc.edu> <10689931569.20031001114521@familiehaase.de>
In-Reply-To: <10689931569.20031001114521@familiehaase.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at enc.edu

Okay... (just now getting back to this).

Thanks for the pointer... but it must be something else.

Since the build is failing in APIFile I've added this to APIFile/Makefile

   LDDLFLAGS = -L/usr/lib/w32api -lkernel32 -I/usr/include/w32api

When I run 'make' I do see that the gcc line in question now has these 
options... but the link fails in the same way as before. (lots of 
unresolved reverences, eg. "...File.c: undefined reference to 
'_CloseHandle'")

Any thoughts on what my next step should be?

Thanks much,

Charles


Gerrit P. Haase wrote:

>>I'm also seeing the same problem as Paul when trying to compile 
>>libwin32-0.191 (patched) on cygwin.  This is with both gcc 3.3.1 and gcc
>>3.2 20020927 (prerelease) .
>>    
>>
>>Any suggestions?  Here's what "make" is giving me (with gcc 3.2):
>>    
>>
>
>Try adding libkernel32.a (-L/usr/lib/w32api -lkernel32) to the linkline?
>
>
>Gerrit
>  
>

-- 
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
  Charles N. Owens                              charles.n.owens@enc.edu
                                    http://www.enc.edu/~charles.n.owens
  Senior Technology Officer
  Information Technology Services              Eastern Nazarene College
/////////////////////////////////////////////////////////////////////////



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

