Date: 02 Feb 2003 17:03:02 +0000 From: Redjupiter <redjupiter@ntlworld.com> To: Trent Nelson <trent@limekiln.vcisp.net> Cc: current@freebsd.org Subject: Re: buildkernel dying from unresolved sched_* symbols Message-ID: <1044205382.773.7.camel@byblos> In-Reply-To: <20030202153500.GA28378@limekiln.vcisp.net> References: <20030202153500.GA28378@limekiln.vcisp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
HI, I had the same unresolved symbols and it baffled me for a while. After cvsupping several times to an avail, I deleted the new kernel build. i.e. I deleted my kernel file and its directory (the one created when you do config <kernel>), copied generic to a new kernel file, added my own configs, and did a a new config and the whole thing worked again. That was yesterday. Assuming you have added the proper configuration in your kernel. Hope this helps :-) georges On Sun, 2003-02-02 at 15:35, Trent Nelson wrote: > I'm not sure if this is a result of the recent sched_ule import, but > buildkernel is dying on a bunch of undefined symbols (that from what > I can see, are definitely present in both sched_(4bsd|ule)). I fol- > llowed a discussion on -arch about being able to nominate the prefe- > rred scheduler, but I'd assume both would be compiled, no? > > Trent. > > > linking kernel.debug > init_main.o: In function `proc0_init': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/init_main.c:319: undefined reference to `kse0_sched' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/init_main.c:320: undefined reference to `ksegrp0_sched' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/init_main.c:321: undefined reference to `proc0_sched' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/init_main.c:322: undefined reference to `thread0_sched' > kern_clock.o: In function `statclock_process': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_clock.c:445: undefined reference to `sched_clock' > kern_condvar.o: In function `cv_wait': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_condvar.c:180: undefined reference to `sched_sleep' > kern_condvar.o: In function `cv_wait_sig': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_condvar.c:180: undefined reference to `sched_sleep' > kern_condvar.o: In function `cv_timedwait': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_condvar.c:180: undefined reference to `sched_sleep' > kern_condvar.o: In function `cv_timedwait_sig': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_condvar.c:180: undefined reference to `sched_sleep' > kern_exit.o: In function `wait1': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_exit.c:623: undefined reference to `sched_exit' > kern_fork.o: In function `fork1': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_fork.c:513: undefined reference to `sched_fork' > kern_idle.o: In function `idle_proc': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_idle.c:110: undefined reference to `sched_runnable' > kern_mutex.o: In function `propagate_priority': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_mutex.c:153: undefined reference to `sched_prio' > kern_proc.o: In function `procinit': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_proc.c:125: undefined reference to `sched_sizeof_proc' > kern_proc.o: In function `fill_kinfo_proc': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_proc.c:745: undefined reference to `sched_pctcpu' > kern_resource.o: In function `donice': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_resource.c:299: undefined reference to `sched_nice' > kern_subr.o: In function `uio_yield': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_subr.c:557: undefined reference to `sched_prio' > kern_switch.o: In function `choosethread': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:126: undefined reference to `sched_choose' > kern_switch.o: In function `kse_reassign': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:278: undefined reference to `sched_add' > kern_switch.o: In function `adjustrunqueue': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:395: undefined reference to `sched_rem' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:396: undefined reference to `sched_add' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:411: undefined reference to `sched_rem' > kern_switch.o: In function `setrunqueue': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:493: undefined reference to `sched_rem' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_switch.c:556: undefined reference to `sched_add' > kern_synch.o: In function `msleep': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_synch.c:242: undefined reference to `sched_sleep' > kern_synch.o: In function `mi_switch': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_synch.c:503: undefined reference to `sched_switchout' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_synch.c:509: undefined reference to `sched_switchin' > kern_synch.o: In function `setrunnable': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_synch.c:578: undefined reference to `sched_wakeup' > kern_synch.o: In function `yield': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_synch.c:658: undefined reference to `sched_prio' > kern_thread.o: In function `threadinit': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_thread.c:623: undefined reference to `sched_sizeof_thread' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_thread.c:639: undefined reference to `sched_sizeof_ksegrp' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/kern_thread.c:642: undefined reference to `sched_sizeof_kse' > subr_trap.o: In function `userret': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/subr_trap.c:96: undefined reference to `sched_userret' > subr_trap.o: In function `ast': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/kern/subr_trap.c:245: undefined reference to `sched_prio' > ksched.o: In function `ksched_attach': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/posix4/ksched.c:62: undefined reference to `sched_rr_interval' > ksched.o: In function `ksched_setscheduler': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/posix4/ksched.c:192: undefined reference to `sched_prio' > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/posix4/ksched.c:222: undefined reference to `sched_prio' > vm_zeroidle.o: In function `vm_pagezero': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/vm/vm_zeroidle.c:132: undefined reference to `sched_runnable' > vm_pageout.o: In function `vm_pageout_scan': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/vm/vm_pageout.c:1237: undefined reference to `sched_nice' > machdep.o: In function `cpu_idle': > /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/i386/i386/machdep.c:1028: undefined reference to `sched_runnable' > *** Error code 1 > > Stop in /obj/shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src/sys/CHERRY. > *** Error code 1 > > Stop in /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src. > *** Error code 1 > > Stop in /shared/work/BSD/FreeBSD/FreeBSD-CURRENT/src. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1044205382.773.7.camel>