2.2.2 won't compile modules

Mike A. Harris (mharris@ican.net)
Wed, 24 Feb 1999 19:35:25 -0500 (EST)


gcc -D__KERNEL__ -I/usr/src/linux-2.2.2/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.2.2/include/linux/modversions.h
-DEXPORT_SYMTAB -c slhc.c
/usr/src/linux-2.2.2/include/net/sock.h: In function `sk_filter':
In file included from /usr/src/linux-2.2.2/include/net/ip.h:39,
from slhc.c:71:
/usr/src/linux-2.2.2/include/net/sock.h:796: dereferencing
pointer to incomplete type
/usr/src/linux-2.2.2/include/net/sock.h:796: dereferencing
pointer to incomplete type
/usr/src/linux-2.2.2/include/net/sock.h:796: warning: passing arg
1 of `sk_run_filter_R48fd727f' from incompatible pointer type
/usr/src/linux-2.2.2/include/net/sock.h:796: too few arguments to
function `sk_run_filter_R48fd727f'
/usr/src/linux-2.2.2/include/net/sock.h: In function
`sk_filter_release':
/usr/src/linux-2.2.2/include/net/sock.h:807: warning: implicit
declaration of function `sk_filter_len'
/usr/src/linux-2.2.2/include/net/sock.h:811: dereferencing
pointer to incomplete type
/usr/src/linux-2.2.2/include/net/sock.h: In function
`sk_filter_charge':
/usr/src/linux-2.2.2/include/net/sock.h:817: dereferencing
pointer to incomplete type
make[2]: *** [slhc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.2/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.2/drivers'
make: *** [_mod_drivers] Error 2

Using gcc-2.7.2.3 and doing so under 2.0.36.

--
Mike A. Harris                   Linux advocate      GNU advocate
Computer Consultant                          Open Source advocate  

News for nerds, stuff that matters: http://slashdot.org

- 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/