Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 18:13:35 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Darren Reed <darrenr@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/contrib/ipfilter - Imported sources
Message-ID:  <20050426151335.GE94543@ip.net.ua>
In-Reply-To: <20050426150556.GD94543@ip.net.ua>
References:  <200504261459.j3QExRtc012256@repoman.freebsd.org> <20050426150556.GD94543@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

--47eKBCiAZYFK5l32
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 26, 2005 at 06:05:56PM +0300, Ruslan Ermilov wrote:
> Here's some more changes that are needed in contrib/ipfilter:
>=20
libipf requires NO_WERROR in a makefile, to be compiled on 64-bit
platforms, otherwise it breaks due to:

: =3D=3D=3D> sbin/ipf/libipf (all)
: cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/sbin/ipf/libipf/../../../co=
ntrib/ipfilter -I/usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/tools -=
I/usr/src/sbin/ipf/libipf/../../../sys -I/usr/src/sbin/ipf/libipf/../../../=
sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -Wsystem-headers -Werror -Wa=
ll -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/ipf/libipf/../../../=
contrib/ipfilter/lib/printstate.c
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c: In f=
unction `printstate':
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 2)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 3)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 4)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 5)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 6)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 7)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 8)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: w=
arning: long long int format, long unsigned int arg (arg 9)
: *** Error code 1
:=20
: Stop in /usr/src/sbin/ipf/libipf.
: *** Error code 1

The same holds true for ipmon:

: =3D=3D=3D> sbin/ipf/ipmon (all)
: cc -O2 -fno-strict-aliasing -pipe  -DLOGFAC=3DLOG_LOCAL0 -I. -I/usr/src/s=
bin/ipf/ipmon/../../../contrib/ipfilter -I/usr/src/sbin/ipf/ipmon/../../../=
contrib/ipfilter/tools -I/usr/src/sbin/ipf/ipmon/../../../sys -I/usr/src/sb=
in/ipf/ipmon/../../../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -Wsyst=
em-headers -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/ipf/ip=
mon/../../../contrib/ipfilter/tools/ipmon.c
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c: In funct=
ion `print_statelog':
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warn=
ing: long long int format, long unsigned int arg (arg 3)
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warn=
ing: long long int format, long unsigned int arg (arg 4)
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warn=
ing: long long int format, long unsigned int arg (arg 5)
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warn=
ing: long long int format, long unsigned int arg (arg 6)
[...]

and ippool:

: cc -O2 -fno-strict-aliasing -pipe  -I. -I/usr/src/sbin/ipf/ippool/../../.=
=2E/contrib/ipfilter -I/usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/t=
ools -I/usr/src/sbin/ipf/ippool/../../../sys -I/usr/src/sbin/ipf/ippool/../=
=2E./../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -Wsystem-headers -We=
rror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/ipf/ippool/.=
=2E/../../contrib/ipfilter/tools/ippool.c
: /usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/tools/ippool.c: In fun=
ction `poolflush':
: /usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/tools/ippool.c:643: wa=
rning: unsigned int format, different type arg (arg 2)
: *** Error code 1

Other than that, it compiled OK (on amd64 at least).


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--47eKBCiAZYFK5l32
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCblqfqRfpzJluFF4RApFcAJ4ik2oJ36LIKMUkROzNCyCUU+6GcACdFzWL
dRvovsB6jo9Imh6B+VhfsLg=
=fKOS
-----END PGP SIGNATURE-----

--47eKBCiAZYFK5l32--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426151335.GE94543>