Subject: Re: netbsd-4 build failure - veriexec_unmountchk()
To: NetBSD current-users <current-users@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 01/20/2007 15:31:43
On Sat, Jan 20, 2007 at 10:35:18PM +1100, Paul Ripke wrote:
> >From CVS netbsd-4 branch:
>=20
> #   compile  GENERIC/kern_verifiedexec.o
> /export/netbsd/netbsd-4/tools.i386/bin/i386--netbsdelf-gcc -pipe -ffreest=
anding -fno-zero-initialized-in-bss -march=3Di486 -mtune=3Dpentiumpro -O2 -=
Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-pr=
ototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings =
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-par=
ameter -fno-strict-aliasing -Di386 -I. -I/export/netbsd/netbsd-4/src/sys/co=
ntrib/dev/ath/netbsd -I/export/netbsd/netbsd-4/src/sys/../common/include -I=
/export/netbsd/netbsd-4/src/sys/arch -I/export/netbsd/netbsd-4/src/sys -nos=
tdinc -DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/export/netbsd/netbsd=
-4/src/sys/lib/libkern/../../../common/lib/libc/quad -I/export/netbsd/netbs=
d-4/src/sys/lib/libkern/../../../common/lib/libc/string -I/export/netbsd/ne=
tbsd-4/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -I/exp=
ort/netbsd/netbsd-4/src/sys/dist/ipf -c /export/netbsd/netbsd-4/src/sys/ker=
n/kern_verifiedexec.c
> cc1: warnings being treated as errors
> /export/netbsd/netbsd-4/src/sys/kern/kern_verifiedexec.c: In function 've=
riexec_unmountchk':
> /export/netbsd/netbsd-4/src/sys/kern/kern_verifiedexec.c:1176: warning: p=
assing argument 1 of 'veriexec_table_delete' from incompatible pointer type
> /export/netbsd/netbsd-4/src/sys/kern/kern_verifiedexec.c:1176: error: too=
 few arguments to function 'veriexec_table_delete'

I just commited a patch from elad to the branch to fix this.

--=20
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--