cvs commit: src/contrib/ipfilter - Imported sources

Ruslan Ermilov ru at FreeBSD.org
Tue Apr 26 08:13:30 PDT 2005


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

: ===> sbin/ipf/libipf (all)
: cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/sbin/ipf/libipf/../../../contrib/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 -Wall -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 function `printstate':
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 2)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 3)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 4)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 5)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 6)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 7)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 8)
: /usr/src/sbin/ipf/libipf/../../../contrib/ipfilter/lib/printstate.c:71: warning: long long int format, long unsigned int arg (arg 9)
: *** Error code 1
: 
: Stop in /usr/src/sbin/ipf/libipf.
: *** Error code 1

The same holds true for ipmon:

: ===> sbin/ipf/ipmon (all)
: cc -O2 -fno-strict-aliasing -pipe  -DLOGFAC=LOG_LOCAL0 -I. -I/usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter -I/usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools -I/usr/src/sbin/ipf/ipmon/../../../sys -I/usr/src/sbin/ipf/ipmon/../../../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c: In function `print_statelog':
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warning: long long int format, long unsigned int arg (arg 3)
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warning: long long int format, long unsigned int arg (arg 4)
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warning: long long int format, long unsigned int arg (arg 5)
: /usr/src/sbin/ipf/ipmon/../../../contrib/ipfilter/tools/ipmon.c:887: warning: 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/../../../contrib/ipfilter -I/usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/tools -I/usr/src/sbin/ipf/ippool/../../../sys -I/usr/src/sbin/ipf/ippool/../../../sys/contrib/ipfilter -DSTATETOP -D__UIO_EXPOSE -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/tools/ippool.c
: /usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/tools/ippool.c: In function `poolflush':
: /usr/src/sbin/ipf/ippool/../../../contrib/ipfilter/tools/ippool.c:643: warning: unsigned int format, different type arg (arg 2)
: *** Error code 1

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


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050426/d5e2d236/attachment.bin


More information about the cvs-src mailing list