FreeBSD 6.0 and Objective C
James Bailie
jimmy at jamesbailie.com
Mon Nov 14 00:50:29 GMT 2005
Marc Argent wrote:
> This results in the following error message:
>
> /usr/lib/libobjc.so: undefined reference to `pthread_attr_destroy'
> /usr/lib/libobjc.so: undefined reference to `pthread_create'
> /usr/lib/libobjc.so: undefined reference to `pthread_attr_init'
> /usr/lib/libobjc.so: undefined reference to `pthread_exit'
> /usr/lib/libobjc.so: undefined reference to `pthread_getschedparam'
> /usr/lib/libobjc.so: undefined reference to `pthread_setschedparam'
> /usr/lib/libobjc.so: undefined reference to `pthread_attr_setdetachstate'
Try adding -lpthread to the compiler command line?
--
James Bailie <jimmy at jamesbailie.com>
http://www.jamesbailie.com
More information about the freebsd-questions
mailing list