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
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
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
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)
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