Subject: ipnat compile problems
To: None <current-users@NetBSD.ORG>
From: Sean Brandt <sordin@earthlink.net>
List: current-users
Date: 05/26/1997 11:31:52
After a sup this morning, ipftest fails to compile
-----
root@magic:$# pwd /usr/src/usr.sbin/ipf
/usr/src/usr.sbin/ipf
root@magic:$# make /usr/src/usr.sbin/ipf
===> ipf
===> ipfstat
===> ipmon
===> ipnat
===> ipftest
cc -O -I/usr/src/usr.sbin/ipf/ipftest -I/usr/src/usr.sbin/ipf/ipftest/../ipf -I/
usr/src/usr.sbin/ipf/ipftest/../../../sys -Werror -c ip_nat.c
cc1: warnings being treated as errors
ip_nat.c:99: warning: static declaration for `nat_new' follows non-static
ip_nat.c:100: warning: static declaration for `fix_outcksum' follows non-static
ip_nat.c:101: warning: static declaration for `fix_incksum' follows non-static
ip_nat.c: In function `nat_ioctl':
ip_nat.c:177: argument `cmd' doesn't match prototype
/usr/src/usr.sbin/ipf/ipftest/../../../sys/netinet/ip_nat.h:157: prototype decla
ration
*** Error code 1
Stop.
*** Error code 1
Stop.
root@magic:$# /usr/src/usr.sbin/ipf
-----
Any hints?
--
<bold>Sean Brandt </bold>&<bold> Dorothy Herman
</bold><smaller><<mailto:sordin@earthlink.net>
http://home.earthlink.net/~sordin
</smaller>