Error compiling 2.2.2

Scott R. Every (scott@emji.net)
Tue, 23 Feb 1999 11:56:41 -0500


Got this error after applying the 2.2.2 patch:

s=2 -malign-functions=2 -DCPU=586 -c -o loopback.o loopback.c
/usr/src/linux-2.2.2/include/net/sock.h: In function `sk_filter':
In file included from loopback.c:51:
/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]: *** [loopback.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

This same setup worked fine in 2.2.1

Please advise if you need any more data from my system.

Thanks in advance for any help.

s

--
Scott R. Every        "Everything is controlled by a small evil group to 
 EMJ Internet          which, unfortunately, no one we know belongs."
 voice : 1-800-548-2319  fax : 1-919-363-4423  mailto:scott@emji.net
 WWW - http://www.emji.net   

Do you believe in Macintosh? Learn how to help the cause by subscribing to the "EvangeList" listserver! Send email to: <evangelist@macway.com> or go to: <http://www.lists.apple.com/>

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