error when compiling 5.1

User & maillist at cust.6.253.adsl.cistron.nl
Fri Jun 6 04:57:43 PDT 2003


hi,

i cvsed the new 5.1 source code and when i try to build the new kernel i got 
this error:
buildsystem is 5.0 and buildworld build without any errors

 linking kernel
init_main.o: In function `proc0_init':
init_main.o(.text+0x279): undefined reference to `kse0_sched'
init_main.o(.text+0x283): undefined reference to `ksegrp0_sched'
init_main.o(.text+0x28d): undefined reference to `proc0_sched'
init_main.o(.text+0x297): undefined reference to `thread0_sched'
kern_clock.o: In function `statclock':
kern_clock.o(.text+0x675): undefined reference to `sched_clock'
kern_condvar.o: In function `cv_waitq_add':
kern_condvar.o(.text+0x1403): undefined reference to `sched_sleep'
kern_exit.o: In function `exit1':
kern_exit.o(.text+0x1468): undefined reference to `sched_exit'
kern_fork.o: In function `fork1':
kern_fork.o(.text+0xc1c): undefined reference to `sched_fork'
kern_idle.o: In function `idle_proc':
kern_idle.o(.text+0x1c6): 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+0x70): undefined reference to `sched_prio'
kern_proc.o: In function `procinit':
kern_proc.o(.text+0xe9): undefined reference to `sched_sizeof_proc'
kern_proc.o: In function `fill_kinfo_proc':
kern_proc.o(.text+0x1675): undefined reference to `sched_pctcpu'
kern_resource.o: In function `donice':
kern_resource.o(.text+0x918): undefined reference to `sched_nice'
kern_resource.o: In function `rtp_to_pri':
kern_resource.o(.text+0xcd5): undefined reference to `sched_class'
kern_subr.o: In function `uio_yield':
kern_subr.o(.text+0x548): undefined reference to `sched_prio'
kern_switch.o: In function `choosethread':
kern_switch.o(.text+0x6): undefined reference to `sched_choose'
kern_switch.o: In function `kse_reassign':
kern_switch.o(.text+0xda): undefined reference to `sched_add'
kern_switch.o: In function `adjustrunqueue':
kern_switch.o(.text+0x155): undefined reference to `sched_rem'
kern_switch.o(.text+0x15d): undefined reference to `sched_add'
kern_switch.o(.text+0x18b): undefined reference to `sched_rem'
kern_switch.o: In function `setrunqueue':
kern_switch.o(.text+0x27c): undefined reference to `sched_rem'
kern_switch.o(.text+0x324): undefined reference to `sched_add'
kern_synch.o: In function `msleep':
kern_synch.o(.text+0x52f): undefined reference to `sched_sleep'
kern_synch.o: In function `mi_switch':
kern_synch.o(.text+0xe0f): undefined reference to `sched_switchout'
kern_synch.o(.text+0xe38): undefined reference to `sched_switchin'
kern_synch.o: In function `setrunnable':
kern_synch.o(.text+0xf33): undefined reference to `sched_wakeup'
kern_synch.o: In function `yield':
kern_synch.o(.text+0x1169): undefined reference to `sched_prio'
kern_thread.o: In function `threadinit':
kern_thread.o(.text+0x14c7): undefined reference to `sched_sizeof_thread'
kern_thread.o(.text+0x1511): undefined reference to `sched_sizeof_ksegrp'
kern_thread.o(.text+0x155b): 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+0x667): undefined reference to `sched_prio'
ksched.o: In function `ksched_attach':
ksched.o(.text+0x31): undefined reference to `sched_rr_interval'
ksched.o: In function `ksched_setscheduler':
ksched.o(.text+0x2c3): undefined reference to `sched_prio'
ksched.o(.text+0x3a1): undefined reference to `sched_prio'
ffs_snapshot.o: In function `ffs_snapshot':
ffs_snapshot.o(.text+0xb85): undefined reference to `sched_nice'
ffs_snapshot.o(.text+0x257d): undefined reference to `sched_nice'
vm_zeroidle.o: In function `vm_pagezero':
vm_zeroidle.o(.text+0x3e2): undefined reference to `sched_runnable'
vm_pageout.o: In function `vm_pageout_scan':
vm_pageout.o(.text+0x1ae5): undefined reference to `sched_nice'
machdep.o: In function `cpu_idle':
machdep.o(.text+0x16be): undefined reference to `sched_runnable'
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.



More information about the freebsd-questions mailing list