More record.c build failures
Pierre Muller
muller@ics.u-strasbg.fr
Fri Oct 23 09:47:00 GMT 2009
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
More information about the Gdb-patches
mailing list