Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Eric Cifreo <ecifreo@texas.net>
To: axp-list@redhat.com
Subject: 2.2.4 compile errors
Date: Sat, 27 Mar 1999 12:23:18 -0600	[thread overview]
Message-ID: <99032712324500.00435@poseidon> (raw)

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


                 reply	other threads:[~1999-03-27 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox