This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Compilation of GDB6.3 [NEDD HELP]
- From: Peter Choi <peter_tkchoi at yahoo dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 3 Nov 2005 19:40:35 -0800 (PST)
- Subject: Re: Compilation of GDB6.3 [NEDD HELP]
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 <drow@false.org> 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