Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED6B39792 for ; Thu, 23 Feb 2012 00:25:07 +0000 (UTC) Received: (qmail 52646 invoked by uid 500); 23 Feb 2012 00:25:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 52549 invoked by uid 500); 23 Feb 2012 00:25:05 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 52541 invoked by uid 99); 23 Feb 2012 00:25:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 00:25:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of trawick@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 00:24:57 +0000 Received: by vcbfl17 with SMTP id fl17so595497vcb.18 for ; Wed, 22 Feb 2012 16:24:36 -0800 (PST) Received-SPF: pass (google.com: domain of trawick@gmail.com designates 10.52.20.78 as permitted sender) client-ip=10.52.20.78; Authentication-Results: mr.google.com; spf=pass (google.com: domain of trawick@gmail.com designates 10.52.20.78 as permitted sender) smtp.mail=trawick@gmail.com; dkim=pass header.i=trawick@gmail.com Received: from mr.google.com ([10.52.20.78]) by 10.52.20.78 with SMTP id l14mr17448769vde.62.1329956676446 (num_hops = 1); Wed, 22 Feb 2012 16:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8sSlaCWRGmo1F2x43frju7yrjnEWgbhWYANYq+cKhIc=; b=IPPt9qUAgE/+ikbzTE62s8u9s7kzdSBMwURpgj0+7lC+W/nAoawtaVNccYMBW4cefC TyAWhCG0Miat6hSioWBK8QLNONNZcj2cdHEprorMOEHhtc5xta4dIp2gxZslkgcOBoZN eY57VaVstCnp6tR6o+FtCK5TjtobNTZBRWktE= MIME-Version: 1.0 Received: by 10.52.20.78 with SMTP id l14mr14203366vde.62.1329956676396; Wed, 22 Feb 2012 16:24:36 -0800 (PST) Received: by 10.220.192.69 with HTTP; Wed, 22 Feb 2012 16:24:36 -0800 (PST) In-Reply-To: References: Date: Wed, 22 Feb 2012 19:24:36 -0500 Message-ID: From: Jeff Trawick To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] apache 2.4.1 and mod cband On Wed, Feb 22, 2012 at 6:52 PM, Nick Edwards wr= ote: > 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=3D3 -c src/mod_cband.c > /opt/apache/build/libtool --silent --mode=3Dcompile gcc -std=3Dgnu99 > -prefer-pic -DLINUX=3D2 -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=3D3 -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 'remot= e_ip' > src/mod_cband.c:1363: error: 'struct conn_rec' has no member named 'remot= e_ip' > src/mod_cband.c:1365: error: 'struct conn_rec' has no member named 'remot= e_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=3D65536 > > make: *** [src/.libs/mod_cband.so] Error 1 > > > Thanks > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= . > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --=20 Born in Roswell... married an alien... --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org