delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/02/12:27:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 2 Nov 1999 12:29:41 -0500
To: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>
Cc: Dave Cramer <Dave AT micro-automation DOT net>, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: gdb4.18 make stops at link
Message-ID: <19991102122940.A20421@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>,
Dave Cramer <Dave AT micro-automation DOT net>,
cygwin AT sourceware DOT cygnus DOT com
References: <03d401bf24fd$a30b0f00$c201a8c0 AT orgl1 DOT on DOT wave DOT home DOT com> <199911021611 DOT KAA06902 AT mercury DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <199911021611.KAA06902@mercury.xraylith.wisc.edu>; from Mumit Khan on Tue, Nov 02, 1999 at 10:11:25AM -0600

On Tue, Nov 02, 1999 at 10:11:25AM -0600, Mumit Khan wrote:
>> Add -ladvapi32 to the list of libraries when linking gdb. See the
>> gdb/configure.in, search for ladvapi32 and see how it's done for a=20
>> Cygwin host. For now, just edit gdb/Makefile, add -ladvapi32 to
>> the WIN32LIBS variable and rerun make.
>> 
>> I tried adding the -ladvapi32 to the list of libraries, and still get =
>> the error ????
>> 
>
>[ Plea: Please, please leave out the HTML crud from your messages. ]
>
>I seem to have misspoken ... these functions are in user32, and that's
>*always* linked in.

It wasn't always linked in.  It used to only be linked in when you
specified -mwindows.

Possibly this is just a sign of somebody using an older compiler.
Adding -luser32 should solve this problem, regardless.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019