Re: cannot build i386 12.0-RELEASE kernel on -current
Hi Henry, > On Dec 12, 2018, at 8:29 AM, 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 ? 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 signature.asc Description: Message signed with OpenPGP
Re: cannot build i386 12.0-RELEASE kernel on -current
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 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: cannot build i386 12.0-RELEASE kernel on -current
Dear Yuri, Am 12.12.18 um 17:33 schrieb Yuri Pankov: > 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 ... >> Howto fix ? > > Does your "MODULAR" config file include "device miibus"? No, it didn't. I added it to the config - Works now - Thanks. Best Henry -- Henry Vogt signature.asc Description: OpenPGP digital signature
Re: cannot build i386 12.0-RELEASE kernel on -current
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"? signature.asc Description: OpenPGP digital signature
cannot build i386 12.0-RELEASE kernel on -current
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 ? Best Henry -- Henry Vogt ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"