Re: include/linux/skbuff.h:437: dereferencing pointer to incomplete typ

Dirk Weigenand (weigo@wilma.rz.uni-leipzig.de)
Sun, 28 Apr 1996 14:42:13 +0200 (MET DST)


Hi,
>
> Patched up the kernel to 1.3.96 and recompiled. The compile failed
> with net/core/firewall.c:
>
> > make[1]: Leaving directory `/usr/src/linux-1.3.96/fs'
> > make[1]: Entering directory `/usr/src/linux-1.3.96/net'
> > set -e; for i in core ethernet unix 802 ipv4; do make -C $i; done
> > make[2]: Entering directory `/usr/src/linux-1.3.96/net/core'
> > make all_targets
> > make[3]: Entering directory `/usr/src/linux-1.3.96/net/core'
> > gcc -D__KERNEL__ -I/usr/src/linux-1.3.96/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o firewall.o firewall.c
> > In file included from firewall.c:10:
> > /usr/src/linux-1.3.96/include/linux/skbuff.h:39: parse error before `__u32'

the compile fails due to the missing

#include <asm/types.h>

where __u32 is defined.

Adding the above #include fixed the problem for me.

regards,
Dirk

-- 
RISC: Relegate Important Stuff to Compiler