From owner-freebsd-current@FreeBSD.ORG Wed Apr 27 15:12:06 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BF1416A4CF for ; Wed, 27 Apr 2005 15:12:06 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63C043D2F for ; Wed, 27 Apr 2005 15:12:05 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j3RFC5em000990; Wed, 27 Apr 2005 08:12:05 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j3RFC46l000989; Wed, 27 Apr 2005 08:12:04 -0700 Date: Wed, 27 Apr 2005 08:12:04 -0700 From: Brooks Davis To: Brian Candler Message-ID: <20050427151204.GB32309@odin.ac.hmc.edu> References: <20050427090157.GA85275@uk.tiscali.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="98e8jtXdkpgskNou" Content-Disposition: inline In-Reply-To: <20050427090157.GA85275@uk.tiscali.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org Subject: Re: ISDN kernel build fials X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 27 Apr 2005 15:12:06 -0000 --98e8jtXdkpgskNou Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 27, 2005 at 10:01:57AM +0100, Brian Candler wrote: > FYI, building -CURRENT as of yesterday, with NO_IPFILTER=3Dyes in make.co= nf >=20 > make buildworld was successful. make buildkernel KERNCONF=3DFOO gave: >=20 > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ex= tensions -std=3Dc99 -g -nostdinc -I- -I. -I/export/src/5.3-RELEASE/usr/src= /sys -I/export/src/5.3-RELEASE/usr/src/sys/contrib/dev/acpica -I/export/src= /5.3-RELEASE/usr/src/sys/contrib/altq -I/export/src/5.3-RELEASE/usr/src/sys= /contrib/ipfilter -I/export/src/5.3-RELEASE/usr/src/sys/contrib/pf -I/expor= t/src/5.3-RELEASE/usr/src/sys/contrib/dev/ath -I/export/src/5.3-RELEASE/usr= /src/sys/contrib/dev/ath/freebsd -I/export/src/5.3-RELEASE/usr/src/sys/cont= rib/ngatm -I/export/src/5.3-RELEASE/usr/src/sys/dev/twa -D_KERNEL -include = opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth= =3D100 --param large-function-growth=3D1000 -mno-align-long-strings -mpref= erred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestan= ding -Werror /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: error: `NI= 4BTRC' undeclared here (not in a function) > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: error: sto= rage size of `trace_queue' isn't known > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:61: error: sto= rage size of `device_state' isn't known > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: warning: '= trace_queue' defined but not used > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:61: warning: '= device_state' defined but not used > *** Error code 1 >=20 > Stop in /usr/obj/export/src/5.3-RELEASE/usr/src/sys/FOO. > *** Error code 1 >=20 > Stop in /export/src/5.3-RELEASE/usr/src. > *** Error code 1 >=20 > Stop in /export/src/5.3-RELEASE/usr/src. >=20 > The FOO kernel config is given below, as a diff against current's GENERIC. > More or less the same config had worked on 5.3-RELEASE, except I had coun= ts > for some of the devices, e.g. >=20 > device "i4btrc" 4 >=20 > which I had to change to >=20 > device "i4btrc" >=20 > to get config to work with -CURRENT. You want to copy the examples from NOTES that looks like: device i4btrc options NI4BTRC=3D4 When counts were removed from the config file, I4B and vcoda where the only pieces of code that still used them and I4B was to hard to fix given that no one seems to care enough to actually maintain it. Thus the counts were made into options. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --98e8jtXdkpgskNou Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCb6vEXY6L6fI4GtQRAsOAAJ0dMQPL+YmHBJO+SZJ4BnT6xJbOOwCfRiYn SyAcpFEpy0D09y40JnZS1ZM= =wpa2 -----END PGP SIGNATURE----- --98e8jtXdkpgskNou--