httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: httpd 2.4.1 vs mod_whatkilledus
Date Sun, 04 Mar 2012 02:03:30 GMT
On Sat, Mar 3, 2012 at 8:35 PM, Igor Galić <i.galic@brainsware.org> wrote:
> Hey folks,
> or rather: Jeff :)

try again :)


>
> I'm finally getting around to updating my stack to httpd 2.4.1
> (and PHP 5.4) and some things are breaking.
> mod_whatkilledus doesn't build with 2.4.1:
>
> /opt/bw/share/apr/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -march=corei7
-maes -O3 -g  -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/libxml2 -I/opt/bw/include
 -I/opt/bw/include/apr   -I/opt/bw/include/apr   -c -o mod_whatkilledus.lo mod_whatkilledus.c
&& touch mod_whatkilledus.slo
> mod_whatkilledus.c: In function 'wku_fatal_exception':
> mod_whatkilledus.c:240:43: error: 'conn_rec' has no member named 'remote_addr'

I did the quick fix that doesn't handle logging the IP of the real
client if going through an LB or other intermediary

> mod_whatkilledus.c:219:18: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:232:10: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:250:10: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:257:14: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:258:14: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:264:14: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]
> mod_whatkilledus.c:270:10: warning: ignoring return value of 'write', declared with attribute
warn_unused_result [-Wunused-result]

not fixed yet

> apxs:Error: Command failed with rc=65536
> .
>
> So long,
>
> i
>
> --
> Igor Galić
>
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
>



-- 
Born in Roswell... married an alien...

Mime
View raw message