Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 5 Mar 2001 19:50:35 -0500
From: Christopher Faylor <cgf@redhat.com>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: Patch submission for AltGr handling
Message-ID: <20010305195035.A757@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Corinna Vinschen <cygwin@cygwin.com>
References: <20010305194419.R1398@cygbert.vinschen.de> <Pine.WNT.4.32.0103051559340.-140435@tiller2.ventritex.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <Pine.WNT.4.32.0103051559340.-140435@tiller2.ventritex.com>; from jdtiller@best.com on Mon, Mar 05, 2001 at 04:02:55PM -0800

On Mon, Mar 05, 2001 at 04:02:55PM -0800, Jason Tiller wrote:
>Hi, Corinna, :)
>
>On Mon, 5 Mar 2001, Corinna Vinschen wrote:
>
>> we just talked on cygwin-developers about your patch.
>>
>> Could you please resubmit a patch which doesn't introduce another
>> CYGWIN option but instead uses automatic recognition of the current
>> keyboard setting?
>
>Can do. :)  Glad to know people thought it useful enough to go forward!
>
>I've gone ahead and made the change, but I've run into a problem
>during the build.  The link step fails with this error:
>
>fhandler_console.o(.text+0x148d): undefined reference to `GetKeyboardLayout@4'
>
>A little investigation showed that GetKeyboardLayout is exported in
>libuser32.a.  The problem, then, is that the new_cygwin1.dll link
>doesn't explicitly reference libuser32.a.  (As far as I can tell, it
>only refernces libkernel32.a from the core Windows files.)

Take a look at autoload.cc.  You need to add the "declaration" for this
function there.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

