lkml.org 
[lkml]   [1996]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: include/linux/skbuff.h:437: dereferencing pointer to incomplete typ
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.356 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site