From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6111 invoked by alias); 3 Sep 2007 10:15:22 -0000 Received: (qmail 6100 invoked by uid 22791); 3 Sep 2007 10:15:22 -0000 X-Spam-Check-By: sourceware.org Received: from fk-out-0910.google.com (HELO fk-out-0910.google.com) (209.85.128.189) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Sep 2007 10:15:18 +0000 Received: by fk-out-0910.google.com with SMTP id 26so1404722fkx for ; Mon, 03 Sep 2007 03:15:16 -0700 (PDT) Received: by 10.82.154.12 with SMTP id b12mr10615552bue.1188814515410; Mon, 03 Sep 2007 03:15:15 -0700 (PDT) Received: by 10.82.172.12 with HTTP; Mon, 3 Sep 2007 03:15:14 -0700 (PDT) Message-ID: <640960ea0709030315u27ac31ffu6e2ca7b556769330@mail.gmail.com> Date: Mon, 03 Sep 2007 10:15:00 -0000 From: "Arne Steinarson" To: gdb@sourceware.org Subject: Building snapshot on Linux MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00014.txt.bz2 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