public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* CVS link error
@ 2005-09-27  0:28 Bob Rossi
  2005-09-27  0:32 ` Ian Lance Taylor
  0 siblings, 1 reply; 5+ messages in thread
From: Bob Rossi @ 2005-09-27  0:28 UTC (permalink / raw)
  To: GDB

Hi All,

I did updated a fairly recent tree like this,
   cvs -d ':ext:bobbybrasko@sources.redhat.com:/cvs/src' co gdb+dejagnu
from the directory that contains the src/ directory.

When I do a build, I get this link error now,

gcc -g -O2        \
        -o gdb gdb.o libgdb.a \
           ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a  ../libiberty/libiberty.a     -lncurses -lm  ../libiberty/libiberty.a  -ldl -rdynamic
../libiberty/libiberty.a(xmalloc.o): In function `xmalloc':
../../src/libiberty/xmalloc.c:142: multiple definition of `xmalloc'
libgdb.a(utils.o):../../src/gdb/utils.c:968: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `xcalloc':
../../src/libiberty/xmalloc.c:156: multiple definition of `xcalloc'
libgdb.a(utils.o):../../src/gdb/utils.c:1011: first defined here
../libiberty/libiberty.a(xmalloc.o): In function `xrealloc':
../../src/libiberty/xmalloc.c:171: multiple definition of `xrealloc'
libgdb.a(utils.o):../../src/gdb/utils.c:991: first defined here
collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1
make[1]: Leaving directory `/home/bob/cvs/gdb/original/objdir/gdb'
make: *** [all-gdb] Error 2

Any idea?

Thanks,
Bob Rossi

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

end of thread, other threads:[~2005-09-27 14:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27  0:28 CVS link error Bob Rossi
2005-09-27  0:32 ` Ian Lance Taylor
2005-09-27  2:42   ` Daniel Jacobowitz
2005-09-27  3:11     ` Ian Lance Taylor
2005-09-27 14:32       ` Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).