Welcome! Log In Create A New Profile

Advanced

build failed on Linux with x32 ABI

Serguei I. Ivantsov
June 24, 2013 09:02AM
Hi,

Nginx failed to build on Linux with x32 ABI.

>In file included from /usr/include/sys/sysctl.h:63:0,
> from src/os/unix/ngx_linux_config.h:54,
> from src/core/ngx_config.h:26,
> from src/core/nginx.c:8:
>/usr/include/bits/sysctl.h:19:3: error: #error "sysctl system call is
>unsupported in x32 kernel"
> # error "sysctl system call is unsupported in x32 kernel"

sysctl() is only used within RTSIG module, but included anyway in
ngx_linux_config.h.

Please find the patch attached to address the issue.

--
Serguei I. Ivantsov_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

build failed on Linux with x32 ABI Attachments

Serguei I. Ivantsov 897 June 24, 2013 09:02AM

Re: build failed on Linux with x32 ABI

Maxim Dounin 517 June 24, 2013 11:38AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 110
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready