From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22776 invoked by alias); 3 Sep 2007 20:06:11 -0000 Received: (qmail 22768 invoked by uid 22791); 3 Sep 2007 20:06:11 -0000 X-Spam-Check-By: sourceware.org Received: from mu-out-0910.google.com (HELO mu-out-0910.google.com) (209.85.134.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Sep 2007 20:06:07 +0000 Received: by mu-out-0910.google.com with SMTP id g7so1794229muf for ; Mon, 03 Sep 2007 13:06:04 -0700 (PDT) Received: by 10.82.152.16 with SMTP id z16mr11614040bud.1188849963818; Mon, 03 Sep 2007 13:06:03 -0700 (PDT) Received: by 10.82.172.12 with HTTP; Mon, 3 Sep 2007 13:06:03 -0700 (PDT) Message-ID: <640960ea0709031306v5a1d01f9q643194e266ef2991@mail.gmail.com> Date: Mon, 03 Sep 2007 20:06:00 -0000 From: "Arne Steinarson" To: "Arne Steinarson" , gdb@sourceware.org Subject: Re: Building snapshot on Linux In-Reply-To: <20070903145225.GC7463@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <640960ea0709030315u27ac31ffu6e2ca7b556769330@mail.gmail.com> <20070903145225.GC7463@caradoc.them.org> 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/msg00020.txt.bz2 There were some remains from trying to build when flex/bison was half installed. make clean didn't clear that. Extracting tar file again and restarting from scratch solved it. Compiled fine and works fine from inside Eclipse CDT. Reason to compile this was to get support for virtual thunks in C++. And it works. Regards // ATS On 9/3/07, Daniel Jacobowitz wrote: > 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 >