Date: Fri, 25 Oct 2002 11:16:47 +0100 From: "Bri" <brian@ukip.com> To: "Maxime Henrion" <mux@FreeBSD.ORG>, <freebsd-sparc@FreeBSD.ORG> Subject: RE: Compile from recent sources Message-ID: <NEBBKKNOEKKNLLNMEOHFIEOLKLAA.brian@ukip.com> In-Reply-To: <20021024115309.GL26605@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
My Kernel now compiles after the diff patch ipfw2 thanks Bri, -----Original Message----- From: owner-freebsd-sparc@FreeBSD.ORG [mailto:owner-freebsd-sparc@FreeBSD.ORG]On Behalf Of Maxime Henrion Sent: 24 October 2002 12:53 To: Bri Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Compile from recent sources Bri wrote: > thanks now ip_divert.c compiles great no errors but a few secounds after > that i get > > /arch/sparc64/hosted/bin/gcc -c -O -pipe -Wall -Wredundant-decls -Wnested-e > xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -W > cast-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../ > contrib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include > opt_global.h -mcmodel=medlow -msoft-float -fno-common -ffreestanding -Werro > r ../../../netinet/ip_fw2.c > cc1: warnings being treated as errors > ../../../netinet/ip_fw2.c: In function `ipfw_ctl': > ../../../netinet/ip_fw2.c:2507: warning: cast from pointer to integer of > different size > ../../../netinet/ip_fw2.c:2520: warning: cast from pointer to integer of > different size > *** Error code 1 Yes, this is a known problem. ipfw2 will panic your sparc if you attempt to use it. Search in the current@ mailing list archive, I posted a patch to fix this (the subject is something like "patch to fix ipfw2 on sparc64"). It should fix the warnings and the panics you would have if you attempted to use ipfw2 as is (you can't compile it in the kernel because of the -Werror flag, but you could load it as a module). Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBKKNOEKKNLLNMEOHFIEOLKLAA.brian>