5.1 trouble

Sam Pikesley samdavidpikesley at yahoo.co.uk
Thu Jun 19 10:51:09 BST 2003


Hello all,

I'm having trouble upgrading my laptop from 5.0 to
5.1: I cvsupped the sources, and made world with no
trouble. However the kernel refuses to build. It gets
so far, then does this:

/usr/src/sys/kern/init_main.c:318: undefined reference
to `kse0_sched'
/usr/src/sys/kern/init_main.c:319: undefined reference
to `ksegrp0_sched'
/usr/src/sys/kern/init_main.c:320: undefined reference
to `proc0_sched'
/usr/src/sys/kern/init_main.c:321: undefined reference
to `thread0_sched'
kern_clock.o: In function `statclock':
/usr/src/sys/kern/kern_clock.c:406: undefined
reference to `sched_clock'
kern_condvar.o: In function `cv_waitq_add':
/usr/src/sys/kern/kern_condvar.c:182: undefined
reference to `sched_sleep'
kern_exit.o: In function `exit1':
/usr/src/sys/kern/kern_exit.c:502: undefined reference
to `sched_exit'
kern_fork.o: In function `fork1':
/usr/src/sys/kern/kern_fork.c:485: undefined reference
to `sched_fork'
kern_idle.o: In function `idle_proc':
/usr/src/sys/kern/kern_idle.c:114: undefined reference
to `sched_runnable'
kern_thr.o: In function `thr_exit1':
/usr/src/sys/kern/kern_thr.c:93: undefined reference
to `sched_exit_kse'
/usr/src/sys/kern/kern_thr.c:111: undefined reference
to `sched_exit_thread'
kern_thr.o: In function `thr_create':
/usr/src/sys/kern/kern_thr.c:186: undefined reference
to `sched_fork_kse'
/usr/src/sys/kern/kern_thr.c:187: undefined reference
to `sched_fork_thread'
kern_mutex.o: In function `propagate_priority':
/usr/src/sys/kern/kern_mutex.c:148: undefined
reference to `sched_prio'
kern_proc.o: In function `procinit':
/usr/src/sys/kern/kern_proc.c:123: undefined reference
to `sched_sizeof_proc'
kern_proc.o: In function `fill_kinfo_proc':
/usr/src/sys/kern/kern_proc.c:763: undefined reference
to `sched_pctcpu'
kern_resource.o: In function `donice':
/usr/src/sys/kern/kern_resource.c:294: undefined
reference to `sched_nice'
kern_resource.o: In function `rtp_to_pri':
/usr/src/sys/kern/kern_resource.c:407: undefined
reference to `sched_class'
kern_subr.o: In function `uio_yield':
/usr/src/sys/kern/kern_subr.c:415: undefined reference
to `sched_prio'
kern_switch.o: In function `choosethread':
/usr/src/sys/kern/kern_switch.c:141: undefined
reference to `sched_choose'
kern_switch.o: In function `kse_reassign':
/usr/src/sys/kern/kern_switch.c:214: undefined
reference to `sched_add'
kern_switch.o: In function `adjustrunqueue':
/usr/src/sys/kern/kern_switch.c:298: undefined
reference to `sched_rem'
/usr/src/sys/kern/kern_switch.c:299: undefined
reference to `sched_add'
/usr/src/sys/kern/kern_switch.c:313: undefined
reference to `sched_rem'
kern_switch.o: In function `setrunqueue':
/usr/src/sys/kern/kern_switch.c:364: undefined
reference to `sched_rem'
/usr/src/sys/kern/kern_switch.c:423: undefined
reference to `sched_add'
kern_synch.o: In function `msleep':
/usr/src/sys/kern/kern_synch.c:251: undefined
reference to `sched_sleep'
kern_synch.o: In function `mi_switch':
/usr/src/sys/kern/kern_synch.c:519: undefined
reference to `sched_switchout'
/usr/src/sys/kern/kern_synch.c:535: undefined
reference to `sched_switchin'
kern_synch.o: In function `setrunnable':
/usr/src/sys/kern/kern_synch.c:604: undefined
reference to `sched_wakeup'
kern_synch.o: In function `yield':
/usr/src/sys/kern/kern_synch.c:684: undefined
reference to `sched_prio'
kern_thread.o: In function `threadinit':
/usr/src/sys/kern/kern_thread.c:766: undefined
reference to `sched_sizeof_thread
'
/usr/src/sys/kern/kern_thread.c:782: undefined
reference to `sched_sizeof_ksegrp
'
/usr/src/sys/kern/kern_thread.c:785: undefined
reference to `sched_sizeof_kse'
subr_trap.o: In function `userret':
/usr/src/sys/kern/subr_trap.c:93: undefined reference
to `sched_userret'
subr_trap.o: In function `ast':
/usr/src/sys/kern/subr_trap.c:238: undefined reference
to `sched_prio'
ksched.o: In function `ksched_attach':
/usr/src/sys/posix4/ksched.c:62: undefined reference
to `sched_rr_interval'
ksched.o: In function `ksched_setscheduler':
/usr/src/sys/posix4/ksched.c:192: undefined reference
to `sched_prio'
/usr/src/sys/posix4/ksched.c:222: undefined reference
to `sched_prio'
ffs_snapshot.o: In function `ffs_snapshot':
/usr/src/sys/ufs/ffs/ffs_snapshot.c:306: undefined
reference to `sched_nice'
/usr/src/sys/ufs/ffs/ffs_snapshot.c:654: undefined
reference to `sched_nice'
vm_zeroidle.o: In function `vm_pagezero':
/usr/src/sys/vm/vm_zeroidle.c:132: undefined reference
to `sched_runnable'
vm_pageout.o: In function `vm_pageout_scan':
/usr/src/sys/vm/vm_pageout.c:1248: undefined reference
to `sched_nice'
machdep.o: In function `cpu_idle':
/usr/src/sys/i386/i386/machdep.c:1069: undefined
reference to `sched_runnable'
*** Error code 1

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

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

Stop in /usr/src.

I don't think there's anything wrong with my kernel
configuration file. Anybody else seen anything like
this?

Cheers

Sam
;)

=====
Those who do not learn from Dilbert are doomed to repeat it

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/




More information about the Ukfreebsd mailing list