*BSD News Article 45614


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.kei.com!bloom-beacon.mit.edu!spool.mu.edu!agate!volga.EECS.Berkeley.EDU!chiuc
From: chiuc@volga.EECS.Berkeley.EDU (C.Y. Chiu)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to edit & recompile the kernel????
Date: 13 Jun 1995 13:26:16 GMT
Organization: University of California, Berkeley
Lines: 34
Message-ID: <3rk3lo$kgd@agate.berkeley.edu>
References: <3rgde8$oif@news1.best.com> <3rjjq9$s49@bonnie.tcd-dresden.de>
NNTP-Posting-Host: volga.eecs.berkeley.edu

In article <3rjjq9$s49@bonnie.tcd-dresden.de>,
>
>Hmm, i think section 6 explains how to rebuild a kernel.  Where
>exactly do you have problems?  (I don't have the FAQ text handy.)

No, it doens't tell how how to compile.

>Basically, you need the kernel sources, you need to setup your
>own config file (e.g. by deriving it from GENERIC), to compile
>a kernel, and finally to install it and reboot.

When I tried to make depend after config, I got the following:

cc -Wall -o aic7xxx_asm ../../dev/aic7xxx/aic7xxx_asm.c
/usr/lib/crt0.o: Undefined symbol `_getenv' referenced from text segment
/usr/lib/crt0.o: Undefined symbol `__startup_setlocale' referenced from text 
	segment
/usr/lib/crt0.o: Undefined symbol `_exit' referenced from text segment
/var/tmp/cc0002271.o: Undefined symbol `___sF' referenced from text segment
[and lots more undefined symbol]

hmm..it seems that I do not have the proper lib? but I have tried to 
reinstall by picking kernel-devlepment(or something like that) during the 
installation, and same thing happened.  Does anyone know what/why this 
happens and how to solve the problem? I am a first timer at recompiling
kernel, so I dont really have a clue.  

Oh, another thing, the fragmentation of one of my partiton is at 4.9%.  Is
it anything to worry about? Thanks in advance for any help :)


Chun Chiu
-------------------------
cchiu@uclink.berkeley.edu