Subject: Re: gdb4.18 make stops at link
From: Chris Faylor <[email-masked]>
To: Mumit Khan <[email-masked]>
Cc: Dave Cramer <[email-masked]>, [email-masked]
Date: Tue, 2 Nov 1999 12:29:41 -0500

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 [email-masked]