Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 02:05:26 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        "Jason C. Wells" <jcwells@u.washington.edu>
Cc:        FreeBSD-stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: Refuse sys/modules then make world dies
Message-ID:  <38109956.AC9C67CB@newsguy.com>
References:  <Pine.BSF.4.10.9910212204430.97913-100000@s8-37-26.student.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"Jason C. Wells" wrote:
> 
> It seems to me that the make world shouldn't rely on anything from
> sys/modules. Am I out to lunch?

Make world doesn't rely on anything from sys/modules, but
sys/modules is part of world, not of kernel. If you get past that,
you'll find out that sys/boot is also part of world, not kernel.

> So I have no Makefiles or sources for modules.

Which is the whole problem. :-)

> cd /usr/src/sys/modules/linux; /usr/obj/usr/src/tmp/usr/bin/make -DNOINFO
> -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -D_BUILD_TOOLS build-tools
> 
> cd: can't cd to /usr/src/sys/modules/linux
> *** Error code 2
> Stop.
> 
> But there should be no Makefile telling the build to go into
> sys/modules/linux. Obviously there is something somewhere.

But there is something that tells it to go to sys/modules and enter
each subdirectory there.

Check /usr/src/Makefile.inc1 (I'm *almost* sure, I could be thinking
of the wrong Makefile, though... in that case, just check the
others), and remove sys/modules and sys/boot from... well, either a
SUBDIRS or a target line of some kind. It shouldn't be too hard, and
making mistakes can be fun in this case. :-)

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org

	"People call him Neutron Star, 'cuz he's so dense lights bends
around him."




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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