From: Keith Seitz <keiths@redhat.com>
To: Prasanna - Khanapur <bdm_future@rediffmail.com>
Cc: <insight@sources.redhat.com>
Subject: Re: Re: Clarifications regarding BDM GDB Insight for M68k
Date: Mon, 15 Apr 2002 09:32:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0204150930390.11355-100000@cse.cygnus.com> (raw)
In-Reply-To: <20020415161710.22178.qmail@webmail23.rediffmail.com>
On 15 Apr 2002, Prasanna - Khanapur wrote:
> http://www.vas-gmbh.de/software/mpcbdm
> for running the bdm,I have to use the Insight-GDB 5.0 version
> itself.
Ah, ok. I see. Too bad: insight 5.0 is really, ummm, marginal.
> But the few other error still persists as fallows:
>
> *****************************************************
> gcc -g -O2 -Wl,--subsystem,console -o gdb.exe main.o
> libgdb.a ../bfd/libbfd.a ../readline/libreadl
> libgdb.a(gdbtk.o): In function `initialize_gdbtk':
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:603:
> undefined reference to `FreeConsole'
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:609:
> undefined reference to `GetStdHandle'
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:609:
> undefined reference to `GetFileType'
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:620:
> undefined reference to `AllocConsole'
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:621:
> undefined reference to `GetStdHandle'
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:624:
> undefined reference to `GetStdHandle'
> /home/taxi/insight-5.0/insight-5.0/gdb/./gdbtk/generic/gdbtk.c:627:
> undefined reference to `GetStdHandle'
> collect2: ld returned 1 exit status
> make[1]: *** [gdb.exe] Error 1
Yes, you are correct: you need to link against kernel32.
> But still the error persist , what could be the problem?
> Am I using the right library or does the order of the linking
> matters?
It often does. Did you put it last in the list of libraries?
Keith
next prev parent reply other threads:[~2002-04-15 16:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-15 9:25 Prasanna - Khanapur
2002-04-15 9:32 ` Keith Seitz [this message]
2002-04-16 6:54 ` Kai Ruottu
2002-04-16 9:07 ` Keith Seitz
2002-04-16 23:03 Prasanna - Khanapur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.33.0204150930390.11355-100000@cse.cygnus.com \
--to=keiths@redhat.com \
--cc=bdm_future@rediffmail.com \
--cc=insight@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).