Re: cannot build i386 12.0-RELEASE kernel on -current

From: Enji Cooper <yaneurabeya_at_gmail.com>
Date: Wed, 12 Dec 2018 09:02:09 -0800
Hi Henry,

> On Dec 12, 2018, at 8:29 AM, Henry Vogt <henry.vogt_at_gmail.com> 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 ?

Did you run `make obj; make depend` beforehand or add miibus to your KERNCONF, like if_vte suggests?
Cheers!
-Enji

VTE(4)                 FreeBSD Kernel Interfaces Manual                 VTE(4)

NAME
     vte – Vortex86 RDC R6040 Fast Ethernet driver

SYNOPSIS
     To compile this driver into the kernel, place the following lines in your
     kernel configuration file:

           device miibus
           device vte

Received on Wed Dec 12 2018 - 16:02:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC