Subject: question about compiling with threads.
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 08/17/2002 16:47:02
I'm trying to compile a new version of squeak (a smalltalk environment)
and I'm getting all sorts of thread errors like:

Mpeg3Plugin/Mpeg3Plugin.a(mpeg3video.o): In function `mpeg3video_allocate_struct':
mpeg3video.o(.text+0x5f3): undefined reference to `pthread_mutexattr_init'
mpeg3video.o(.text+0x606): undefined reference to `pthread_mutex_init'

It doesn't seem to be enough to add:
`.include "../../mk/pthread.buildlink.mk"'

to the makefile. :) Anyone have any other pointers?

Thanks.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte