nginx-0.6.27

Yusuf Goolamabbas yusufg at gmail.com
Thu Mar 13 08:21:11 MSK 2008


Compiling this on FC4 2.6.11-1.1369_FC4smp, I get the following error
in ngx_rtsig_module.c.
There isn't any option for '--without-rtsig_module' whilst configuring nginx


make -f objs/Makefile
make[1]: Entering directory `/var/local/src/nginx-0.6.27'
gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-f
unction -Wunused-variable -Wunused-value -Werror -g  -I src/core -I src/event -I
 src/event/modules -I src/os/unix -I objs \
        -o objs/src/event/modules/ngx_rtsig_module.o \
        src/event/modules/ngx_rtsig_module.c
src/event/modules/ngx_rtsig_module.c: In function 'ngx_rtsig_init':
src/event/modules/ngx_rtsig_module.c:161: error: invalid application of 'sizeof'
 to incomplete type 'struct pollfd'
src/event/modules/ngx_rtsig_module.c: In function 'ngx_rtsig_process_events':
src/event/modules/ngx_rtsig_module.c:383: error: 'POLLIN' undeclared (first use
in this function)
src/event/modules/ngx_rtsig_module.c:383: error: (Each undeclared identifier is
reported only once
src/event/modules/ngx_rtsig_module.c:383: error: for each function it appears in
.)
src/event/modules/ngx_rtsig_module.c:383: error: 'POLLHUP' undeclared (first use
 in this function)
src/event/modules/ngx_rtsig_module.c:383: error: 'POLLERR' undeclared (first use
 in this function)
src/event/modules/ngx_rtsig_module.c:400: error: 'POLLOUT' undeclared (first use
 in this function)src/event/modules/ngx_rtsig_module.c: In function
'ngx_rtsig_process_overflow':
src/event/modules/ngx_rtsig_module.c:493: error: 'POLLIN' undeclared (first use
in this function)
src/event/modules/ngx_rtsig_module.c:497: error: 'POLLOUT' undeclared (first use
 in this function)
src/event/modules/ngx_rtsig_module.c:504: error: invalid use of undefined type '
struct pollfd'
src/event/modules/ngx_rtsig_module.c:504: error: dereferencing pointer to incomp
lete type
src/event/modules/ngx_rtsig_module.c:505: error: invalid use of undefined type '
struct pollfd'
src/event/modules/ngx_rtsig_module.c:505: error: dereferencing pointer to incomp
lete type
src/event/modules/ngx_rtsig_module.c:506: error: invalid use of undefined type '
struct pollfd'
src/event/modules/ngx_rtsig_module.c:506: error: dereferencing pointer to incomp
lete type
cc1: warnings being treated as errors
src/event/modules/ngx_rtsig_module.c:515: warning: implicit declaration of funct
ion 'poll'
src/event/modules/ngx_rtsig_module.c:541: error: invalid use of undefined type '
struct pollfd'
src/event/modules/ngx_rtsig_module.c:541: error: dereferencing pointer to incomp
lete type
src/event/modules/ngx_rtsig_module.c:552: error: invalid use of undefined type '
struct pollfd'
src/event/modules/ngx_rtsig_module.c:552: error: dereferencing pointer to incomp
lete type
src/event/modules/ngx_rtsig_module.c:553: error: 'POLLERR' undeclared (first use
 in this function)
src/event/modules/ngx_rtsig_module.c:553: error: 'POLLHUP' undeclared (first use
 in this function)
src/event/modules/ngx_rtsig_module.c:553: error: 'POLLNVAL' undeclared (first us
e in this function)
src/event/modules/ngx_rtsig_module.c:580: error: invalid use of undefined type '
struct pollfd'
src/event/modules/ngx_rtsig_module.c:580: error: dereferencing pointer to incomp
lete type
make[1]: *** [objs/src/event/modules/ngx_rtsig_module.o] Error 1
make[1]: Leaving directory `/var/local/src/nginx-0.6.27'





More information about the nginx mailing list