From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5942 invoked by alias); 3 Sep 2007 14:52:35 -0000 Received: (qmail 5934 invoked by uid 22791); 3 Sep 2007 14:52:35 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Sep 2007 14:52:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 7DCE7982A4; Mon, 3 Sep 2007 14:52:28 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 5EF1498109; Mon, 3 Sep 2007 14:52:28 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1ISDHt-00021d-EZ; Mon, 03 Sep 2007 10:52:25 -0400 Date: Mon, 03 Sep 2007 14:52:00 -0000 From: Daniel Jacobowitz To: Arne Steinarson Cc: gdb@sourceware.org Subject: Re: Building snapshot on Linux Message-ID: <20070903145225.GC7463@caradoc.them.org> Mail-Followup-To: Arne Steinarson , gdb@sourceware.org References: <640960ea0709030315u27ac31ffu6e2ca7b556769330@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <640960ea0709030315u27ac31ffu6e2ca7b556769330@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00018.txt.bz2 On Mon, Sep 03, 2007 at 12:15:14PM +0200, Arne Steinarson wrote: > 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' It looks to me like you have some version of a tool (bison maybe?) that doesn't work with GDB. I don't know why, I haven't had this problem. -- Daniel Jacobowitz CodeSourcery