Date: Sun, 13 Nov 2005 19:50:13 -0500 From: James Bailie <jimmy@jamesbailie.com> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.0 and Objective C Message-ID: <4377DF45.5000200@jamesbailie.com> In-Reply-To: <4d6854f30511131644p52847154o@mail.gmail.com> References: <4d6854f30511131644p52847154o@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@jamesbailie.com> http://www.jamesbailie.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4377DF45.5000200>