Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427151204.GB32309>