You know, I've been building -currents off and on since 3.0-current, and
never realized that.  I guess since I usualy start a build and either
background it, or walk away...  I'll play with the MODULES_OVERRIDE
option, and thanks for the pointer.

I gave it another run with out the -j4 option, and it did seem to clarify
what was failing.

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I/usr/src/sys
-I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include  -D_KERNEL
-ffreestanding -include opt_global.h -fno-common -elf
-mpreferred-stack-boundary=2 -Werror  /usr/src/sys/dev/isp/isp.c
cc1: warnings being treated as errors
/usr/src/sys/dev/isp/isp.c: In function `isp_reset':
/usr/src/sys/dev/isp/isp.c:633: warning: cast discards qualifiers from
pointer target type
*** Error code 1

Stop in /usr2/obj/usr/src/sys/MIDEARTH.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
root on adam12:/usr/src %

Stephen L. Palmer

On Tue, 26 Feb 2002, Chris Faulhaber wrote:

> On Tue, Feb 26, 2002 at 03:28:19PM -0600, Stephen L. Palmer wrote:
> > Kernel build on a fresh (26 Feb 2002 - ~15:00 CDT) -current is failing
> > with an "*** Error code 2" in the xe module.  This module is commented out of my
> > config.  Why would 'make -j4 buildkernel KERNCONF=MIDEARTH' try to build a
> > driver for a pccard I've commented out of the config?  I don't have any of
> > the pccard/pcmcia stuff active as this is a desktop system.
> >
> > Non-SMP if it matters.
> >
> All modules are built by default, not just those listed in the
> kernel config (which is for the kernel only).  To only build
> specific modules, use the MODULES_OVERRIDE option (see NOTES).
> And since you are using the -j flag to make, it is quite
> possible that the parallel compiles are obscuring the actual
> error and that xe is not (necessarily) the problem.
> --
> --------------------------------------------------------
> FreeBSD: The Power To Serve   -

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to