Re: pthread_create

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

 



I think you have to compile with the -lpthread option; however, I don't
think this is the place to ask this. :)

John

On Wed, 27 Feb 2002, David Stroupe wrote:

> I am trying to compile an app using threads.  I have pthread.h included
> but during thew linking process I get this:
>
> 626Test.o: In function `main':
> 626Test.o(.text+0x5e): undefined reference to `pthread_create'
>
> Any ideas?
> TIA
>
>

-- 
John Tyner
jtyner@cs.ucr.edu

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux