The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

As an Amazon Associate I earn from qualifying purchases.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Compiling Help!!!
Author: jason 
Date:   04-10-00 17:31

I installed FreeBSD 4.1 in my box quite some time but i still never be able to compile the kernel although i've read the FreeBSD handbook for a few times..over and over...i really dun haf the idea which is the cobnfiguration file that i haf to make b4 i compile my kernel..plz guide me step by step wat shud i do to compile my kernel somemore i need to enable the support my sound make world is one of the steps in compiling the kernel?

Reply To This Message
 RE: Compiling Help!!!
Author: elliot 
Date:   04-10-00 17:59

the handbook is the clearest but i can help you if you need.

update your sources with cvsup (optional)
cd /usr/ports/net/cvsup-bin && make && make install
cvsup -g -L2 -h /usr/share/examples/cvsup/4.x-stable-supfile


cd /usr/src/sys/i386/conf
sound support usually is pcm
grep pcm LINT >> MYKERNEL
this takes the line with pcm and adds it to your kernel.
you could then edit MYKERNEL and remove such things as scsi controllers you dont have, ipv6, etc.
see if you have any syntax errors, etc and fix them. if you do, config again
cd ../../compile/MYKERNEL
as config tells you
make depend && make && make install && shutdown -r
you're done

Reply To This Message
 RE: Compiling Help!!!
Author: jason 
Date:   10-10-00 04:20

when i issue the first cvsup command it is stated that i don't have the 4.x-stable-supfile do i create one and wat's the content of this file? thanks

Reply To This Message
 RE: Compiling Help!!!
Author: elliot 
Date:   10-10-00 06:39

make a file, call it whatever you want. or call it 4.x-stable...

*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix

then, cvsup this file

Reply To This Message
 RE: Compiling Help!!!
Author: Dan Langille 
Date:   10-10-00 18:24

in both the handbook and at <a href=""></a>, it mentions this file:


Read one of the above to see what to do with that file/

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum