Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Building snapshot on Linux
@ 2007-09-03 10:15 Arne Steinarson
  2007-09-03 14:52 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Arne Steinarson @ 2007-09-03 10:15 UTC (permalink / raw)
  To: gdb

I've downloaded GDB snapshot (gdb-weekly-CVS-6.6.50.20070828.tar) and
want to build it on Ubuntu Linux. Gcc version is 4.1.2.

After adding texinfo, flex & bison packages I make some progress with the build:

  ./configure --disable-werror
  make

(without --disable-werror the build terminates rather quickly).

Then I get the following linker error:

ar: creating libgdb.a
ranlib libgdb.a
rm -f gdb
gcc -g -O2       \
                -o gdb gdb.o libgdb.a \
                   ../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a  ../libiberty/libiberty.a     -lncurses -lm  -lexpat
../libiberty/libiberty.a  -ldl -rdynamic
libgdb.a(c-lang.o): In function `c_preprocess_and_parse':
/usr/src/gdb/src/gdb/c-lang.c:482: undefined reference to `c_parse'
libgdb.a(c-lang.o):(.rodata+0x284): undefined reference to `c_error'
libgdb.a(c-lang.o):(.rodata+0x304): undefined reference to `c_error'

Any suggestion on how to make it work?

Regards
// Arne Steinarson


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

end of thread, other threads:[~2007-09-03 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-03 10:15 Building snapshot on Linux Arne Steinarson
2007-09-03 14:52 ` Daniel Jacobowitz
2007-09-03 20:06   ` Arne Steinarson

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