On Mon, Feb 25, 2008 at 10:18:36AM -0500, FreeBSD Tinderbox wrote:
> ...
> >>> Kernel build for LINT started on Mon Feb 25 15:10:51 UTC 2008
> >>> stage 1: configuring the kernel
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3.1: making dependencies
> >>> stage 3.2: building everything
> [...]
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. 
> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter 
> -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm 
> -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
> -include opt_global.h -fno-common -finline-limit=8000 --param 
> inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
> -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -ffreestanding -Werror -pg -mprofiler-epilogue 
> /src/sys/fs/unionfs/union_subr.c
> cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls 
> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
> -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. 
> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter 
> -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm 
> -I/src/sys/dev/twa -I/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
> -include opt_global.h -fno-common -finline-limit=8000 --param 
> inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
> -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -ffreestanding -Werror -pg -mprofiler-epilogue 
> /src/sys/fs/unionfs/union_vfsops.c
> /src/sys/fs/unionfs/union_vfsops.c:443: error: conflicting types for 
> 'unionfs_quotactl'
> /src/sys/fs/unionfs/union_vfsops.c:58: error: previous declaration of 
> 'unionfs_quotactl' was here
> /src/sys/fs/unionfs/union_vfsops.c:443: error: conflicting types for 
> 'unionfs_quotactl'
> /src/sys/fs/unionfs/union_vfsops.c:58: error: previous declaration of 
> 'unionfs_quotactl' was here
> /src/sys/fs/unionfs/union_vfsops.c:560: warning: initialization from 
> incompatible pointer type
> /src/sys/fs/unionfs/union_vfsops.c:58: warning: 'unionfs_quotactl' used but 
> never defined
> *** Error code 1
> 
> Stop in /obj/src/sys/LINT.
> *** Error code 1
> 
> Stop in /src.
> *** Error code 1
> 
> Stop in /src.
> TB --- 2008-02-25 15:18:36 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2008-02-25 15:18:36 - ERROR: failed to build lint kernel
> TB --- 2008-02-25 15:18:36 - tinderbox aborted
> TB --- 2925.51 user 361.46 system 3719.34 real

Attached patch fixed it for me.

Peace,
david
-- 
David H. Wolfskill                              [EMAIL PROTECTED]
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
Index: union_vfsops.c
===================================================================
RCS file: /cvs/freebsd/src/sys/fs/unionfs/union_vfsops.c,v
retrieving revision 1.76.2.5
diff -u -r1.76.2.5 union_vfsops.c
--- union_vfsops.c      23 Oct 2007 03:37:09 -0000      1.76.2.5
+++ union_vfsops.c      25 Feb 2008 15:42:43 -0000
@@ -438,7 +438,7 @@
 }
 
 static int
-unionfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg,
+unionfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg,
     struct thread *td)
 {
        struct unionfs_mount *ump;

Attachment: pgpgct1g9jzy0.pgp
Description: PGP signature

Reply via email to