While trying to build buildworld with WITH_NAND= YES in /etc/src.conf I receive this error below. [...] ld -dc -r -o stty.lo stty_stub.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/cchar.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/gfmt.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/key.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/modes.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/print.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/stty.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/util.o crunchide -k _crunched_stty_stub stty.lo ld -dc -r -o sync.lo sync_stub.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/sync/sync.o crunchide -k _crunched_sync_stub sync.lo ld -dc -r -o test.lo test_stub.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/test/test.o crunchide -k _crunched_test_stub test.lo ld -dc -r -o rcp.lo rcp_stub.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/rcp/rcp.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/rcp/util.o crunchide -k _crunched_rcp_stub rcp.lo /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:83:18: error: no previous extern declaration for non-static variable 'user_files' [-Werror,-Wmissing-variable-declarations] struct file_info user_files[] = ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:88:18: error: no previous extern declaration for non-static variable 'ifile' [-Werror,-Wmissing-variable-declarations] struct file_info ifile = {NANDFS_IFILE_INO, NULL, 0, 0, -1, NULL, NULL}; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:89:18: error: no previous extern declaration for non-static variable 'sufile' [-Werror,-Wmissing-variable-declarations] struct file_info sufile = {NANDFS_SUFILE_INO, NULL, 0, 0, -1, NULL, NULL}; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:90:18: error: no previous extern declaration for non-static variable 'cpfile' [-Werror,-Wmissing-variable-declarations] struct file_info cpfile = {NANDFS_CPFILE_INO, NULL, 0, 0, -1, NULL, NULL}; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:91:18: error: no previous extern declaration for non-static variable 'datfile' [-Werror,-Wmissing-variable-declarations] struct file_info datfile = {NANDFS_DAT_INO, NULL, 0, 0, -1, NULL, NULL}; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:123:9: error: no previous extern declaration for non-static variable 'volumelabel' [-Werror,-Wmissing-variable-declarations] u_char *volumelabel = NULL; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:109:22: error: no previous extern declaration for non-static variable 'fsdata' [-Werror,-Wmissing-variable-declarations] struct nandfs_fsdata fsdata; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:110:27: error: no previous extern declaration for non-static variable 'super_block' [-Werror,-Wmissing-variable-declarations] struct nandfs_super_block super_block; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:125:27: error: no previous extern declaration for non-static variable 'sr' [-Werror,-Wmissing-variable-declarations] struct nandfs_super_root *sr; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:127:10: error: no previous extern declaration for non-static variable 'nuserfiles' [-Werror,-Wmissing-variable-declarations] uint32_t nuserfiles; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:128:10: error: no previous extern declaration for non-static variable 'seg_segsum_size' [-Werror,-Wmissing-variable-declarations] uint32_t seg_segsum_size; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:129:10: error: no previous extern declaration for non-static variable 'seg_nblocks' [-Werror,-Wmissing-variable-declarations] uint32_t seg_nblocks; ^ /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:130:10: error: no previous extern declaration for non-static variable 'seg_endblock' [-Werror,-Wmissing-variable-declarations] uint32_t seg_endblock; ^ 13 errors generated. *** [newfs_nandfs.o] Error code 1 1 error *** [all] Error code 2 1 error *** [sbin.all__D] Error code 2
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC