Date: Mon, 28 Mar 2016 16:22:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208361] net-mgmt/arpwatch: error: use of undeclared identifier 'zeroflag' Message-ID: <bug-208361-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208361 Bug ID: 208361 Summary: net-mgmt/arpwatch: error: use of undeclared identifier 'zeroflag' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: pi@FreeBSD.org Reporter: ohartman@zedat.fu-berlin.de Assignee: pi@FreeBSD.org Flags: maintainer-feedback?(pi@FreeBSD.org) Update or arpwatch fails due to the error listed below on CURRENT (FreeBSD 11.0-CURRENT #5 r297337: Mon Mar 28 11:09:43 CEST 2016): [...] --- arpsnmp.o --- --- arpwatch.o --- ./arpwatch.c:144:40: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] __dead void usage(void) __attribute__((volatile)); ^ ./arpwatch.c:211:4: error: use of undeclared identifier 'zeroflag' zeroflag =3D 1; ^ cc -O2 -pipe -O3 -march=3Dnative -fstack-protector -fno-strict-aliasing -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_MEMORY_H=3D1 -DTIME_WITH_SYS_= TIME=3D1 -DHAVE_BCOPY=3D1 -DHAVE_STRERROR=3D1 -DRETSIGTYPE=3Dvoid -DRETSIGVAL=3D -DH= AVE_SIGSET=3D1 -Dsignal=3Dsig--- arpsnmp.o --- DECLWAITSTATUS=3Dint -DARPDIR=3D\"/usr/local/arpwatch\" -DPATH_SENDMAIL=3D\"/usr/sbin/sendmail\" -I. -c ./arpsnmp.c --- arpwatch.o --- ./arpwatch.c:436:40: warning: format specifies type 'int' but the argument = has type 'unsigned long' [-Wformat] syslog(LOG_ERR, "short (want %d)\n", sizeof(*eh) + sizeof(*ea)); ~~ ^~~~~~~~~~~~~~~~~~~~~~= ~~~ %lu --- version.o --- --- arpwatch.o --- ./arpwatch.c:588:40: warning: format specifies type 'int' but the argument = has type 'unsigned long' [-Wformat] cc -O2 -pipe -O3 -march=3Dnative -fstack-protector -fno-strict-aliasing -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_MEMORY_H=3D1 -DTIME_WITH_SYS_= TIME=3D1 -DHAVE_BCOPY=3D1 -DHAVE_STRERROR=3D1 -DRETSIGTYPE=3Dvoid -DRETSIGVAL=3D -DH= AVE_SIGSET=3D1 -Dsignal=3Dsig--- version.o --- DECLWAITSTATUS=3Dint -DARPDIR=3D\"/usr/local/arpwatch\" -DPATH_SENDMAIL=3D\"/usr/sbin/sendmail\" -I. -c ./version.c --- arpwatch.o --- syslog(LOG_ERR, "short (want %d)\n", sizeof(*fh) + sizeof(*ea)); ~~ ^~~~~~~~~~~~~~~~~~~~~~= ~~~ %lu 3 warnings and 1 error generated. *** [arpwatch.o] Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208361-13>