Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* More record.c build failures
@ 2009-10-23  9:47 Pierre Muller
  2009-10-23 10:22 ` Joel Brobecker
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pierre Muller @ 2009-10-23  9:47 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-23 16:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-23  9:47 More record.c build failures Pierre Muller
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox