Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.2.4 compile errors
@ 1999-03-27 18:23 Eric Cifreo
  0 siblings, 0 replies; only message in thread
From: Eric Cifreo @ 1999-03-27 18:23 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-27 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-27 18:23 2.2.4 compile errors Eric Cifreo

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