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

William M. Perkins (bill@grnwood.grnwood.richmond.us.net)
Sat, 27 Apr 1996 19:45:17 -0400 (EDT)


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'
> /usr/src/linux-1.3.96/include/linux/skbuff.h:39: warning: no semicolon at end of struct or union
> /usr/src/linux-1.3.96/include/linux/skbuff.h:81: parse error before `__u32'
> /usr/src/linux-1.3.96/include/linux/skbuff.h:81: warning: no semicolon at end of struct or union
> /usr/src/linux-1.3.96/include/linux/skbuff.h:82: warning: data definition has no type or storage class
> /usr/src/linux-1.3.96/include/linux/skbuff.h:83: parse error before `raddr'
> /usr/src/linux-1.3.96/include/linux/skbuff.h:83: warning: data definition has no type or storage class
> /usr/src/linux-1.3.96/include/linux/skbuff.h:84: parse error before `seq'
> /usr/src/linux-1.3.96/include/linux/skbuff.h:84: warning: data definition has no type or storage class
> /usr/src/linux-1.3.96/include/linux/skbuff.h:85: parse error before `end_seq'
> /usr/src/linux-1.3.96/include/linux/skbuff.h:85: warning: data definition has no type or storage class
> /usr/src/linux-1.3.96/include/linux/skbuff.h:86: parse error before `ack_seq'
> /usr/src/linux-1.3.96/include/linux/skbuff.h:86: warning: data definition has no type or storage class
> /usr/src/linux-1.3.96/include/linux/skbuff.h:113: parse error before `}'
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_queue_empty':
> In file included from firewall.c:10:
> /usr/src/linux-1.3.96/include/linux/skbuff.h:169: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_peek':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:180: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_queue_len':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:192: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_queue_head_init':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:205: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:206: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:207: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `__skb_queue_head':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:221: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:222: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:224: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:225: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:226: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:227: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:228: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `__skb_queue_tail':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:249: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:250: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:252: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:253: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:254: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:255: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:256: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `__skb_dequeue':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:278: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:282: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:283: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:284: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:285: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:286: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:287: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:288: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `__skb_insert':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:313: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:314: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:315: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:316: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:317: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:318: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_insert':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:330: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:330: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_append':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:344: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:344: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `__skb_unlink':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:356: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:357: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:358: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:359: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:360: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:361: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:362: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:363: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_unlink':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:379: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:380: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_put':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:390: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:391: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:392: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:393: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:393: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_push':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:400: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:401: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:402: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:402: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:404: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_pull':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:409: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:411: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:412: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:413: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_headroom':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:418: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:418: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_tailroom':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:423: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:423: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_reserve':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:428: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:429: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h: In function `skb_trim':
> /usr/src/linux-1.3.96/include/linux/skbuff.h:434: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:436: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:437: dereferencing pointer to incomplete type
> /usr/src/linux-1.3.96/include/linux/skbuff.h:437: dereferencing pointer to incomplete type
> make[3]: *** [firewall.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-1.3.96/net/core'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-1.3.96/net/core'
> make[1]: *** [sub_dirs] Error 2
> make[1]: Leaving directory `/usr/src/linux-1.3.96/net'
> make: *** [linuxsubdirs] Error 2
> Command had non-zero exit status 2
> 1304.07user 82.70system 23:53.02elapsed 96%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+0minor)pagefaults 0swaps
> [root@grnwood:ttyp5] /usr/src/linux-1.3.96

Bill

-- 
William M. Perkins                       Internet - wperkins@us.net
The Greenwood                               or    - bill@cais.com
Commodore is dead.  Long lives the Amiga!  (AmigaOS/Linux/NetBSD)