kernel v2.2.2 compiling problems

Luke (lukasz@wwa.com)
Mon, 01 Mar 1999 22:10:53 -0600


This is what I got when compiling the kernel:

gcc -D__KERNEL__ -I/home/luke/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DEXPORT_SYMTAB -c ppp.c
gcc -D__KERNEL__ -I/home/luke/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DEXPORT_SYMTAB -c slhc.c
/home/luke/linux/include/net/sock.h: In function `sk_filter':
In file included from /home/luke/linux/include/net/ip.h:39,
from slhc.c:71:
/home/luke/linux/include/net/sock.h:796: dereferencing pointer to
incomplete type
/home/luke/linux/include/net/sock.h:796: dereferencing pointer to
incomplete type
/home/luke/linux/include/net/sock.h:796: warning: passing arg 1 of
`sk_run_filter' from incompatible pointer type
/home/luke/linux/include/net/sock.h:796: too few arguments to function
`sk_run_filter'
/home/luke/linux/include/net/sock.h: In function `sk_filter_release':
/home/luke/linux/include/net/sock.h:807: warning: implicit declaration
of function `sk_filter_len'
/home/luke/linux/include/net/sock.h:811: dereferencing pointer to
incomplete type
/home/luke/linux/include/net/sock.h: In function `sk_filter_charge':
/home/luke/linux/include/net/sock.h:817: dereferencing pointer to
incomplete type
make[3]: *** [slhc.o] Error 1
make[3]: Leaving directory `/home/luke/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/luke/linux/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/home/luke/linux/drivers'
make: *** [_dir_drivers] Error 2

This is my system info
Linux dragon 2.0.36 #3 Wed Dec 9 21:09:38 CST 1998 i486
Kernel modules 2.0.0
Gnu C 2.8.1
Binutils 2.6.0.14
Linux C Library 5.3.12
Dynamic linker ldd (GNU libc) 2.0.7
Linux C++ Library 27.1.4
Linux C++ Library 27.1.4
Procps 0.99
Mount 2.5j
Net-tools 1.2.0
Kbd 0.89
Sh-utils 1.12

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/