From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 23:21:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A4A116A61B for ; Sun, 22 Feb 2004 23:21:25 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7E4243D1D for ; Sun, 22 Feb 2004 23:21:24 -0800 (PST) (envelope-from kstewart@owt.com) Received: from localhost.invalid (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i1N7Ks9U015564; Sun, 22 Feb 2004 23:20:55 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sun, 22 Feb 2004 23:21:20 -0800 User-Agent: KMail/1.6 References: <20040222230044.GA89057@xs4all.nl> In-Reply-To: <20040222230044.GA89057@xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402222321.20297.kstewart@owt.com> cc: fjaspers@xs4all.nl Subject: Re: Kernel build problem after make world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 07:21:25 -0000 On Sunday 22 February 2004 03:00 pm, fjaspers@xs4all.nl wrote: > Hi, > > you are right, should have included the messages in my first mail. > Sorry. > > I followed the procedure in the handbook, > make buildworld; make buildkernel; make installkernel; reboot; make > installworld > > Intermediate that left me with a new kernel in an old world, which > worked like i supposed it would. > > Is it possible one of the kernel options caused the messages? > It doesn't seem to me, everything compiled ok, it's the linking > process complaining. Missing header files?? I had to look at my 5.2-current system. I was hopping your kernel config was a commented version of GENERIC. That makes it much easier to see errors. With what you have listed, we can't see anything to trigger our memory of setup options. I wasn't surprised to not see someone respond to your message. You made it really difficult :). For starters, I think you need the following line options SCHED_4BSD #4BSD scheduler There may be other errors but I didn't have time enough to look at the rest of your configuration. Kent > > All my kernel options (see below) seem also in either GENERIC or > NOTES. > > again any help appreciated. > > Frans Jaspers fjaspers@xs4all.nl > > > In my make.conf are only perl things. > > > Here's my uname -a > FreeBSD desktop.localnetwork 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb > 21 22:18:28 GMT 2004 > root@:/usr/obj/usr/src/sys/FJ_20040221_GENERIC i386 > > So that's the running new generic kernel. > > > Here's the errors: > > $cd /usr/src > $make buildkernel KERNCONF=FJ_20040221_01 > -------------------------------------------------------------- > > >>> Kernel build for FJ_20040221_01 started on Sun Feb 22 22:16:49 > >>> GMT 2004 > > -------------------------------------------------------------- > ===> FJ_20040221_01 > > ------ SNIP ------ > > linking kernel > init_main.o: In function `proc0_init': > init_main.o(.text+0x2b9): undefined reference to `kse0_sched' > init_main.o(.text+0x2c3): undefined reference to `ksegrp0_sched' > init_main.o(.text+0x2cd): undefined reference to `proc0_sched' > init_main.o(.text+0x2d7): undefined reference to `thread0_sched' > kern_clock.o: In function `statclock': > > ------- Many more --------- > > vm_pageout.o(.text+0x170c): undefined reference to `sched_nice' > machdep.o: In function `cpu_idle': > machdep.o(.text+0x151e): undefined reference to `sched_runnable' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/FJ_20040221_01. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > Here's my config file, > > machine i386 > cpu I686_CPU > ident FJ_20040221_01 > maxusers 0 > > > options INET > options INET6 > > options FFS > options SOFTUPDATES > options UFS_ACL > options UFS_DIRHASH > options MD_ROOT > options NFSCLIENT > options NFSSERVER > options NFS_ROOT > options MSDOSFS > options CD9660 > > options PROCFS > options PSEUDOFS > > options COMPAT_43 > options COMPAT_FREEBSD4 > > options KTRACE > > options SYSVSHM > options SYSVMSG > options SYSVSEM > > options _KPOSIX_PRIORITY_SCHEDULING > > options KBD_INSTALL_CDEV > > options INVARIANT_SUPPORT > > device isa > device eisa > device pci > > device pci > device fdc > device ata > device atadisk > device atapicd > device atapifd > options ATA_STATIC_ID > device atkbdc > device atkbd > device psm > device vga > device splash > device sc > device agp > device npx > device pmtimer > device sio > device ppc > device ppbus > device lpt > device ppi > device miibus > device vr > device random > device loop > device ether > device ppp > device tun > device pty > device md > device gif > device faith > device uhci > device usb > device ugen -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html