Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 5 Mar 2001 19:50:35 -0500 From: Christopher Faylor To: Corinna Vinschen Subject: Re: Patch submission for AltGr handling Message-ID: <20010305195035.A757@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Corinna Vinschen References: <20010305194419 DOT R1398 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; 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 AT 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