Re: [patch] epoll bits 0.46 ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Sun Nov 17 2002 - 13:43:44 EST


On Sun, 17 Nov 2002, Mark Hamblin wrote:

> Hi,
>
> I have kind of a newbie question. I have a compiled version of 2.5.47 and I
> can boot it up to runlevel 3 with the loopback network interface (i.e.,
> 127.0.0.1) working. In this configuration I can use the old select () and
> poll () system calls, so I think I should be able to at least try out
> sys_epoll_....
>
> I tried including /usr/src/linux-2.5.47/include/linux/eventpoll.h, but that
> doesn't get me the declarations I need for my testing.
>
> I looked for epoll.h, as referenced in the examples on your web page, but it
> is not part of your patch.
>
> So then I just put in a dummy "extern int epoll_create (int);", which got me
> through the compiling stage, but it still failed to link. Is there some
> simple step(s) I can take (to update what libraries I'm linking?) so I can
> try to play around with this in user space?

Hi Mark,

you need the user space library ( epoll_lib ) :

http://www.xmailserver.org/linux-patches/nio-improve.html#sys_epoll

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:19 EST