FreeBSD make: don't know how to make buildkernel. Stop Error and Solution
Q. I'm trying to recompile my kernel by tying the following commands:
cd /usr/src/sys/i386/conf
cp GENERIC NEWKEN
vi NEWKEN
cd /usr/src
make buildkernel KERNCONF=NEWKEN
But I'm bumped with an error that read as follows:
make: don't know how to make buildkernel. Stop Error and Solution
How do I fix this error?
A. This is well known problem. You need an up to date and complete copy of the FreeBSD source including kernel at /usr/src and /usr/src/sys. To grab latest FreeBSD kernel source use cvsup or sysinstall command.
# sysinstall
Select > Configure > Distributions > Src > Select Base, Sys and all other required source code > Ok > Ok > Select Internet > FTP Main site and install the source code.
Once installed type the following command to compile the kernel:
# cd /usr/src
# make buildkernel KERNCONF=NEWKEN
# make installkernel KERNCONF=NEWKEN
# reboot
E-mail this to a friend
Printable version
Related Other Helpful FAQs:
- FreeBSD Setting up Firewall using IPFW
- FreeBSD cvsup: Update The FreeBSD From Previous Releases Using Source Code
- Steps for compiling Linux kernel on SMP Itanium IA64 system
- FreeBSD iSCSI Initiator Installation and Configuration
- Linux OR BSD: How to speed up compile time with GNU make
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: build freebsd kernel, config, FreeBSD, freebsd cvsup, freebsd kernel, kernel, make command, reboot, reboot command, sysinstall command




Recent Comments
Today ~ 70 Comments
Today ~ 2 Comments
Yesterday ~ 10 Comments
Yesterday ~ 12 Comments
09/03/2008 05:29 pm (2 days ago) ~ 6 Comments