From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2528 invoked by alias); 4 Nov 2005 03:51:22 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 2506 invoked by uid 22791); 4 Nov 2005 03:51:19 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 04 Nov 2005 03:51:19 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EXsbk-0005uV-QM; Thu, 03 Nov 2005 22:51:16 -0500 Date: Fri, 04 Nov 2005 03:51:00 -0000 From: Daniel Jacobowitz To: Peter Choi Cc: gdb@sources.redhat.com Subject: Re: Compilation of GDB6.3 [NEDD HELP] Message-ID: <20051104035116.GA22657@nevyn.them.org> Mail-Followup-To: Peter Choi , gdb@sources.redhat.com References: <20051104031946.GA21903@nevyn.them.org> <20051104034035.1064.qmail@web32908.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051104034035.1064.qmail@web32908.mail.mud.yahoo.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00087.txt.bz2 On Thu, Nov 03, 2005 at 07:40:35PM -0800, Peter Choi wrote: > Hi, > > I can't locate any build.log log file, but when I > check my "config.log", I found there was a error > message saying : > > configure:1510: checking for libthread_db > configure:1531: gcc -o conftest -g -O2 conftest.c > -lthread_db 1>&5 > configure:1596: gcc -o conftest -g -O2 -rdynamic > conftest.c -lthread_db 1>&5 > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_pdwrite' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_pglobal_lookup' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_lsetfpregs' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_getpid' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_lsetregs' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_pdread' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_lgetfpregs' > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libthread_db.so: > undefined reference to `ps_lgetregs' > collect2: ld returned 1 exit status > configure: failed program was: > #line 1589 "configure" > #include "confdefs.h" > > int main() { > > ; return 0; } Find out where that test came from. Your configure script is hopelessly broken; it should be compiling a test file including the definitions. -- Daniel Jacobowitz CodeSourcery, LLC