Date: Thu, 3 Sep 1998 16:55:06 -0500 (CDT) From: "Daniel M. Eischen" <deischen@iworks.interworks.org> To: bartol@salk.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pthread_attr_setscope missing from libc_r ??? Message-ID: <199809032155.QAA29128@iworks.interworks.org>
next in thread | raw e-mail | index | archive | help
> I'm trying to compile VTK (a multithreaded viz tool kit) but I'm getting > the following error in the final link step: > > vtkMultiThreader.o: Undefined symbol `_pthread_attr_setscope' referenced > from text segment Just comment out the code that calls pthread_attr_setscope in VTK. FreeBSD doesn't have it yet, and until kernel threads come, it'll always be PTHREAD_SCOPE_PROCESS anyways. > which seems to suggest that I'm missing the pthread_attr_setscope > function. The function should exist according to the pthread(3) man page. Well, it's defintely not implemented yet, but it would be simple enough to add to libc_r. Trying to set it to PTHREAD_SCOPE_SYSTEM would return EINVAL until kernel threads come. Dan Eischen deischen@iworks.InterWorks.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809032155.QAA29128>