Hello I tryed to use crunchgen. It's not working for me. I always get a NFS4ACL error. root@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@bert:/usr/src/usr.sbin/crunch/examples# crunchgen kcopy.conf Run "make -f kcopy.mk" to build crunched binary. root@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@bert:/usr/src/usr.sbin/crunch/examples# crunchgen -m Makefile kcopy.conf Run "make -f Makefile" to build crunched binary. root@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@bert/usr/obj/usr/src/sys/GENERIC i386 Regards, Thomas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010/06/03 16:24, Thomas wrote:> Hello > > I tryed to use crunchgen. It's not working for me. I always get a > NFS4ACL error. > > root@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 1Just a guess - did you have done a full build and 'make installworld'? Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBCAAGBQJMCEAGAAoJEATO+BI/yjfB7zUIANjCi6H25g9LOPBF0Fmj6EfU WbcfdCohtnpnN7RLc8XozksKudakCyvL0Abefw0WMJlicdTHDm0sfl50BRGXjAVl UV68fsFtZT+VLDZTZMuS6RNNmxuM8kPrNvO5AlDIaeDh7I8Kk8Q/vdpCXuDyxDqp SjykzXHqsAvdKE8IiNWBbv2DDB65ozQV+ZLyJo9XlppQ/Rgbw9xZ9UkeH2TgsVS5 pHUBFiVpU7o0jEsQBHSgb5R2Oqt/HwWefFdUKktYh3PdZviXGggHPjJYDOVe/vvR 5nC78/WMxrCk0lmz5mOFdjt2OjdcNqi27wc9Ho7Ld+hdoftjtas0+e6+Y72aBj4=hALf -----END PGP SIGNATURE-----