Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: compiling -current fails in fstat/tmpfs.o
On Mon Jul 28 2008 at 19:44:30 +0200, Kurt Schreiner wrote:
> Hi,
>
> just came across this on amd64 (source cvs update'd Jul 28 19:24 MEST).
Hmm, apparently commenting out usr.bin of the list of directories to
build when doing a test build to speed things up is not a good idea ;)
cvs up, fixed
thanks,
antti
> Kurt
>
> dependall ===> usr.bin/fstat
> compile fstat/tmpfs.o
> In file included from /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:41,
> from /u/NetBSD/src/usr.bin/fstat/tmpfs.c:40:
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs_pool.h:46: error: field 'tp_pool' has
> incomplete type
> cc1: warnings being treated as errors
> In file included from /u/NetBSD/src/usr.bin/fstat/tmpfs.c:40:
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h: In function 'tmpfs_dircookie':
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:137: warning: implicit declaration of
> function 'KASSERT'
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h: At top level:
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:345: warning: 'struct componentname'
> declared inside parameter list
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:345: warning: its scope is only this
> definition or declaration, which is probably not what you want
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:349: warning: 'struct componentname'
> declared inside parameter list
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h: In function 'TMPFS_PAGES_MAX':
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:428: error: 'PAGE_SIZE' undeclared (first
> use in this function)
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:428: error: (Each undeclared identifier is
> reported only once
> /u/NetBSD/src/sys/fs/tmpfs/tmpfs.h:428: error: for each function it appears
> in.)
>
> *** Failed target: tmpfs.o
> *** Failed command: /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2
> -pipe -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
> -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow
> -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Werror
> -I/u/NetBSD/src/sys -DINET6 -nostdinc -isystem
> /u/NetBSD/arch/amd64/dest/usr/include -D_FORTIFY_SOURCE=2 -c
> /u/NetBSD/src/usr.bin/fstat/tmpfs.c
> *** Error code 1
>
> Stop.
> nbmake: stopped in /u/NetBSD/src/usr.bin/fstat
>
> *** Failed target: dependall
>
Home |
Main Index |
Thread Index |
Old Index