Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 1996 01:03:38 +1100 (EST)
From:      michael butler <imb@scgt.oz.au>
To:        petzi@zit.th-darmstadt.de (Michael Beckmann)
Cc:        stable@freebsd.org
Subject:   Re: Still can't make kernel
Message-ID:  <199603261403.BAA26947@asstdc.scgt.oz.au>
In-Reply-To: <Pine.BSF.3.91.960326121256.4310A-100000@zit1.zit.th-darmstadt.de> from "Michael Beckmann" at Mar 26, 96 12:17:22 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Beckmann writes:

> I have suped the -stable sources from freefall again last night, and have 
> not succeeded to build a kernel. However, it's a different error this time:
 
> loading kernel
> autoconf.o: Undefined symbol `_mfs_initminiroot' referenced from text segment
> *** Error code 1
 
> What is this ?

misconfiguration on your part ?
 
> Has anyone recently successfully built a kernel from 
> -stable sources ?

Yes .. the 'config' utility used to build the system is different. Some
significant structural changes were made to stable. You *must* do the
following before attempting to replace a -release kernel with a
-stable one ..

	cd /usr/src/usr.sbin/config
	make cleandir obj depend all install
	cd /sys/i386/config
	config YOURCONFIG		(or 'GENERIC')
	cd /sys/compile/YOURCONFIG
	make depend all

Also note that the database management for kernel symbols has changed ..
when booting your shiny new kernel, things like 'top', 'ps', etc. will all
be confused. The safest course is to do a 'make world' in /usr/src to get
the updated libkvm into all the right utilities .. some of which are
statically linked,

	michael



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