Subject: Re: 2.99.14 kernel ipf broken?
To: None <current-users@netbsd.org>
From: Stephan Maka <stephan@spaceboyz.net>
List: current-users
Date: 01/29/2005 19:35:11
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

grifo wrote:
> on my 2.99.12 the 2.99.14 kernel does not compile:
>=20
> cc -ffreestanding -march=3Dpentium4 -O2 -Werror -Wall -Wno-main -Wno-form=
at-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wn=
o-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I../../../../arch -=
I../../../.. -nostdinc -DACPICA_PEDANTIC -DMAXUSERS=3D8 -D_KERNEL -D_KERNEL=
_OPT -I../../../../dist/ipf -c ../../../../dist/ipf/netinet/ip_nat.c
> ../../../../dist/ipf/netinet/ip_nat.c: In function `fr_nat_ioctl':
> ../../../../dist/ipf/netinet/ip_nat.c:656: error: structure has no member=
 named `in_v'

I remember having the same problem and removed all occurences of in_v.
I assume this field represents "IP Version" and I don't believe that ipf
implements IPv6 NAT. ;-)

Because I don't use ipf and ip_nat, I can't report any errors with this
hack.


--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB+9dfuKMfCHUX8x0RAkn7AJ92FbO5VSuvxBG9uYBhE+bMSz91hACfbA0V
7dGsF+ZfodmF6RdOYVEERos=
=xoSB
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--