Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 13:43:51 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Soren Harward <soren@et.byu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: custom kernel build fails at pxe.c
Message-ID:  <3DB07287.5060201@owt.com>
References:  <3DB066A6.9040900@et.byu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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




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