FreeBSD make: don't know how to make buildkernel. Stop Error and Solution

by Vivek Gite on June 21, 2008 · 5 comments

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 5 comments… read them below or add one }

1 hoaintv September 24, 2008

Thanks

Reply

2 SIFE August 27, 2009

Salamo Alikom
even i install the source from sysinstall and make a shortcut link ti /sys ,i still get this error .

Reply

3 Edward Sudhahar ( SSIET ) September 14, 2009

make: don’t know how to make bonnie. Stop

What is dis error about. Why do i get it. Giv me solution for dat…

Reply

4 Edward Sudhahar ( SSIET ) September 14, 2009

[root@freebsd /usr/ports/benchmarks/bonnie]# make install bonnie
make: don’t know how to make bonnie. Stop

Why do i get dis

Reply

5 Vivek Gite September 14, 2009

type
make install clean

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 11 + 11 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: