Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 01:08:48 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        net@FreeBSD.ORG
Subject:   Re: luigi, kernel module build broken by ipfw
Message-ID:  <Pine.BSF.4.21.0206280103340.72967-100000@InterJet.elischer.org>
In-Reply-To: <20020628004710.A55603@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
why can you not have teh .h file have defines for both
with a #if separating them?

I'll try it soon, 

teh world build broke too in libalias, but I have not got it in front
of me at the moment.. it's scrolled off.

ok theMakefile fix works..
I'll check it in..


On Fri, 28 Jun 2002, Luigi Rizzo wrote:

> On Fri, Jun 28, 2002 at 12:23:14AM -0700, Julian Elischer wrote:
> oh, i forgot that...
> i cannot test it right now but the fix should be trivial
> in src/sys/modules/ipfw/Makefile, replace ip_fw.c with ip_fw2.c
> 
> (and if it works, could you commit it ?)
> 
> 	cheers
> 	luigi
> > 
> > with freshly checked out sources, I can not build the modules...
> > 
> > ===> ipfw
> > cc -g -O -pipe  -DIPFIREWALL  -D_KERNEL -Wall -Wredundant-decls
> > -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> > -Winline -Wcast-qual  -Wno-format -ansi -DKLD_MODULE -nostdinc -I-
> > -I. -I@ -I@/dev -I@/../include -fno-common -g -mpreferred-stack-boundary=2
> > -ffreestanding -Wall -Wredundant-decls -Wnested-externs
> > -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> > -Wcast-qual  -Wno-format -ansi -c /usr/src/sys/netinet/ip_fw.c
> > /usr/src/sys/netinet/ip_fw.c:216: warning: `union ip_fw_if' declared
> > inside parameter list
> > /usr/src/sys/netinet/ip_fw.c:216: warning: its scope is only this
> > definition or declaration, which is probably not what you want
> > /usr/src/sys/netinet/ip_fw.c: In function `tcpflg_match':
> > /usr/src/sys/netinet/ip_fw.c:273: structure has no member named `fw_ipflg'
> > /usr/src/sys/netinet/ip_fw.c:273: `IP_FW_IF_TCPEST' undeclared (first use
> > in this function)
> > /usr/src/sys/netinet/ip_fw.c:273: (Each undeclared identifier is reported
> > only once
> > /usr/src/sys/netinet/ip_fw.c:273: for each function it appears in.)
> > 
> > [...]
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-net" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0206280103340.72967-100000>