Date: Sun, 21 Apr 2013 22:08:42 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: CURRENT: /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:89:18: error: no previous extern declaration for non-static variable Message-ID: <1366574922.38339.59.camel@thor.walstatt.dyndns.org>
next in thread | raw e-mail | index | archive | help
--=-cw7U+cm9tbCOOeaXeSxX Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable While trying to build buildworld with=20 WITH_NAND=3D 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/o= bj/usr/src/rescue/rescue//usr/src/bin/stty/gfmt.o /usr/obj/usr/src/rescue/r= escue//usr/src/bin/stty/key.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/s= tty/modes.o /usr/obj/usr/src/rescue/rescue//usr/src/bin/stty/print.o /usr/o= bj/usr/src/rescue/rescue//usr/src/bin/stty/stty.o /usr/obj/usr/src/rescue/r= escue//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/u= sr/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[] =3D ^ /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 =3D {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 =3D {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 =3D {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 =3D {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 =3D 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 --=-cw7U+cm9tbCOOeaXeSxX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAABAgAGBQJRdEdKAAoJEOgBcD7A/5N8tZQH/jzodR/PdkbrrfAUcChJiN39 y3PB3WWvGufYJ4MkHlD9e3TGwrNYss939BKQb8afH4O2H4oTW5GSDgzKI8hR7Etr KnKvM+7/+jjsdpz9Vbo6X9k3Rfl1hFV900e52PUavc+/YmJ/sOtNU/13fNU+vZGt hHl2GSsrDoZgMtmxTXw3ppY9OsDLBQ9/WMdwm82pXAjoyaawH6Rw65PBXtR24cPQ haZJNu0eyVzIc5WLlp1vs1scMmYoWYC0SQ/DpyYHFSdSI6qBVyDjwF7ovD/KsYHJ mZ3sk/RdoYNozn5J0N1yM3J+od+kZy4ZIMhMz7TRtmtXWzDiDsybiRCBFMuZqrE= =YmA0 -----END PGP SIGNATURE----- --=-cw7U+cm9tbCOOeaXeSxX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1366574922.38339.59.camel>