how to compile a program that uses threads and semaphores?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

How do I compile a program that uses threads and
semaphores? Although I included thread.h and
semaphore.h in my program, gcc keeps saying that it
can't find references to sem_wait, sem_post, sem_init
and pthread_create.
I'm using gcc 3.2.2 on a RedHat 9 box

Thanks,

Andre

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux