This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

More record.c build failures

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

  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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]