5.1-Kernel will nicht kompiliert werden

From: Bjoern Engels <engels(at)openit.de>
Date: Fri, 6 Jun 2003 16:35:57 +0200

(Ich hoffe, die Mail kommt nicht mehrfach, ich hatte etwas mit mutt
zu kaempfen ;)

Hi!
                                                                                                                                                                                                                  
Nach gestrigem cvsup auf 5.1 habe ich zunaechst erfolgreich
make buildworld durchgefuehrt, aber beim make kernel haperts
noch. Der Standard-Kernel funktioniert, aber meine von 5.0
uebernommene Konfiguration loest einein Fehler aus. Ich habe
ueber Google einen -CURRENT-Thread gefunden, der genau dieses
Problem angeht und auf UPDATING verweist. Ich kann
diesbezueglich aber nichts in UPDATING finden. Oder es ist
hier einfach zu heiss ;)
Hier kommt der Fehler:
                                                                                                                                                                                                                  
[...]
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh NADE
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
+-I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include 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+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/NADE.
*** Error code 1
                                                                                                                                                                                                                  
Hat jemand eine Idee, wo ich hier noch schrauben muss?

-- 
Mit freundlichen Gruessen
Bjoern Engels                                            OpenIT GmbH
engels(at)openit.de                                         Jahnstr. 18
PGP keyID 1024D/FB601479                         D-40215 Duesseldorf
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Fri 06 Jun 2003 - 16:36:02 CEST

search this site