Thread: pthreads woes...

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    5

    pthreads woes...

    heya everyone... I'm trying to utilize pthreads in my program... i have all the necessary headers and libraries and such, and I should be linking to them correctly... im using bcc to compile and i get this error when compiling a simple thread prog:

    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    Error: Unresolved external '_pthread_exit' referenced from C:\#PROJECTS\#TEMP\TEST.OBJ
    Error: Unresolved external '_pthread_create' referenced from C:\#PROJECTS\#TEMP\TEST.OBJ

    Anyone familiar with this, or have any suggestions on how to get this to compile?

    Thanks in advance everyone! I hope your memorial day is going well! =)

    ->!G

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Never used pthreads, but from your error it sounds like you aren't linking to all of the required libraries.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    5
    yeah that is definitely possible, and most likely. thanks for your insight!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using pthreads with an API that uses pthreads
    By MK27 in forum C Programming
    Replies: 3
    Last Post: 03-06-2009, 02:47 PM
  2. Pthreads performance
    By C_ntua in forum C Programming
    Replies: 42
    Last Post: 06-17-2008, 11:29 AM
  3. Replies: 3
    Last Post: 04-16-2007, 12:02 PM
  4. Difference between win32 and linux pthreads
    By philipsan in forum C Programming
    Replies: 1
    Last Post: 02-07-2006, 04:57 PM
  5. pthreads and resources
    By ubermensch in forum C Programming
    Replies: 2
    Last Post: 02-07-2006, 02:27 AM