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

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
Message-Id: <199911021611.KAA06902@mercury.xraylith.wisc.edu>
To: "Dave Cramer" <Dave AT micro-automation DOT net>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: gdb4.18 make stops at link
In-Reply-To: Your message of "Tue, 02 Nov 1999 01:43:56 EST."
<03d401bf24fd$a30b0f00$c201a8c0 AT orgl1 DOT on DOT wave DOT home DOT com>
Date: Tue, 02 Nov 1999 10:11:25 -0600
From: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>

"Dave Cramer" <Dave AT micro-automation DOT net> writes:
> ------=_NextPart_000_03D1_01BF24D3.B9F984A0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> I am getting exactly the same error as
> 
> > Hello all,
> >=20
> > I am trying to build a gdb for the m68k target with DBM support. I =
> have=20
> > followed the instructions given in the www.zeecube.com/bdm.html page, =
> but=20
> > the make procedure hangs at link with 3 errors :
> >=20
> > ../readline/libreadline.a(kill.o): In function =
> 'rl_paste_from_Clipboard':
> > /cygnus/cygwin-b20/gdb-4.18/readline/kill.c:611: undefined reference =
> to=20
> > 'OpenClipboard AT 4'
> > /cygnus/cygwin-b20/gdb-4.18/readline/kill.c:614: undefined reference =
> to=20
> > 'GetClipboard AT 4'
> > /cygnus/cygwin-b20/gdb-4.18/readline/kill.c:630: undefined reference =
> to=20
> > 'ClosseClipboard AT 0'
> 
> 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.
> 
> Regards,
> Mumit
> 
> 
> 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.

I think you need to provide us with bit more info:

1. what version of gdb.
2. how did you configure it
3. what version of Cygwin and gcc
4. the last bits of the output that shows the failed link.

Regards,
Mumit


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