From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24640 invoked by alias); 27 Sep 2005 00:28:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24478 invoked by uid 22791); 27 Sep 2005 00:28:45 -0000 Received: from eastrmmtao02.cox.net (HELO eastrmmtao02.cox.net) (68.230.240.37) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 27 Sep 2005 00:28:45 +0000 Received: from white ([68.9.64.121]) by eastrmmtao02.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050927002843.JNMQ22723.eastrmmtao02.cox.net@white> for ; Mon, 26 Sep 2005 20:28:43 -0400 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1EK3Km-0002ps-00 for ; Mon, 26 Sep 2005 20:28:36 -0400 Date: Tue, 27 Sep 2005 00:28:00 -0000 From: Bob Rossi To: GDB Subject: CVS link error Message-ID: <20050927002836.GA10821@white> Mail-Followup-To: GDB Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-SW-Source: 2005-09/txt/msg00203.txt.bz2 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