can't install mod_bw

blog

Verified User
Joined
Jan 28, 2011
Messages
131
Hi to All

I get this error when use guide: https://help.directadmin.com/item.php?id=339




[root@me ~]# mkdir mod_bw
[root@me ~]# cd mod_bw
[root@me mod_bw]# tar xvzf ../mod_bw-0.92.tgz
ChangeLog
LICENSE
mod_bw.c
mod_bw.txt
TODO
[root@me mod_bw]# /usr/sbin/apxs -i -a -c mod_bw.c
/var/www/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -I/usr/local/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache -I/usr/include/apache -I/usr/include/apache -c -o mod_bw.lo mod_bw.c && touch mod_bw.slo
mod_bw.c: In function 'get_bw_rate':
mod_bw.c:567: error: 'conn_rec' has no member named 'remote_addr'
mod_bw.c: In function 'get_maxconn':
mod_bw.c:658: error: 'conn_rec' has no member named 'remote_addr'
mod_bw.c: In function 'get_sid':
mod_bw.c:709: error: 'conn_rec' has no member named 'remote_addr'
apxs:Error: Command failed with rc=65536


How fix issue?

Thank you.
 
Top