compile error in 2.4.0

Alan Chandler (alan@chandlerfamily.org.uk)
Sun, 28 Jan 2001 16:49:45 +0000


I'm probably doing something silly, but I have just tried to rebuild
the 2.4.0 kernel. I changed a few config things and did

make dep clean bzlilo modules modules_install

and the following appeared. I did a brief look around for the
declaration of skb_datarefp but couldn't find it.

make[3]: Entering directory `/usr/src/linux/net/core'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -
fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -c
-o sock.o sock.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -
fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4 -c
-o skbuff.o skbuff.c
skbuff.c: In function `alloc_skb':
skbuff.c:208: warning: implicit declaration of function `skb_datarefp'
skbuff.c:208: invalid type argument of `->'
skbuff.c: In function `kfree_skbmem':
skbuff.c:257: warning: passing arg 1 of `atomic_dec_and_test' makes
pointer from integer witho
ut a cast
skbuff.c: In function `skb_clone':
skbuff.c:321: warning: passing arg 1 of `atomic_inc' makes pointer
from integer without a cast
make[3]: *** [skbuff.o] Error 1
make[3]: Leaving directory `/usr/src/linux/net/core'
Alan

alan@chandlerfamily.org.uk
http://www.chandler.u-net.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/