Solaris 10 issue with 0.7.10+ builds w/ patch fix

Igor Sysoev is at rambler-co.ru
Thu Sep 11 09:10:18 MSD 2008


On Thu, Sep 11, 2008 at 12:13:15AM +0200, Victor Iggy wrote:

> /opt/SunStudioExpress/bin/cc -c -fast -xipo  -errwarn=%all -g  -I
> src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-7.6
> -I objs \
>     -o objs/src/os/unix/ngx_alloc.o \
>     src/os/unix/ngx_alloc.c src/os/unix/ngx_sunpro_x86.il
> "src/os/unix/ngx_alloc.c", line 55: warning: implicit function
> declaration: posix_memalign
> cc: acomp failed for src/os/unix/ngx_alloc.c
> gmake[1]: *** [objs/src/os/unix/ngx_alloc.o] Error 2
> gmake[1]: *** Waiting for unfinished jobs....
> gmake[1]: Leaving directory `/opt/extra/work/nginx-0.7.16'
> gmake: *** [build] Error 2

> Don't use the POSIX_MEMALIGN function on solaris. Just my little hack to
> get nginx working correctly on Indiana.

What does ./configure show ?

On OpenSolaris 2008.05 it shows:

checking for posix_memalign() ... not found
checking for memalign() ... found


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





More information about the nginx mailing list