From owner-freebsd-questions Mon Mar 13 9:46:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.twave.net (twave.net [206.100.228.5]) by hub.freebsd.org (Postfix) with SMTP id 0728737B609 for ; Mon, 13 Mar 2000 09:46:46 -0800 (PST) (envelope-from brameld@twave.net) Received: from [208.47.188.88] by mail.twave.net (NTMail 3.03.0018/1.abwg) with ESMTP id ra164961 for ; Mon, 13 Mar 2000 12:46:34 -0500 Received: from Bozo_3.BozoLand.domain (root@localhost [127.0.0.1]) by Bozo_3.BozoLand.domain (8.9.3/8.9.3) with SMTP id MAA25214; Mon, 13 Mar 2000 12:44:30 -0500 (EST) (envelope-from brameld@twave.net) From: Walter Brameld To: Kaoutar El Maghraoui <961TA56794@stud.alakhawayn.ma>, Gary Jennejohn Subject: Re: help Date: Mon, 13 Mar 2000 12:40:59 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: Mohamed Sridi <982BE635243@stud.alakhawayn.ma>, questions@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Message-Id: <00031312443000.25202@Bozo_3.BozoLand.domain> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 Mar 2000, in a never-ending search for enlightenment, Kaoutar El Maghraoui wrote: > Please could you clarify more your answer. I am new to FreeBSD. > > On Mon, 13 Mar 2000, Gary Jennejohn wrote: > > > Mohamed Sridi writes: > > >hello everybody, > > >i had probelm in compiling the code of ip_input.c, out_put.c > > >when i compile it with " cc ip_input.c -lnsl" it gives that the headers > > >opt_ipfw.h ,opt_bootp.h,opt_ipdn.h,opt_ipdivert.h,ip_ipfilter.h > > >are not exist. > > > > > > > You can't compile these standalone, they're part of the kernel. > > Do it in /sys/compile/. /usr/sbin/config generates > > the opt_*.h files WHEN YOU CONFIG YOUR KERNEL. Clear enough ? > > > > --- > > Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org As Gary said, these programs are compiled as part of the kernel compilation process. You need to configure and compile a new kernel for these to be produced. See this page for the process: http://www.freebsd.org/handbook/kernelconfig.html -- Walter Brameld Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? Walter: Where the hell am I? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message