[ https://www.modsecurity.org/tracker/browse/MODSEC-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Breno Silva Pinto resolved MODSEC-241.
--------------------------------------
Resolution: Fixed
> Build issues with 2.6.x branch
> ------------------------------
>
> Key: MODSEC-241
> URL: https://www.modsecurity.org/tracker/browse/MODSEC-241
> Project: ModSecurity
> Issue Type: Bug
> Security Level: Normal
> Components: Build System
> Affects Versions: 2.6.0
> Environment: Ubuntu 10.10 x86_64
> Reporter: Brian Rectanus
> Assignee: Breno Silva Pinto
> Fix For: 2.6.0
>
>
> 1) "make clean" does not clean up properly
> - *.slo files are still there
> - make test/test-regression files are not cleaned
> 2) Warnings:
> mod_security2.c: In function 'hook_request_late':
> mod_security2.c:862: warning: format '%d' expects type 'int', but argument 3 has type 'apr_size_t'
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/libxml2 -g -O2 -MT mod_security2_la-mod_security2.lo -MD -MP -MF .deps/mod_security2_la-mod_security2.Tpo -c mod_security2.c -o mod_security2_la-mod_security2.o >/dev/null 2>&1
> --
> apache2_io.c: In function 'inject_content_to_of_brigade':
> apache2_io.c:508: warning: format '%d' expects type 'int', but argument 4 has type 'apr_size_t'
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/libxml2 -g -O2 -MT mod_security2_la-apache2_io.lo -MD -MP -MF .deps/mod_security2_la-apache2_io.Tpo -c apache2_io.c -o mod_security2_la-apache2_io.o >/dev/null 2>&1
> --
> msc_reqbody.c: In function 'modsecurity_request_body_to_stream':
> msc_reqbody.c:415: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'apr_size_t'
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/libxml2 -g -O2 -MT mod_security2_la-msc_reqbody.lo -MD -MP -MF .deps/mod_security2_la-msc_reqbody.Tpo -c msc_reqbody.c -o mod_security2_la-msc_reqbody.o >/dev/null 2>&1
> 3) "make test" fails to build:
> msc_test-re_operators.o: In function `msre_op_rsub_execute':
> /work/modsecurity/tests/../apache2/re_operators.c:407: undefined reference to `ap_regexec'
> /work/modsecurity/tests/../apache2/re_operators.c:421: undefined reference to `ap_regexec'
> /work/modsecurity/tests/../apache2/re_operators.c:375: undefined reference to `ap_pregcomp'
> /work/modsecurity/tests/../apache2/re_operators.c:373: undefined reference to `ap_pregcomp'
> msc_test-re_operators.o: In function `msre_op_rsub_param_init':
> /work/modsecurity/tests/../apache2/re_operators.c:315: undefined reference to `ap_pregcomp'
> 4) "make test-regression" fails (may send a patch later if time).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://www.modsecurity.org/tracker/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|