From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17524 invoked from network); 27 Mar 1999 18:39:28 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Mar 1999 18:39:28 -0000 Received: from poseidon.olympus.tx.us (tcnet02-33.austin.texas.net [209.99.40.96]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA12902 for ; Sat, 27 Mar 1999 13:24:44 -0500 Received: from poseidon (localhost [127.0.0.1]) by poseidon.olympus.tx.us (8.8.7/8.8.7) with SMTP id MAA00618 for ; Sat, 27 Mar 1999 12:32:46 -0600 From: Eric Cifreo To: axp-list@redhat.com Subject: 2.2.4 compile errors Date: Sat, 27 Mar 1999 12:23:18 -0600 X-Mailer: KMail [version 1.0.16] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99032712324500.00435@poseidon> Content-Transfer-Encoding: 8bit Hello all, I'm try to compile 2.2.4 on Avanti, and having a bit of trouble. This machine will hopefully become the home LAN firewall, so I'm trying the ipmasq stuff. Here's the build environment: [root@hermes /usr/src/linux]# gcc -v Reading specs from /usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/egcs-2.91.60/specs gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) [root@hermes /usr/src/linux]# rpm -q procps procps-1.2.9-2 [root@hermes /usr/src/linux]# rpm -q binutils binutils-2.9.1.0.15-1 Here's the errors: af_packet.c:995: union has no member named `af_packet' af_packet.c:997: union has no member named `af_packet' af_packet.c: In function `packet_notifier': af_packet.c:1038: union has no member named `af_packet' af_packet.c:1034: warning: `po' might be used uninitialized in this function make[3]: *** [af_packet.o] Error 1 make[3]: Leaving directory `/usr/src/linux/net/packet' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux/net/packet' make[1]: *** [_subdir_packet] Error 2 make[1]: Leaving directory `/usr/src/linux/net' make: *** [_dir_net] Error 2 Here's that function: static int packet_notifier(struct notifier_block *this, unsigned long msg, void\ *data) { struct sock *sk; struct packet_opt *po; struct device *dev = (struct device*)data; for (sk = packet_sklist; sk; sk = sk->next) { po = sk->protinfo.af_packet; /* etc, etc */ I added almost all of the masq options in Networking in .config. Is it a problem with my .config? Does the patch on kernel.org fix it? Anyone else seen it? -- Eric Cifreo Austin, TX "Now there's one hoopy frood who really knows where his towel is." --Douglas Adams