From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 14:55:12 2003 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 074EE37B401 for ; Fri, 27 Jun 2003 14:55:12 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 246DF43FE0 for ; Fri, 27 Jun 2003 14:55:11 -0700 (PDT) (envelope-from root@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 40624 invoked by uid 0); 27 Jun 2003 21:57:56 -0000 Date: Fri, 27 Jun 2003 14:57:56 -0700 From: root To: Maarten de Vries Message-ID: <20030627215756.GA40603@webserver.get-linux.org> References: <004c01c33cf4$400dd140$1001a8c0@jennie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004c01c33cf4$400dd140$1001a8c0@jennie> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: upgrading 5.0 -> 5.1; make buildkernel failes 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: Fri, 27 Jun 2003 21:55:12 -0000 On Fri, Jun 27, 2003 at 11:37:03PM +0200 or thereabouts, Maarten de Vries wrote: > Hi, > > I've been trying to upgrade my desktop pc, which ran 5.0-R without any > problems for months, to 5.1-R. After a make clean, I cvsup the latest > sources and then go 'make buildworld' and 'make installworld'. This doesn't > give any problems, but then the 'make buildkernel' fails miserably: Make sure you have exactly one of the next two lines in your kernel configuration file. (I'd recommend the first.) options SCHED_4BSD options SCHED_ULE -- Josh > > 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': > kern_clock.o(.text+0x6a4): undefined reference to `sched_clock' > kern_condvar.o: In function `cv_waitq_add': > kern_condvar.o(.text+0x1483): undefined reference to `sched_sleep' > kern_exit.o: In function `exit1': > kern_exit.o(.text+0x14a8): undefined reference to `sched_exit' > kern_fork.o: In function `fork1': > kern_fork.o(.text+0xc61): undefined reference to `sched_fork' > kern_idle.o: In function `idle_proc': > kern_idle.o(.text+0x1d6): undefined reference to `sched_runnable' > kern_thr.o: In function `thr_exit1': > kern_thr.o(.text+0xe8): undefined reference to `sched_exit_kse' > kern_thr.o(.text+0x17b): undefined reference to `sched_exit_thread' > kern_thr.o: In function `thr_create': > kern_thr.o(.text+0x46f): undefined reference to `sched_fork_kse' > kern_thr.o(.text+0x481): undefined reference to `sched_fork_thread' > kern_mutex.o: In function `propagate_priority': > kern_mutex.o(.text+0x7a): undefined reference to `sched_prio' > kern_proc.o: In function `procinit': > kern_proc.o(.text+0xe3): undefined reference to `sched_sizeof_proc' > kern_proc.o: In function `fill_kinfo_proc': > kern_proc.o(.text+0x1706): undefined reference to `sched_pctcpu' > kern_resource.o: In function `donice': > kern_resource.o(.text+0x968): undefined reference to `sched_nice' > kern_resource.o: In function `rtp_to_pri': > kern_resource.o(.text+0xd25): undefined reference to `sched_class' > kern_subr.o: In function `uio_yield': > kern_subr.o(.text+0x57e): undefined reference to `sched_prio' > kern_switch.o: In function `choosethread': > kern_switch.o(.text+0x11): undefined reference to `sched_choose' > kern_switch.o: In function `kse_reassign': > kern_switch.o(.text+0xea): undefined reference to `sched_add' > kern_switch.o: In function `adjustrunqueue': > kern_switch.o(.text+0x168): undefined reference to `sched_rem' > kern_switch.o(.text+0x170): undefined reference to `sched_add' > kern_switch.o(.text+0x19e): undefined reference to `sched_rem' > kern_switch.o: In function `setrunqueue': > kern_switch.o(.text+0x293): undefined reference to `sched_rem' > kern_switch.o(.text+0x34d): undefined reference to `sched_add' > kern_synch.o: In function `msleep': > kern_synch.o(.text+0x538): undefined reference to `sched_sleep' > kern_synch.o: In function `mi_switch': > kern_synch.o(.text+0xe36): undefined reference to `sched_switchout' > kern_synch.o(.text+0xe5f): undefined reference to `sched_switchin' > kern_synch.o: In function `setrunnable': > kern_synch.o(.text+0xf5b): undefined reference to `sched_wakeup' > kern_synch.o: In function `yield': > kern_synch.o(.text+0x11a9): undefined reference to `sched_prio' > kern_thread.o: In function `threadinit': > kern_thread.o(.text+0x1547): undefined reference to `sched_sizeof_thread' > kern_thread.o(.text+0x1591): undefined reference to `sched_sizeof_ksegrp' > kern_thread.o(.text+0x15db): undefined reference to `sched_sizeof_kse' > subr_trap.o: In function `userret': > subr_trap.o(.text+0x12): undefined reference to `sched_userret' > subr_trap.o: In function `ast': > subr_trap.o(.text+0x67f): undefined reference to `sched_prio' > ksched.o: In function `ksched_attach': > ksched.o(.text+0x2e): undefined reference to `sched_rr_interval' > ksched.o: In function `ksched_setscheduler': > ksched.o(.text+0x2d3): undefined reference to `sched_prio' > ksched.o(.text+0x3c3): undefined reference to `sched_prio' > ffs_snapshot.o: In function `ffs_snapshot': > ffs_snapshot.o(.text+0xb4a): undefined reference to `sched_nice' > ffs_snapshot.o(.text+0x24f4): undefined reference to `sched_nice' > vm_zeroidle.o: In function `vm_pagezero': > vm_zeroidle.o(.text+0x40d): undefined reference to `sched_runnable' > vm_pageout.o: In function `vm_pageout_scan': > vm_pageout.o(.text+0x1c14): undefined reference to `sched_nice' > machdep.o: In function `cpu_idle': > machdep.o(.text+0x16ee): undefined reference to `sched_runnable' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/FOOKERN. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /root. > > > Any pointers to what am I doing wrong here are much appreciated... > -- > http://unsavoury.net/ > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"