[kaffe] pthread_attr_setschedpolicy missing on NetBSD 2.0 beta

Dalibor Topic robilad at kaffe.org
Sun Jul 11 12:07:53 PDT 2004


Riccardo wrote:
> Hello,
> 
> I tried building kaffe with pthreads on NetBSD 2.0 beta and I get :
> 
> kaffevm/verifier/.libs/libkaffeverifier.so -lm ../../replace/.libs/
> libreplace.so ../../libltdl/.libs/libltdlc.a -Wl,--rpath -Wl,/usr/local/
> kaffe/jre/lib/sparc
> ./kaffevm/.libs/libkaffevm.so: undefined reference to `pthread_attr_
> setschedpolicy'
> gmake[3]: *** [kaffe-bin] Error 1
> gmake[3]: Leaving directory `/home/multix/kaffe-build/kaffe/kaffe'
> 
> 
> 
> since a grep for pthread_attr_setschedpolicy in /usr/include yielded 
> nothing, I assume this funciton is missing on netbsd 2.0

As a quick google search shows, Milos filed a bug report for it to the 
NetBSD team here 
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=24203

Since apparently nothing has happened since, I'll add a configure test 
and make the use of it conditional.

cheers,
dalibor topic




More information about the kaffe mailing list