This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Compilation of GDB6.3 [NEDD HELP]
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