Welcome! Log In Create A New Profile

Advanced

Re: Trouble compiling nginx on AIX 5.3

Maxim Dounin
December 18, 2012 07:54AM
Hello!

On Mon, Dec 17, 2012 at 10:13:29PM -0500, Earle Ake wrote:

> I am having issues getting nginx v1.2.6 compiled on AIX 5.3. This is
> the first time I have tried on AIX. I am using the configure line:
>
> ./configure --without-http_rewrite_module --without-http_gzip_module
> --with-http_ssl_module --with-zlib=/usr/lib/
>
> It gets so far in compiling then stops at this error:
>
> gcc -c -pipe -O -W -Wall -Wpointer-arith
> -Wno-unused-parameter -Werror -g -I src/core -I src/event -I
> src/event/modules -I src/os/unix -I objs -o
> objs/src/os/unix/ngx_process.o src/os/unix/ngx_process.c
> src/os/unix/ngx_process.c: In function `ngx_process_get_status':
> src/os/unix/ngx_process.c:510: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:517: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:523: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:528: warning: signed and unsigned type in
> conditional expression
> src/os/unix/ngx_process.c:529: warning: signed and unsigned type in
> conditional expression
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Stop.
>
>
> I also tried V1.2.4 and got the same results but a slightly different
> line number. Any help?

Line numbers suggests there is a problem with system headers and
your compiler - it complains about macros like WTERMSIG(). If you
are brave enough to assume these warnings are harmless, you may
tro using

../configure --with-cc-opt="-Wno-error"

to compile nginx despite of the warnings.

--
Maxim Dounin
http://nginx.com/support.html

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

Trouble compiling nginx on AIX 5.3

Earle Ake December 17, 2012 10:14PM

Re: Trouble compiling nginx on AIX 5.3

Maxim Konovalov December 18, 2012 01:54AM

Re: Trouble compiling nginx on AIX 5.3

Maxim Dounin December 18, 2012 07:54AM

Re: Trouble compiling nginx on AIX 5.3

Earle Ake December 18, 2012 09:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 150
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready