Re: wacky warnings linking multithreaded code

2001-08-23 Thread Jim Bryant
if you have the linux-pthreads port installed, remove it. things will compile properly afterwards. linux-pthreads really needs a different library name and include file names... i lay odds that this known conflict is your problem. David Petrou wrote: >>cc -pthread test.c >> > > i tried that

Re: wacky warnings linking multithreaded code

2001-08-23 Thread David Petrou
> cc -pthread test.c i tried that too. that works for test.c, which doesn't reference anything, but in more complex programs, it dies. i wish i knew why. check this out: this is the command to link testgthread from the glib library without -lc_r and without -pthread: --