nginx-0.8.40 on AIX 5.3

Igor Sysoev igor at sysoev.ru
Thu Jun 10 15:50:08 MSD 2010


On Thu, Jun 10, 2010 at 06:31:59AM +0200, Tamás Gulácsi wrote:

> > Date: Thu, 10 Jun 2010 00:42:07 +0400
> > From: Igor Sysoev <igor at sysoev.ru>
> > To: nginx-devel at nginx.org
> > Subject: Re: nginx-0.8.40 on AIX 5.3
> > Message-ID: <20100609204207.GD15263 at rambler-co.ru>
> > Content-Type: text/plain; charset=iso-8859-1
> >
> > On Wed, Jun 09, 2010 at 10:26:44PM +0200, Tam?s Gul?csi wrote:
> >
> >> I'm rtying to cimpile nginx-0.8.40 on AIX 5.3 with xlc_r
> >>
> >>         chmod 644
> >> /home/kobe/kobed/tgulacsi/szemet/nginx-0.8.40/../openssl-1.0.0a/.openssl/lib/pkgconfig/openssl.pc
> >> Target "install" is up to date.
> >>         xlc_r -q64 -c  -I src/core  -I src/event  -I src/event/modules
> >>  -I src/os/unix  -I ../pcre-8.00  -I
> >> ../openssl-1.0.0a/.openssl/include  -I objs  -o objs/src/core/nginx.o
> >> src/core/nginx.c
> >> "src/core/nginx.c", line 377.13: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 377.13: 1506-098 (E) Missing argument(s).
> >> "src/core/nginx.c", line 385.13: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 385.13: 1506-098 (E) Missing argument(s).
> >> "src/core/nginx.c", line 430.17: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 430.17: 1506-098 (E) Missing argument(s).
> >> "src/core/nginx.c", line 621.9: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 621.9: 1506-098 (E) Missing argument(s).
> >> "src/core/nginx.c", line 636.13: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 636.13: 1506-098 (E) Missing argument(s).
> >> "src/core/nginx.c", line 1019.13: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 1019.13: 1506-098 (E) Missing argument(s).
> >> "src/core/nginx.c", line 1030.13: 1506-046 (S) Syntax error.
> >> "src/core/nginx.c", line 1030.13: 1506-098 (E) Missing argument(s).
> >> make: 1254-004 The error code from the last command is 1.

> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found

It's strange: xlc_r issues errors on all ngx_log_error()'s, except this one:

    ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,
                  "using inherited sockets from \"%s\"", inherited);


Could you try to add --with-cc-opt="-D NGX_HAVE_GCC_VARIADIC_MACROS=0"
in ./configure string ?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx-devel mailing list