FreeBSD make: don't know how to make buildker…

2009-05-13 15:27:05来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


Q.I'm trying to recompile my
[url=javascript:;]kernel[/url]
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
[url=javascript:;]FreeBSD[/url]
source including kernel at /usr/src and /usr/src/sys. To grab latest FreeBSD kernel source use
[url=javascript:;]cvsup[/url]
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


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_1385659.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:Linux与FreeBSD的取得昨天日期方法比较

下一篇:FreeBSD: /libexec/ld-elf.so.1: Shared object "libc