Subject: Re: ThreadedX patch, take 2
To: FUKAUMI Naoki <naoki@fukaumi.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 01/20/2003 00:52:05
On Mon, Jan 20, 2003 at 05:16:51PM +0900, FUKAUMI Naoki wrote:

 > % uname -a
 > NetBSD nforce.naobsd.org 1.6M NetBSD 1.6M (NFORCE) #0: Mon Jan 20 15:15:04 JST 2003     fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCE i386
 > 
 > I found three X client programs has compile (link) error.
 > 
 >   ico
 >   glxinfo
 >   glxgears

Ah, I see I made a mistake in the Xthreads.h part of the patch.  I'll
correct it and post again.

Thanks.

 > ico.o(.text+0x2064): undefined reference to `pthread_cond_init'
 > ico.o(.text+0x209d): undefined reference to `pthread_create'
 > ico.o(.text+0x20b3): undefined reference to `pthread_mutex_lock'
 > ico.o(.text+0x20c5): undefined reference to `pthread_cond_wait'
 > ico.o(.text+0x20d5): undefined reference to `pthread_mutex_unlock'
 > *** Error code 1 (continuing)

...though, I am a bit puzzled as to what is creating the direct pthread
references in this case...

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>