[ https://www.modsecurity.org/tracker/browse/MODSEC-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Breno Silva Pinto resolved MODSEC-377.
--------------------------------------
Resolution: Won't Fix
> Errors on compiling with Nginx
> ------------------------------
>
> Key: MODSEC-377
> URL: https://www.modsecurity.org/tracker/browse/MODSEC-377
> Project: ModSecurity
> Issue Type: Bug
> Security Level: Normal
> Affects Versions: 2.7.1
> Environment: uname -a
> Linux tamas 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
> Distributor ID: Ubuntu
> Description: Ubuntu 12.04.1 LTS
> Release: 12.04
> Codename: precise
> gcc version: 4.6.3
> nginx version: 1.2.6
> Reporter: Tamas Kokeny
> Assignee: Breno Silva Pinto
> Labels: nginx
> Fix For: 2.7.3
>
>
> I get errors, when I try to compile Nginx with ModSecurity and ngx_http_extended_status_module.
> In file included from /usr/include/apache2/mod_log_config.h:28:0,
> from /home/nginx/modsecurity-apache_2.7.1/nginx/modsecurity/../../standalone/api.h:29,
> from /home/nginx/modsecurity-apache_2.7.1/nginx/modsecurity/ngx_http_modsecurity.c:28:
> /usr/include/apache2/scoreboard.h:58:0: error: "SERVER_DEAD" redefined [-Werror]
> src/event/ngx_event.h:532:0: note: this is the location of the previous definition
> /usr/include/apache2/scoreboard.h:60:0: error: "SERVER_READY" redefined [-Werror]
> src/event/ngx_event.h:528:0: note: this is the location of the previous definition
> /usr/include/apache2/scoreboard.h:61:0: error: "SERVER_BUSY_READ" redefined [-Werror]
> src/event/ngx_event.h:529:0: note: this is the location of the previous definition
> /usr/include/apache2/scoreboard.h:62:0: error: "SERVER_BUSY_WRITE" redefined [-Werror]
> src/event/ngx_event.h:530:0: note: this is the location of the previous definition
> /usr/include/apache2/scoreboard.h:64:0: error: "SERVER_BUSY_LOG" redefined [-Werror]
> src/event/ngx_event.h:531:0: note: this is the location of the previous definition
> /usr/include/apache2/scoreboard.h:100:29: error: conflicting types for 'worker_score'
> src/event/ngx_event.h:551:3: note: previous declaration of 'worker_score' was here
> cc1: all warnings being treated as errors
> make[1]: *** [objs/addon/modsecurity/ngx_http_modsecurity.o] Error 1
> make[1]: Leaving directory `/home/nginx/nginx-1.2.6'
> make: *** [build] Error 2
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|