[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd fails to start up in 2.3.8 and 2.3.9



On Monday, 10 October 2005 19:34, Howard Chu wrote:
> errno 38 is ENOSYS, it seems the epoll_ctl system call is not
> implemented on your target kernel. You say that running "make test"
> works though?

On the build host, which has a 2.6 kernel. The kernel on the target host is 
2.4 (which doesn't have epoll).

> That's pretty strange. You'll probably have to set 
> ac_cv_header_sys_epoll_h = no and rerun configure. The configure script
> checks that epoll_create() works, strange that it would succeed but
> epoll_ctl() fails.

I've changed the package to set ac_cv_header_sys_epoll_h = no when building 
for a target system with a 2.4 kernel, which has fixed that for me.

However, build-time checks on kernel features may not be the most robust 
solution.

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpvbvad9DgUA.pgp
Description: PGP signature