Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 09:44:07 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Yuri Pankov <yuripv@yuripv.net>, Henry Vogt <henry.vogt@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: cannot build i386 12.0-RELEASE kernel on -current
Message-ID:  <1544633047.55242.2.camel@freebsd.org>
In-Reply-To: <f6bfa0fa-44ed-7393-4e4d-94e4835a60fe@yuripv.net>
References:  <3855efb7-47ce-8cef-efa1-9b48dfd13118@gmail.com> <f6bfa0fa-44ed-7393-4e4d-94e4835a60fe@yuripv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2018-12-12 at 19:33 +0300, Yuri Pankov wrote:
> Henry Vogt wrote:
> > 
> > Hi,
> > 
> > my build machine (FreeBSD:13:amd64 r341429) builds world/kernel ok
> > for amd64, world for i386 ok, but fails 'make buildkernel' for
> > i386:
> > 
> > -- snip
> > 
> > ...
> > 
> > --- if_vte.o ---
> > /usr/src/12/sys/dev/vte/if_vte.c:76:10: fatal error: 'miibus_if.h'
> > file not found
> > #include "miibus_if.h"
> >          ^~~~~~~~~~~~~
> > Building /usr/obj/usr/src/12/i386.i386/sys/MODULAR/msdosfs_denode.o
> > --- modules-all ---
> > --- all_subdir_accf_dns ---
> > ===> accf_dns (all)
> > Building /usr/obj/usr/src/12/i386.i386/sys/MODULAR/msdosfs_fat.o
> > --- if_vte.o ---
> > 1 error generated.
> > *** [if_vte.o] Error code 1
> > 
> > ...
> > 
> > -- snip
> > 
> > Is this known - did i miss something ?
> > Howto fix ?
> Does your "MODULAR" config file include "device miibus"?
> 

It is possible to build miibus as a module, or not use it at all (and
use just the specific phy driver(s) you need), but in that case you
need 'device mii' in the kernel to get the minimal infrastructure
needed to support the modules (which includes generating miibus_if.h).

-- Ian




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