LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2008, 12:50 AM   #1
tanmay.anjaria
LQ Newbie
 
Registered: Jan 2008
Posts: 8

Rep: Reputation: 0
Linux library reqd. for "pthread_setaffinity_np"


Hello,

I'm using a quad processor system. I want a program running on my PC having four threads and each of them running on different processors.

I'm using function "pthread_setaffinity_np" for that. while compiling, it gives an error saying "undefined reference to : pthread_setaffinity_np"

Can anyone tell me which library should be included for "pthread_setaffinity_np" ?

Thanks in advance...

Tanmay
 
Old 01-31-2008, 07:23 PM   #2
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
what exactly are you trying to compile? have you looked the logs ? if you are trying to compile then should be a log somewere for your compilation attempt. Please post error messages.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux library reqd. for "pthread_setaffinity_np" tanmay.anjaria Linux - Software 1 01-31-2008 01:41 AM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
conversion of dynamic ".so" library to ststic ".a" library aashaysood Linux - Hardware 2 07-02-2006 11:15 PM
A decent audio player with a "music library" feature. does it exist for linux? martinr Linux - Software 12 04-17-2006 03:10 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration