From owner-freebsd-questions Fri Oct 18 13:43:56 2002 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 4D28637B404 for ; Fri, 18 Oct 2002 13:43:55 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0CF443E9E for ; Fri, 18 Oct 2002 13:43:54 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA08711; Fri, 18 Oct 2002 13:43:52 -0700 Message-ID: <3DB07287.5060201@owt.com> Date: Fri, 18 Oct 2002 13:43:51 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Soren Harward Cc: freebsd-questions@FreeBSD.ORG Subject: Re: custom kernel build fails at pxe.c References: <3DB066A6.9040900@et.byu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Soren Harward wrote: > I've been a Linux user for years but I just installed FreeBSD for the > first time last night. It's on a machine that I want to use as a > firewall, so I started building a custom kernel (with IPFIREWALL, etc. > enabled) from the straight-out-of-the-box 4.7-RELEASE sources. I got > the following error (trimmed down for legibility): > > ------ > cc -O -pipe -I/usr/src/sys/boot/i386/libi386/../../common > -I/usr/src/sys/boot/i386/libi386/../btx/lib > -I/usr/src/sys/boot/i386/libi386/../.. > /.. -I. -DCOMPORT=0x3f8 -DCOMSPEED=9600 > -I/usr/src/sys/boot/i386/libi386/../../../../lib/libstand/ -DTERM_EMU > -mpreferred-stack-boundary=2 -c > pxe.c -o pxe.o > pxe.c:41: net.h: No such file or directory > pxe.c:42: netif.h: No such file or directory > pxe.c:43: nfsv2.h: No such file or directory > pxe.c:44: iodesc.h: No such file or directory > pxe.c:46: bootp.h: No such file or directory > ------ > > The only source code packages I installed were sbase, sincludes and > ssys. Apparently, I forgot something because I can't find these headers > anywhere on the system. > > I did some looking around in the ML archives to try to solve this, but > I'm stumped. I've gathered that I has to do with compiling for PXE > boots, but I don't need that feature. LINT doesn't have any options for > disabling PXE, so it looks like I've got to find these headers. Where > are they? Or is there some other way to disable PXE? > Unlike Linux, with FreeBSD you buy the whole system. You can't simply change parts of the kernel because the it is just a small part of the whole system. If you aren't installing all of the source code, nothing is guaranteed to work. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message