View previous topic :: View next topic |
Author |
Message |
bbg n00b
Joined: 01 Apr 2007 Posts: 13
|
Posted: Thu Apr 05, 2007 2:23 pm Post subject: How to get epoll library ? |
|
|
I write a network program whitch use epoll. It is said that can not find -lepoll library when I make.
And I get nothing from "emerge --search epoll".
My kernel version is 2.6.19 , how can I solve this problem ? |
|
Back to top |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
Posted: Thu Apr 05, 2007 3:16 pm Post subject: |
|
|
1. using your favorite search engine, search for epoll.
2. finding the correct site, download the library.
3. install the library. The site (or the package downloaded) should have instructions.
4. link against your binary. |
|
Back to top |
|
|
bbg n00b
Joined: 01 Apr 2007 Posts: 13
|
Posted: Thu Apr 05, 2007 5:06 pm Post subject: |
|
|
Thank you ,it's pity that can't merge epoll from the portage. |
|
Back to top |
|
|
bbg n00b
Joined: 01 Apr 2007 Posts: 13
|
Posted: Fri Apr 06, 2007 1:47 am Post subject: |
|
|
Oh..
I found it doesn't need -lepoll at all ! |
|
Back to top |
|
|
|