Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 16:55:16 -0400
From:      Mike B <chops@cinci.rr.com>
To:        Colin Alston <lists@karnaugh.za.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Compiling latest CVS kernel
Message-ID:  <3EB6CFB4.5060908@cinci.rr.com>
In-Reply-To: <20030505212329.452590b2.lists@karnaugh.za.net>
References:  <20030505212329.452590b2.lists@karnaugh.za.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm going to assume your using 5.0 (I hope you meant to go to 5!). Try 
adding this to your kernel, I had the same problem with it yesterday. 
BTW, you may have better results posting questions about current to 
freebsd-current :-)

options         SCHED_4BSD

Colin Alston wrote:

>Having problems compiling latest CVS kernel
>
>
> opt_global.h -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2    -ffreestanding -Werror  vers.c
>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+0x597): undefined reference to `sched_clock'
>kern_condvar.o: In function `cv_waitq_add':
>kern_condvar.o(.text+0xdd3): undefined reference to `sched_sleep'
>kern_exit.o: In function `exit1':
>kern_exit.o(.text+0xee9): undefined reference to `sched_exit'
>kern_fork.o: In function `fork1':
>kern_fork.o(.text+0xa85): undefined reference to `sched_fork'
>kern_idle.o: In function `idle_proc':
>kern_idle.o(.text+0x139): undefined reference to `sched_runnable'
>kern_thr.o: In function `thr_exit1':
>kern_thr.o(.text+0xd0): undefined reference to `sched_exit_kse'
>kern_thr.o(.text+0x147): undefined reference to `sched_exit_thread'
>kern_thr.o: In function `thr_create':
>kern_thr.o(.text+0x3b3): undefined reference to `sched_fork_kse'
>kern_thr.o(.text+0x3c5): 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+0x125e): undefined reference to `sched_pctcpu'
>kern_resource.o: In function `donice':
>kern_resource.o(.text+0x778): undefined reference to `sched_nice'
>kern_resource.o: In function `rtp_to_pri':
>kern_resource.o(.text+0xa65): undefined reference to `sched_class'
>kern_subr.o: In function `uio_yield':
>kern_subr.o(.text+0x48c): undefined reference to `sched_prio'
>kern_switch.o: In function `choosethread':
>kern_switch.o(.text+0x9): 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+0x381): undefined reference to `sched_sleep'
>kern_synch.o: In function `mi_switch':
>kern_synch.o(.text+0xa56): undefined reference to `sched_switchout'
>kern_synch.o(.text+0xa7f): undefined reference to `sched_switchin'
>kern_synch.o: In function `setrunnable':
>kern_synch.o(.text+0xb7b): undefined reference to `sched_wakeup'
>kern_synch.o: In function `yield':
>kern_synch.o(.text+0xd8a): undefined reference to `sched_prio'
>kern_thread.o: In function `threadinit':
>kern_thread.o(.text+0x1137): undefined reference to `sched_sizeof_thread'
>kern_thread.o(.text+0x1181): undefined reference to `sched_sizeof_ksegrp'
>kern_thread.o(.text+0x11cb): undefined reference to `sched_sizeof_kse'
>subr_trap.o: In function `userret':
>subr_trap.o(.text+0x18): undefined reference to `sched_userret'
>subr_trap.o: In function `ast':
>subr_trap.o(.text+0x475): 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+0x2b3): undefined reference to `sched_prio'
>ksched.o(.text+0x363): undefined reference to `sched_prio'
>ffs_snapshot.o: In function `ffs_snapshot':
>ffs_snapshot.o(.text+0xae4): undefined reference to `sched_nice'
>ffs_snapshot.o(.text+0x2272): undefined reference to `sched_nice'
>vm_zeroidle.o: In function `vm_pagezero':
>vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable'
>vm_pageout.o: In function `vm_pageout_scan':
>vm_pageout.o(.text+0x176c): undefined reference to `sched_nice'
>machdep.o: In function `cpu_idle':
>machdep.o(.text+0x148e): undefined reference to `sched_runnable'
>*** Error code 1
>
>Stop in /usr/obj/usr/src/sys/tammy.
>*** Error code 1
>
>I attatched my kernel config..
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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"
>  
>




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