Re: OT: Compiling multithreaded code

2001-12-25 Thread fred smith
On Mon, Dec 24, 2001 at 12:08:13PM -0500, Jason Costomiris wrote: > On Mon, Dec 24, 2001 at 11:25:31PM +0800, David wrote: > : I have written some multithreading code using pthread library. But when I > : compile the code, the compiling process is ok but the linking process claims > : "undefined r

Re: OT: Compiling multithreaded code

2001-12-24 Thread David
Thanks for your reply. :) Sorry for my ignorance. I don't have much experience in programming. David - Original Message - From: "Jason Costomiris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 25, 2001 1:08 AM Subject: Re: OT: Compiling

Re: OT: Compiling multithreaded code

2001-12-24 Thread Jason Costomiris
On Mon, Dec 24, 2001 at 11:25:31PM +0800, David wrote: : I have written some multithreading code using pthread library. But when I : compile the code, the compiling process is ok but the linking process claims : "undefined reference" for pthread_create( ). How can I resolve this problem? : I have

Re: OT: Compiling multithreaded code

2001-12-24 Thread David
I have found the solution already. It was an easy one though. --- Original Message --- Hi all, I have written some multithreading code using pthread library. But when I compile the code, the compiling process is ok but the linking process claims "undefined reference" for pthread_create( ). How

OT: Compiling multithreaded code

2001-12-24 Thread David
Hi all, I have written some multithreading code using pthread library. But when I compile the code, the compiling process is ok but the linking process claims "undefined reference" for pthread_create( ). How can I resolve this problem? I have included and #define _REENTRANT but still doesn't wor