Welcome! Log In Create A New Profile

Advanced

Re: eventfd() failed (38: Function not implemented)

Maxim Dounin
February 05, 2016 08:06AM
Hello!

On Thu, Feb 04, 2016 at 02:28:07PM -0500, sirwiz wrote:

> I try to run Nginx, but i have error: eventfd() failed (38: Function not
> implemented)
>
> I found this patch (https://forum.nginx.org/read.php?29,258676,258685#REPLY)
> to 1.9.0, i cannot do diff so i do it manualy.
>
> So i found ngx_epoll_init(ngx_cycle_t
>
> And now my file:
>
> static ngx_int_t ngx_epoll_init(ngx_cycle_t *cycle, ngx_msec_t timer);
> #if (NGX_HAVE_EVENTFD)
> if (ngx_epoll_notify_init(cycle->log) != NGX_OK) {
> - return NGX_ERROR;
> + ngx_epoll_module_ctx.actions.notify = NULL;
> }
> #endif
>
> But i have compiler error
>
> src/event/modules/ngx_epoll_module.c:105: error: expected identifier or '('
> before 'if'
> make[1]: *** [objs/src/event/modules/ngx_epoll_module.o] Error 1
>
> Any ideas how to make it working?

Try obtaining latest nginx version instead, 1.9.10.
It can be downloaded here:

http://nginx.org/en/download.html

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

eventfd() failed (38: Function not implemented)

sirwiz February 04, 2016 02:28PM

Re: eventfd() failed (38: Function not implemented)

Maxim Dounin February 05, 2016 08:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready