From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31144 invoked by alias); 4 Nov 2005 03:40:40 -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 31130 invoked by uid 22791); 4 Nov 2005 03:40:37 -0000 Received: from web32908.mail.mud.yahoo.com (HELO web32908.mail.mud.yahoo.com) (68.142.206.55) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Fri, 04 Nov 2005 03:40:37 +0000 Received: (qmail 1066 invoked by uid 60001); 4 Nov 2005 03:40:35 -0000 Message-ID: <20051104034035.1064.qmail@web32908.mail.mud.yahoo.com> Received: from [203.193.55.70] by web32908.mail.mud.yahoo.com via HTTP; Thu, 03 Nov 2005 19:40:35 PST Date: Fri, 04 Nov 2005 03:40:00 -0000 From: Peter Choi Subject: Re: Compilation of GDB6.3 [NEDD HELP] To: Daniel Jacobowitz Cc: gdb@sources.redhat.com In-Reply-To: <20051104031946.GA21903@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-11/txt/msg00086.txt.bz2 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; } I wonder what cause this problem with my "libthread_db" library???? Where should those variable "ps_XXXX" reside??? Please advise. Regards. Peter Choi --- Daniel Jacobowitz wrote: > On Thu, Nov 03, 2005 at 05:35:31PM -0800, Peter Choi > wrote: > > Hi, > > > > I compiled GDB6.3 on i386-linux as follow: > > From the source code directory (named gdb-6.3), > > > cd .. > > mkdir build-gdb > > cd build-gdb > > ../gdb-6.3/configure --target=i386-linux > > --prefix=/home/pchoi/work/tools > > make > > make install > > > > Then I compile GDBserver on i386-linux as > follow: > > From the source code directory (named gdb-6.3), > > > cd .. > > mkdir build-gdbserver > > cd build-gdbserver > > ../gdb-6.3/gdb/gdbserver/configure > > --target=i386-linux > --prefix=/home/pchoi/work/tools > > make > > make install > > > > > > Please advise whether it is correct to compile > with > > multithread remote debugging support??? > > Did gdbserver get linked to libthread_db? Check the > build log. > > -- > Daniel Jacobowitz > CodeSourcery, LLC > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com