DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 2nd December 2017
philo_neo71 philo_neo71 is offline
Spam Deminer
 
Join Date: Jul 2009
Posts: 278
Default [Solved] compile a kernel

hello, I'm trying to compile a kernel but nothing happens as I want I can compile a new kernel but the installation fails, here is my script :
Code:
cd /usr
cvs -z3 -d anoncvs@anoncvs.netbsd.org:/cvsroot checkout -P -rnetbsd-7 src
cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co -P src
mkdir -p /usr/obj
cd src
# cd /
# tar zxf /path/to/syssrc.tgz
$ cd /usr/src/sys/arch/i386/conf/
$ ls
$ cp GENERIC MYKERNEL
$ vi MYKERNEL

$ config MYKERNEL
$ cd ../compile/MYKERNEL
$ make depend
$ make

$ cd /usr/src
$ ./build.sh kernel=MYKERNEL 
Quote:
hpc-raptor# ./build.sh -u kernel=PHIPO03KERNEL ERROR: usr.bin/make not found; build.sh must be run from the top level of source directory *** BUILD ABORTED *** hpc-raptor#
# mv /netbsd /netbsd.old # mv netbsd /

Last edited by philo_neo71; 4th December 2017 at 10:09 PM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to cross-compile the kernel? Skinny OpenBSD General 11 26th November 2012 05:38 PM
Can't compile autoconf262 Sunsawe FreeBSD Ports and Packages 2 26th August 2008 07:53 PM
firefox3 will not compile map7 FreeBSD Ports and Packages 8 14th July 2008 11:23 PM
compile kernel error mfaridi FreeBSD Installation and Upgrading 9 14th July 2008 02:26 AM
gio-fam-backend will not compile map7 FreeBSD Ports and Packages 0 2nd July 2008 01:59 AM


All times are GMT. The time now is 09:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick