Is crunchgen broken?
Thomas
freebsdlists at bsdunix.ch
Thu Jun 3 23:42:31 UTC 2010
Hello
I tryed to use crunchgen. It's not working for me. I always get a
NFS4ACL error.
root at bert:/usr/src/release/i386# crunchgen boot_crunch.conf
Run "make -f boot_crunch.mk" to build crunched binary.
(cd /usr/src/sbin/tunefs && make -DRELEASE_CRUNCH -Dlint depend &&
make -DRELEASE_CRUNCH -Dlint tunefs.o)
cc -mtune=native -O2 -fno-strict-aliasing -pipe -march=native -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/tunefs/tunefs.c
/usr/src/sbin/tunefs/tunefs.c: In function 'main':
/usr/src/sbin/tunefs/tunefs.c:274: error: 'FS_NFS4ACLS' undeclared
(first use in this function)
/usr/src/sbin/tunefs/tunefs.c:274: error: (Each undeclared identifier is
reported only once
/usr/src/sbin/tunefs/tunefs.c:274: error: for each function it appears in.)
/usr/src/sbin/tunefs/tunefs.c: In function 'printfs':
/usr/src/sbin/tunefs/tunefs.c:475: error: 'FS_NFS4ACLS' undeclared
(first use in this function)
*** Error code 1
Stop in /usr/src/sbin/tunefs.
*** Error code 1
root at bert:/usr/src/usr.sbin/crunch/examples# crunchgen kcopy.conf
Run "make -f kcopy.mk" to build crunched binary.
root at bert:/usr/src/usr.sbin/crunch/examples# make -f kcopy.mk
(cd /usr/src/sbin/mount && make depend && make mount.o mount_fs.o
getmntopts.o vfslist.o)
cc -mtune=native -O2 -fno-strict-aliasing -pipe -march=native -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c
/usr/src/sbin/mount/mount.c
/usr/src/sbin/mount/mount.c:114: error: 'MNT_NFS4ACLS' undeclared here
(not in a function)
/usr/src/sbin/mount/mount.c: In function 'flags2opts':
/usr/src/sbin/mount/mount.c:922: error: invalid operands to binary &
*** Error code 1
I also tried the example as described in man (1) crunchgen:
root at bert:/usr/src/usr.sbin/crunch/examples# crunchgen -m Makefile
kcopy.conf
Run "make -f Makefile" to build crunched binary.
root at bert:/usr/src/usr.sbin/crunch/examples# make objs
(cd /usr/src/sbin/mount && make depend && make mount.o mount_fs.o
getmntopts.o vfslist.o)
cc -mtune=native -O2 -fno-strict-aliasing -pipe -march=native -std=gnu99
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c
/usr/src/sbin/mount/mount.c
/usr/src/sbin/mount/mount.c:114: error: 'MNT_NFS4ACLS' undeclared here
(not in a function)
/usr/src/sbin/mount/mount.c: In function 'flags2opts':
/usr/src/sbin/mount/mount.c:922: error: invalid operands to binary &
How can i fix this?
my system:
FreeBSD 8.0-STABLE #11: Sun Apr 18 15:55:23 CEST 2010
root at bert/usr/obj/usr/src/sys/GENERIC i386
Regards,
Thomas
More information about the freebsd-stable
mailing list