nginx-0.7.46

Otto Bretz otto.bretz at promosys.se
Wed Apr 1 18:16:20 MSD 2009


On Mon, Mar 30, 2009 at 1:43 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> I've got the following under FreeBSD 6.2:
> gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter
> -Wno-unused-function -Wunused-variable -Wunused-value -Werror -g
> -D NGX_DEBUG_MALLOC -I src/core  -I src/event  -I
> src/event/modules  -I src/os/unix  -I /usr/local/include  -I objs
> -o objs/src/core/nginx.o  src/core/nginx.c
> In file included from /usr/include/sys/mount.h:36,
>                 from src/os/unix/ngx_freebsd_config.h:25,
>                 from src/core/ngx_config.h:21,
>                 from src/core/nginx.c:7:
> /usr/include/sys/ucred.h:71: error: `NGROUPS' undeclared here (not
> in a function)

Same problem here on OpenBSD trying to compile 0.7.47
cc -c -O2 -pipe -I src/core  -I src/event  -I src/event/modules  -I
src/os/unix  -I /usr/local/include  -I objs  -o objs/src/core/nginx.o
src/core/nginx.c
In file included from /usr/include/sys/mount.h:40,
                 from src/os/unix/ngx_posix_config.h:48,
                 from src/core/ngx_config.h:41,
                 from src/core/nginx.c:7:
/usr/include/sys/ucred.h:46: error: `NGROUPS' undeclared here (not in
a function)

/Otto





More information about the nginx mailing list