Re: [SQU] Freebsd with NEW gre.c

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 14 Aug 2000 20:14:46 -0600 (MDT)

On Sat, 12 Aug 2000, Mustafa Deeb wrote:

> hi all,
>
> I've seen that there is a reported bug in gre.c , and new one must be installed
> when I did that, my kernel didn't compile.
>
> cc -c -O -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../..
> -I/usr/include -D_KERNEL -include opt_global.h
> -elf -mpreferred-stack-boundary=2 ../../netinet/gre.c
> ../../netinet/gre.c: In function `gre_input':
> ../../netinet/gre.c:44: number of arguments doesn't match prototype
> ../../netinet/ip_var.h:174: prototype declaration
> ../../netinet/gre.c:60: too few arguments to function `rip_input'
> *** Error code 1
>
>
> any idea

Looks like you got the wrong file. There are two sets of GRE files.
One for FreeBSD-3.x and another for FreeBSD-4.x.

Looks like you have FreeBSD-4.x and are trying to use the 3.x GRE code.

Duane W.

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Aug 14 2000 - 20:17:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:52 MST