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

Re: rageircd ftbfs on alpha, cannot find epoll system call

On Tue 01 Aug 2006, Marc Haber wrote:
> rageircd fails to build on alpha, "Cannot find epoll system call for
> socket engine". Epoll is the only socket engine that is stable on
> other architectures, and thus rageircd has changed to use epoll.
> Is this a porting issue? Or do I need to have an architecture-specific
> dpatch to use a different socket engine on alpha?

AFAICS the problem is that this ifdef is true:

#if defined (__stub_epoll_create) || defined (__stub___epoll_create)
choke me

However, a grep -r of both these over /usr/include doesn't give
anything, nor does a grep -r of epoll_create show anything likely.

Adding XXX to the end of both the above symbols result in a successful
build, although I can't really vouch for it working correctly :-)
I did try this:

$ nm ./src/rageircd | grep epoll
                 U epoll_create@@GLIBC_2.3.2
                 U epoll_ctl@@GLIBC_2.3.2
00000001200798b8 b epoll_fds
                 U epoll_wait@@GLIBC_2.3.2

So it seems it did in fact find those symbols in glibc.

Paul Slootman

Reply to: