Date: Mon, 27 Feb 2023 20:57:19 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: FreeBSD User <freebsd@walstatt-de.de> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <E2AFBCE9-4467-4E75-B7E4-4C6E0B03C0AA@FreeBSD.org> In-Reply-To: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_CD18B67F-FAB9-44A8-A94A-89431A7201F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Feb 2023, at 19:19, FreeBSD User <freebsd@walstatt-de.de> wrote: >=20 > Running recent CURRENT as host (FreeBSD 14.0-CURRENT #23 = main-n261147-b8bb73ab724b: Sun Feb 26 > 17:39:38 CET 2023 amd64), and nanoBSD (recent 13-STABLE, git = stable/13). >=20 > Building an appliance based on 13-STABLE sources, a customized kernel = via nanoBSD, since a > couple of weeks for now building the sources fails in kernel sources: >=20 > [...] > --- modules-all --- > --- all_subdir_an --- > = /pool/home/ohartmann/Projects/router/router/apu2c4/src/sys/dev/an/if_an_pc= i.c:143:1: error: a > function definition without a prototype is deprecated in all versions = of C and is not > supported in C2x [-Werror,-Wdeprecated-non-prototype] > [..] >=20 > Disabling all wireless options in the kernel config starts dropping = errors of a similar kind > on other kernel places. >=20 > Compiling on FBSD 13-STABLE seems to be all right. >=20 > Can this be fixed. please? What causes the error and how can this be = resolved if the subtree > of FreeBSD's sources is a submodule? Not sure what you mean with "subtree is a submodule", but this is likely caused by skipping the cross-tools stage somehow. Do you have any specific make.conf or src.conf settings for that? -Dimitry --Apple-Mail=_CD18B67F-FAB9-44A8-A94A-89431A7201F5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCY/0LHwAKCRCwXqMKLiCW ox3hAJ9/Hiw6sBSDDylQ5VgGXNzxPDrsywCg705oOCzLzqhoX/wOyGgWQA4/AJI= =qFMd -----END PGP SIGNATURE----- --Apple-Mail=_CD18B67F-FAB9-44A8-A94A-89431A7201F5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E2AFBCE9-4467-4E75-B7E4-4C6E0B03C0AA>