Re: Error compiling kernel 2.2.2

=?ISO-8859-1?Q?Jerry_Lundstr=F6m?= (jerry@linewise.se)
Wed, 24 Feb 1999 07:53:27 GMT


On Tue, 23 Feb 1999 16:49:33 -0300 (EST), root <root@alfa.col.psi.br> wrote:

>
>I dont know why, but what happen with c code in tarball 2.2.2 ??
>(compiling 2.2.1 kernel all works fine with same configuration)
>Is that:
>-------------------...---.-.-.-.-.-
>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
>-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o loopback.o
>loopback.c
>/usr/src/linux/include/net/sock.h: In function `sk_filter':
>In file included from loopback.c:51:
>/usr/src/linux/include/net/sock.h:796: dereferencing pointer to incomplete
>type
>/usr/src/linux/include/net/sock.h:796: dereferencing pointer to incomplete
>type
>/usr/src/linux/include/net/sock.h:796: warning: passing arg 1 of
>`sk_run_filter' from incompatible pointer type
>/usr/src/linux/include/net/sock.h:796: too few arguments to function
>`sk_run_filter'
>/usr/src/linux/include/net/sock.h: In function `sk_filter_release':
>/usr/src/linux/include/net/sock.h:807: warning: implicit declaration of
>function `sk_filter_len'
>/usr/src/linux/include/net/sock.h:811: dereferencing pointer to incomplete
>type
>/usr/src/linux/include/net/sock.h: In function `sk_filter_charge':
>/usr/src/linux/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
>-------.-.-
>

Same Error here...

-- Jerry Lundström --
_______________________________________________________
Programmerare, Linewise (http://www.linewise.se)
Telefon: 08 - 56 24 00 00, 08 - 56 21 70 00
Mobil: 0709 - 66 05 26
e-Mail: jerry@linewise.se, prox@skynet.campus.luth.se
ICQ: 18682823 (Slow response)

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