From owner-freebsd-current@FreeBSD.ORG Sun Apr 21 20:08:50 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 52D86BE9 for ; Sun, 21 Apr 2013 20:08:50 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 14DEA112C for ; Sun, 21 Apr 2013 20:08:49 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1UU0Z1-002G7v-HH>; Sun, 21 Apr 2013 22:08:43 +0200 Received: from g229117190.adsl.alicedsl.de ([92.229.117.190] helo=[192.168.0.128]) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1UU0Z1-002tqJ-AY>; Sun, 21 Apr 2013 22:08:43 +0200 Subject: CURRENT: /usr/src/sbin/newfs_nandfs/newfs_nandfs.c:89:18: error: no previous extern declaration for non-static variable From: "O. Hartmann" To: FreeBSD Current Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-cw7U+cm9tbCOOeaXeSxX" Date: Sun, 21 Apr 2013 22:08:42 +0200 Message-ID: <1366574922.38339.59.camel@thor.walstatt.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Originating-IP: 92.229.117.190 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 20:08:50 -0000 --=-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--