Re: Kernel build problem after make world

2004-02-24 Thread fjaspers
HI,

Sorry my information was somewhat obscure, you're answer however wasn't.
The 4BSD_SCHED option did the trick.

The real problem was mee being impatient trying to build a 5.2 KERNEL with
a 5.0 config file.
I made a new config file patiently copying lines in from NOTES and GENERIC.
Now the world smiles again. :)

Thnx for your help.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: Kernel build problem after make world

2004-02-22 Thread fjaspers

Hi,
   
  
you are right, should have included the messages in my first mail. Sorry.
   
  
I followed the procedure in the handbook,
make buildworld; make buildkernel; make installkernel; reboot; make installworld
   
  
Intermediate that left me with a new kernel in an old world, which
worked like i supposed it would.
   
  
Is it possible one of the kernel options caused the messages?
It doesn't seem to me, everything compiled ok, it's the linking process
complaining. Missing header files??
   
  
All my kernel options (see below) seem also in either GENERIC or NOTES.
   
  
again any help appreciated.
   
  
Frans Jaspers [EMAIL PROTECTED]
   
  
   
  
In my make.conf are only perl things.
   
  
   
  
Here's my uname -a
FreeBSD desktop.localnetwork 5.2.1-RC2 FreeBSD 5.2.1-RC2 #0: Sat Feb 21 22:18:28 GMT 
2004 root@:/usr/obj/usr/src/sys/FJ_20040221_GENERIC  i386
   
  
So that's the running new generic kernel.
   
  
   
  
Here's the errors:
   
  
$cd /usr/src
$make buildkernel KERNCONF=FJ_20040221_01
--
 Kernel build for FJ_20040221_01 started on Sun Feb 22 22:16:49 GMT 2004
--
=== FJ_20040221_01
   
  
-- SNIP --
   
  
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':
   
  
--- Many more -
   
  
vm_pageout.o(.text+0x170c): undefined reference to `sched_nice'
machdep.o: In function `cpu_idle':
machdep.o(.text+0x151e): undefined reference to `sched_runnable'
*** Error code 1
   
  
Stop in /usr/obj/usr/src/sys/FJ_20040221_01.
*** Error code 1
   
  
Stop in /usr/src.
*** Error code 1
   
  
Stop in /usr/src.
   
  
   
  
Here's my config file,