From nobody Mon Feb 27 19:57:19 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQWW50Pk4z3vXjl for ; Mon, 27 Feb 2023 19:57:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQWW47299z4FWg; Mon, 27 Feb 2023 19:57:36 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677527857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O51xEfodT+3viIOeYOWZ4TEuiqoFmfUKiy8O/+CchGY=; b=tQ+EqI2ZCVo0aUCbZiNtjBgGb/tEBL69PhzuOhelPXM/KyOilrn1cQtGzf8r9lqx6EqtwB OA0vSPQ1vkXK40RFfTAIeeloOI+VbTjgFYATXRR1HsvPivbVz24DTZitaefYQLGINK5o0P F/OyIXZhxaOnH2VOVk0VeiaJc0WPy4aDUZ8dDsK1ZxVGlCbOGq9iShEI6tSReav828tZHn yv8sJWFnphOVIJuTUZdHMcT6I0yX92ZVLsUV1Pwz2dt8ncm3p0fVio5DBsnri+i1XaSgQY H7S8TudYH17rpUWJf3w1rxqwzWZATn30FvSkotkoeUl8bLj0iaWX9fjIKhOzYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677527857; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O51xEfodT+3viIOeYOWZ4TEuiqoFmfUKiy8O/+CchGY=; b=mOtDhy3RqJkF1nWFm5HhbHS/3k10wb1eqtlp52TUKIkRnyD8RUnsp5FIu1Fiqx2UIZiMH/ sw7MvBgSE3nBDmtrGuAXL49avIwQcpYDN1IfOyP2GFnLJaD7Czk8UfG8W5BB9iD/utEcCe IKw44Whm0lHfjX8ViFFCVhOr72QAVWkH4tW+N2CJlmlYrnP4BQ03/YrkWVoxRHJk4KK/MQ 1M1T8MeJWSHJI80ISfNsPGQn6jIyiRRKS/p4ps2rIasIMUACv9+HMcPfKxNrKb4F4omGDg Rye/p5ylYd9L2YtqPN0lN3URUNDU4RQ1p66vXuBLXMaf8dJdQn2xdLJ8ZK+jTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677527857; a=rsa-sha256; cv=none; b=F5wTGuxyjWj9ZLQt2N/lFGVVZ1C7bBvvu1TrW1Wa9LSAhlEgBA4moKTVkAmStmqHudYzzg mcN/TMJnH42OEapRACATsfSKlP1vcFO95Tl6W0H7Ti8p90aNcTqzvrQ0WMaEUHRsyfFtEy xLPODG4fYWMWKM/C75BfbEwvUuQVmYqK86mIW7njiWN04VTissOzbf2viqVa6VgEBdqGjE J87GMKwMT0D347WMda8TTxk380Z7BpVenAqEmo5cjiZM3akPzta5TSNoKx1IXfy/CYmKc/ tK+uQfasRN7JVCsxKnXTA9MwwOKI2kknXn7Nc08P85iL+uKn01RBzxKpxtkicQ== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PQWW45Kt4z1CJp; Mon, 27 Feb 2023 19:57:36 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 7AF0652AC1; Mon, 27 Feb 2023 20:57:35 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_CD18B67F-FAB9-44A8-A94A-89431A7201F5"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C From: Dimitry Andric In-Reply-To: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> Date: Mon, 27 Feb 2023 20:57:19 +0100 Cc: FreeBSD CURRENT Message-Id: References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> To: FreeBSD User X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N --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 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--