Date: Wed, 27 Apr 2005 08:12:04 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Brian Candler <B.Candler@pobox.com> Cc: freebsd-current@freebsd.org Subject: Re: ISDN kernel build fials Message-ID: <20050427151204.GB32309@odin.ac.hmc.edu> In-Reply-To: <20050427090157.GA85275@uk.tiscali.com> References: <20050427090157.GA85275@uk.tiscali.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Apr 27, 2005 at 10:01:57AM +0100, Brian Candler wrote: > FYI, building -CURRENT as of yesterday, with NO_IPFILTER=yes in make.conf > > make buildworld was successful. make buildkernel KERNCONF=FOO gave: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -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/export/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/contrib/ngatm -I/export/src/5.3-RELEASE/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -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: `NI4BTRC' undeclared here (not in a function) > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: error: storage size of `trace_queue' isn't known > /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:61: error: storage 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 > > Stop in /usr/obj/export/src/5.3-RELEASE/usr/src/sys/FOO. > *** Error code 1 > > Stop in /export/src/5.3-RELEASE/usr/src. > *** Error code 1 > > Stop in /export/src/5.3-RELEASE/usr/src. > > 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 counts > for some of the devices, e.g. > > device "i4btrc" 4 > > which I had to change to > > device "i4btrc" > > to get config to work with -CURRENT. You want to copy the examples from NOTES that looks like: device i4btrc options NI4BTRC=4 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 -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCb6vEXY6L6fI4GtQRAsOAAJ0dMQPL+YmHBJO+SZJ4BnT6xJbOOwCfRiYn SyAcpFEpy0D09y40JnZS1ZM= =wpa2 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427151204.GB32309>
