Subject: Error building gdb in current
To: None <current-users@NetBSD.org>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: current-users
Date: 03/04/2003 08:15:25
I am trying to build current and it is hanging up on gdb.  The error
is as follows.

nbsd-thread.o: In function `nbsd_pid_to_str':
nbsd-thread.o(.text+0x778): undefined reference to `td_thr_getname'
nbsd-thread.o: In function `info_cb':
nbsd-thread.o(.text+0xbc4): undefined reference to `td_thr_getname'
collect2: ld returned 1 exit status
*** Error code 1

There is a -lpthread_dbg in the link line and nm shows that that
external name is there so I can't see why this is failing.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.