Messages in this thread | | | Date | Tue, 23 Feb 1999 18:53:34 -0500 (EST) | From | Tuan Hoang <> | Subject | 2.2.2 can't compile slhc.c |
| |
Hi,
I'm having trouble compiling the slhc.c file. It gives the following error. Anyone know what's wrong? I didn't seem to have any problems with 2.2.1 but for testing my programs, I test it with each 2.2.x kernel.
Thanks, Tuan -- gcc -D__KERNEL__ -I/usr/src/linux-2.2.2/include -Wall -Wstrict-prototypes -O2 -f omit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jump s=2 -malign-functions=2 -DCPU=586 -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_f ilter' from incompatible pointer type /usr/src/linux-2.2.2/include/net/sock.h:796: too few arguments to function `sk_r un_filter' /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 fu nction `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[3]: *** [slhc.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.2.2/drivers/net' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.2.2/drivers/net' make[1]: *** [_subdir_net] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.2/drivers' make: *** [_dir_drivers] Error 2
- 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/
| |