Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 1999 15:54:36 +0200
From:      Brad Knowles <blk@skynet.be>
To:        freebsd-stable@freebsd.org
Subject:   Building new kernel fails?
Message-ID:  <v04205509b402afa551dd@[195.238.1.121]>

next in thread | raw e-mail | index | archive | help
Folks,

	Okay, I'm going to try this again.


	Starting from 3.2-RELEASE, I cvsup'ed last night, and everything 
seemed to go well.  My /etc/daily.local file is:

/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
/usr/local/bin/cvsup -g -L 2 /etc/cvsupfile.intl
cd /usr/src && make buildworld

	I have since commented out these three lines, because I to make 
sure that I don't have any changes made on this system between 
periods of time when I've been able to work on it.

	The functional bits of these two supfiles are:

/etc/cvsupfile:
*default  host=cvsup.de.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_3
*default  delete use-rel-suffix

src-all
*default tag=.
ports-all
doc-all

/etc/cvsupfile.intl:
*default  host=cvsup.internat.freebsd.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_3
*default  delete use-rel-suffix

src-crypto
src-eBones
src-secure

	These taken directly from src/share/examples/cvsup/stable-supfile 
and secure-supfile from 3.2-RELEASE.


	The "make buildworld" seemed to work okay, so I tried a separate 
"make installworld" this afternoon.  That seemed to work okay, too. 
When working on building a new kernel (before rebooting), "config 
HOST" seemed to work fine, as did "make depend" in ../../compile/HOST 
(or whatever the exact path is -- that's since scrolled off my 
screen).  However, when doing a "make" for the kernel, it terminates 
with the following errors:

loading kernel
i686_mem.o: In function `i686_mrinit':
i686_mem.o(.text+0xe18): undefined reference to `M_MEMDESC'
i686_mem.o: In function `i686_mem_drvinit':
i686_mem.o(.text+0xfbb): undefined reference to `mem_range_softc'
identcpu.o: In function `printcpuinfo':
identcpu.o(.text+0x54d): undefined reference to `tsc_is_broken'
identcpu.o(.text+0xa45): undefined reference to `tsc_is_broken'
*** Error code 1


	Can someone point me to what I might have missed, and if there's 
some section of an FM that I should be R'ing, what section of what FM 
that is, so that I can understand this process a bit better?  If it 
helps, I'll be glad to share my kernel config file, but I didn't want 
to post it to the entire list unless it was necessary.


	Thanks for any advice or assistance you may be able to provide!

-- 
   These are my opinions -- not to be taken as official Skynet policy
  ____________________________________________________________________
|o| Brad Knowles, <blk@skynet.be>            Belgacom Skynet NV/SA |o|
|o| Systems Architect, News & FTP Admin      Rue Col. Bourg, 124   |o|
|o| Phone/Fax: +32-2-706.11.11/12.49         B-1140 Brussels       |o|
|o| http://www.skynet.be                     Belgium               |o|
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
  Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.
   Unix is very user-friendly.  It's just picky who its friends are.


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