Subject: Re: Error?: src/sys/arch/vax/boot/netio.c
To: NetBSD Current-Users <current-users@NetBSD.ORG>
From: Brian D Chase <brianc@carpediem.com>
List: current-users
Date: 07/07/1997 04:55:15
On Mon, 7 Jul 1997 is@Beverly.Rhein.DE wrote:
> Brian D Chase (brianc@carpediem.com) wrote:

> : This in under NetBSD/vax During a `make build':
> : 
> : --
> : cc -O -O -I. -I../../../../.. -I../../../.. -I../../.. -I../..
> : -I../../../lib/libsa -DSTANDALONE -DRELOC=0x100000 -DXXRPB=0x0F4240  -c
> : netio.c
> : netio.c:56: netinet/if_ether.h: No such file or directory
> 
> There is no more netinet/if_ether.h, since some time.
> 
> However, the MI part of libsa hasnt switched yet, but uses its private
> copy of the old if_ether.h instead. Basically, you need to include
> <lib/libsa/if_ether.h> instead. (However: why do you need it at all in
> machine dependend code?)

Judging by the -I../../../lib/libsa option given to the C compiler, an
#include <if_ether.h> would've been appropriate.  

As for answering your `parenthetical' question... I don't know, I'm not
the author of the code :-)  Though I believe it has something to do with
the standalone ethernet support in the VAX bootloader for network booting
VAXen.

-brian.
---------------------------------------------------------------------------
Brian D. Chase         Systems Coordinator        brian.chase@carpediem.com
-- Compression, Inc. - 13765 Alton Pkwy, Suite B - Irvine, CA 92618, USA --