Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: <gdb-patches@sourceware.org>
Subject: More record.c build failures
Date: Fri, 23 Oct 2009 09:47:00 -0000	[thread overview]
Message-ID: <000301ca53c5$a332ab30$e9980190$@u-strasbg.fr> (raw)

record.c is bound to give problems
on all targets that do not compile gcore.c 
source.

  gcore.o  is a optional object that
is only added to the list of compiled
object in the config directory.

  Thus it is not possible to 
use this without some configure test...

This is the outcome of
Cygwin compilation with beta cygwin 1.7:

gcc -g -O2   -Wl,--stack,8388608   \
		-o gdb.exe gdb.o libgdb.a \
		   ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a -lintl ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a    -ltermcap -lz -lm   -liconv -lexpat
../libiberty/libiberty.a -luser32 -limagehlp gnulib/libgnu.a 
libgdb.a(record.o): In function `cmd_record_save':
/home/Famille/gdbcvs/build-norm/gdb/../../src/gdb/record.c:2223: undefined
reference to `_create_gcore_bfd'
/home/Famille/gdbcvs/build-norm/gdb/../../src/gdb/record.c:2280: undefined
reference to `_write_gcore_file'
collect2: ld returned 1 exit status
make[1]: *** [gdb.exe] Error 1

Can someone fix this, please?

Pierre Muller


             reply	other threads:[~2009-10-23  9:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23  9:47 Pierre Muller [this message]
2009-10-23 10:22 ` Joel Brobecker
2009-10-23 13:37 ` Tristan Gingold
2009-10-23 15:00   ` Hui Zhu
2009-10-23 16:08 ` Michael Snyder

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='000301ca53c5$a332ab30$e9980190$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=gdb-patches@sourceware.org \
    /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