From owner-freebsd-questions@FreeBSD.ORG Thu Nov 6 13:32:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50DDF16A4CE for ; Thu, 6 Nov 2003 13:32:41 -0800 (PST) Received: from gw.visp.com.au (gw.visp.com.au [202.6.158.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0FF044001 for ; Thu, 6 Nov 2003 13:32:39 -0800 (PST) (envelope-from tim@spyderweb.com.au) Received: from bofh.spyderweb.com.au ([202.6.150.37]) by gw.visp.com.au (8.12.8p2/8.12.8) with ESMTP id hA6LWcn6013558; Fri, 7 Nov 2003 08:02:39 +1030 (CST) (envelope-from tim@spyderweb.com.au) Received: from spyderweb.com.au (localhost [127.0.0.1]) hA6LWXNc009679; Fri, 7 Nov 2003 08:02:34 +1030 (CST) (envelope-from tim@spyderweb.com.au) Date: Fri, 7 Nov 2003 08:02:33 +1030 From: Tim Aslat To: "Jason Burris" Message-Id: <20031107080233.0900bd64.tim@spyderweb.com.au> In-Reply-To: <15502.216.237.145.172.1068153138.squirrel@mail02.oldskool.com> References: <15502.216.237.145.172.1068153138.squirrel@mail02.oldskool.com> Organization: Spyderweb Consulting X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: make dev problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 21:32:41 -0000 In the immortal words of "Jason Burris" ... > I need to compile a kernel with IPFW on a remote machine running > FreeBSD4.7. I followed the steps listed at: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html Following the handbook isn't a bad start. > In my COMPUTERNAME config file I've add the following three lines to > the end for IPFW: > > options IPFIREWALL > options IPFIREWALL_VERBOSE > options IPFIREWALL_DEFAULT_TO_ACCEPT > > And I changed this line, which I read was necessary: > > ident COMPUTERNAME Not bad, but a more secure way would be to default to deny rather than accept, but that's personal preference. > I'm able to run: > > /usr/sbin/config COMPUTERNAME > cd ../../compile/COMPUTERNAME > > When I run > > make depend > > Everything runs fine until it dies with the error: > > make: don't know how to make iconv.h. > Stop*** Error code 2 > Stop in /usr/src/sys/modules.*** > Error code 1 > > I've checked and this file is in my /usr/src/sys directory.What am I > doing wrong? Do I even need this header to be compiled intothe > kernel? You might want to try the "newer" method of building a kernel. cd /usr/src make buildkernel KERNCONF=COMPUTERNAME make installkernel KERNCONF=COMPUTERNAME Cheers Tim -- Tim Aslat Spyderweb Consulting http://www.spyderweb.com.au P: +61 8 82243020 M: +61 0401088479