Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 13:57:54 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        freebsd-questions@FreeBSD.org
Cc:        Chris Appleton <appleton_chris@yahoo.com>
Subject:   Re: make install
Message-ID:  <20011210135754.L1432@twincat.vladsempire.net>
In-Reply-To: <3C150840.4010201@potentialtech.com>; from wmoran@potentialtech.com on Mon, Dec 10, 2001 at 02:08:48PM -0500
References:  <20011210185252.37743.qmail@web14809.mail.yahoo.com> <3C150840.4010201@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 10, 2001 at 02:08:48PM -0500, Bill Moran wrote:
> Try using the "make buildkernel" and "make installkernel"
> targets.  They're described in the handbook and have
> more or less replaced the building process you are using.
> If you want to do it the old way, make sure you are in
> the correct directories when you issue the "make" commands.
> If you still have problems after looking into this, post
> again with more details of the exact commands entered
> (and possibly your kernel config file, if it's still
> causing problems)
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
> 
> Chris Appleton wrote:
> > In an effort to add a bridge option to my 4.4-release
> > kernel and get off of the generic, I've created a new
> > copy and have 2 errors someone hopefully recognizes...
> > 
> > When I config MYKERNEL I get an error stating unknown
> > option for TCP_RESTRICT_RST that follows other ipfw
> > options.  This is the lesser error and I can remove to
> > get it to compile.  Any idea why this option fails?


TCP_RESTRICT_RST is no longer a kernel option.  This is now controlled 
by a knob in rc.conf.

> > 
> > Once I get config to work, I get an error trying 'make
> > depend MYKERNEL' stating don't know how to make
> > depend.  I then discovered mkdep MYKERNEL which seems
> > to create a .depend in the same directory (with note:
> > linker input file unused since linking not done. 
> > please tell me if this is not what I want) however
> > make install MYKERNEL also gives me a 'don't know how'
> > error.  
> > 

after you do #config MYKERNEL it will spit out something like:
kernel build directory is ../../compile/MYKERNEL
Don't forget to make depend.  You need to change to that directory 
before attemping any of the make targets:
# cd../../compile/MYKERNEL
# make depend && make && make install


> > If I have a custom kernel in the i386/conf directory,
> > how can I install?  under 4.4-release, make depend
> > MYKERNEL and make install MYKERNEL don't seem to be
> > doing it, or my syntax is wrong.
> > 
> > Thx
> >

Your syntax is fine, you're just using it in the wrong place. Kinda 
like saying, "Pardon me." is a bar fight. ;)

Josh


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011210135754.L1432>