Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 11:51:41 +0100
From:      "Bri" <brian@ukip.com>
To:        "Maxime Henrion" <mux@FreeBSD.ORG>, <freebsd-sparc@FreeBSD.ORG>
Subject:   RE: Compile from recent sources
Message-ID:  <NEBBKKNOEKKNLLNMEOHFAEIJKLAA.brian@ukip.com>
In-Reply-To: <20021024100052.GK26605@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

Stop in /GXP120/ncvs/sys/sparc64/compile/ROUTERSPARC6420021003.

a very similar senario

I'm compiling the kernel with these options

> options         IPDIVERT
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_FORWARD

Bri,

-----Original Message-----
From: owner-freebsd-sparc@FreeBSD.ORG
[mailto:owner-freebsd-sparc@FreeBSD.ORG]On Behalf Of Maxime Henrion
Sent: 24 October 2002 11:01
To: Bri
Cc: freebsd-sparc@FreeBSD.ORG
Subject: Re: Compile from recent sources


Bri wrote:
> with options IPDIVERT in the kernel I get
>
> %make -DNO_WERROR
>
/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_divert.c
> cc1: warnings being treated as errors
> ../../../netinet/ip_divert.c: In function `div_output':
> ../../../netinet/ip_divert.c:280: warning: cast to pointer from integer of
> different size
> *** Error code 1

Can you cvsup and try again ?  This should be fixed now.

Thanks for the report,
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?NEBBKKNOEKKNLLNMEOHFAEIJKLAA.brian>