Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199909301713.MAA10509@mercury.xraylith.wisc.edu> To: "schirrer AT besancon DOT tt DOT slb DOT com" cc: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Re: gdb4.18 make stops at link In-Reply-To: Your message of "Thu, 30 Sep 1999 09:12:21 +0200." <01BF0B23 DOT E7DBDD10 DOT schirrer AT besancon DOT tt DOT slb DOT com> Date: Thu, 30 Sep 1999 12:13:27 -0500 From: Mumit Khan Pierre Schirrer writes: > Hello all, > > I am trying to build a gdb for the m68k target with DBM support. I have > followed the instructions given in the www.zeecube.com/bdm.html page, but > the make procedure hangs at link with 3 errors : > > ../readline/libreadline.a(kill.o): In function 'rl_paste_from_Clipboard': > /cygnus/cygwin-b20/gdb-4.18/readline/kill.c:611: undefined reference to > 'OpenClipboard AT 4' > /cygnus/cygwin-b20/gdb-4.18/readline/kill.c:614: undefined reference to > 'GetClipboard AT 4' > /cygnus/cygwin-b20/gdb-4.18/readline/kill.c:630: undefined reference to > '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 Cygwin host. For now, just edit gdb/Makefile, add -ladvapi32 to the WIN32LIBS variable and rerun make. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com