FreeBSD 6.0 and Objective C

2005-11-13 Thread Marc Argent
Hi, I am trying to compile a very simple Objective C program (actually, it is a 'Hello World' test program with a different file extension and linked to the Objective C library). #import stdio.h int main (int argc, const char *argv[]) { printf(Hello World\n); return 0; } I am

Re: FreeBSD 6.0 and Objective C

2005-11-13 Thread James Bailie
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

Re: FreeBSD 6.0 and Objective C

2005-11-13 Thread Giorgos Keramidas
On 2005-11-14 00:44, Marc Argent [EMAIL PROTECTED] wrote: Hi, I am trying to compile a very simple Objective C program (actually, it is a 'Hello World' test program with a different file extension and linked to the Objective C library). #import stdio.h int main (int argc, const char

Re: FreeBSD 6.0 and Objective C

2005-11-13 Thread Dinesh Nair
On 11/14/05 08:50 James Bailie said the following: Try adding -lpthread to the compiler command line? actually -pthread would be better. not the missing el ('l'). -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)

Re: FreeBSD 6.0 and Objective C

2005-11-13 Thread Chad Leigh -- Shire.Net LLC
On Nov 13, 2005, at 8:11 PM, Dinesh Nair wrote: On 11/14/05 08:50 James Bailie said the following: Try adding -lpthread to the compiler command line? actually -pthread would be better. not the missing el ('l'). I have a question about this (or similar solutions), as I hope to do some