On Wed, Feb 22, 2012 at 6:52 PM, Nick Edwards <nick.z.edwards@xxxxxxxxx> wrote: > Hi, > I know this may be a little off-topic, but am asking here because mod > cband has it seems been abandon-ware for few years now, even half the > authors I contacted have no idea about the main developers > whereabouts. > > mod_cband works fantastic, except in trying 2.4.1 of apache httpd it > no longer builds. > I hope someone has an idea on as to how to fix > > /usr/sbin/apxs -Wc,-Wall -Wc,-DDST_CLASS=3 -c src/mod_cband.c > /opt/apache/build/libtool --silent --mode=compile gcc -std=gnu99 > -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE > -g -O2 -pthread -I/usr/include/libxml2 -I/opt/apache/include > -I/opt/apache/include -I/opt/apache/include -Wall -DDST_CLASS=3 -c -o > src/mod_cband.lo src/mod_cband.c && touch src/mod_cband.slo > > src/mod_cband.c: In function 'mod_cband_create_traffic_size': > src/mod_cband.c:1054: warning: comparison with string literal results > in unspecified behavior > src/mod_cband.c:1054: warning: comparison with string literal results > in unspecified behavior > src/mod_cband.c:1058: warning: comparison with string literal results > in unspecified behavior > src/mod_cband.c:1058: warning: comparison with string literal results > in unspecified behavior > src/mod_cband.c: In function 'mod_cband_get_dst': > src/mod_cband.c:1333: error: 'conn_rec' has no member named 'remote_ip' > src/mod_cband.c: In function 'mod_cband_get_remote_host': > src/mod_cband.c:1362: error: 'struct conn_rec' has no member named 'remote_ip' > src/mod_cband.c:1363: error: 'struct conn_rec' has no member named 'remote_ip' > src/mod_cband.c:1365: error: 'struct conn_rec' has no member named 'remote_addr' look for "remote_ip" here: http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html#upgrading it should be very simple to fix > apxs:Error: Command failed with rc=65536 > > make: *** [src/.libs/mod_cband.so] Error 1 > > > Thanks > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > -- Born in Roswell... married an alien... --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx