cannot build i386 12.0-RELEASE kernel on -current

Ian Lepore ian at freebsd.org
Wed Dec 12 16:44:21 UTC 2018


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



More information about the freebsd-current mailing list