On Wed, 16 Apr 2025 22:06:35 -0700
Chris <bsd-li...@bsdforge.com> wrote:

> In an attempt to take advantage of all the work
> done on iwlwifi recently. I pulled a fresh copy of src
> at:
> 
> commit b836c229aa5ac345114f5986b6034ad3ed760da1 (HEAD -> main, freebsd/main, 
> freebsd/HEAD)
> Author: Andrew Gallatin <galla...@freebsd.org>
> Date:   Tue Apr 15 19:37:06 2025 -0400
> 
> and proceeded to build world/kernel. The buildkernel stage
> stopped at:
> 
> In file included from /usr/src/sys/dev/imcsmb/imcsmb.c:52:
> /usr/src/sys/dev/imcsmb/imcsmb_var.h:52:10: fatal error: 'smbus_if.h' file 
> not found
>     52 | #include "smbus_if.h"
> 1 error generated.
> 
> I used the same kernconf I used for the kernel I'm using now.
> A trip to /usr/src and a search with find(1) confirms the file doesn't
> exist. How would I best proceed?
> 
> Thank you for any direction on this.
> 

smbus_if.h is created from
        /sys/conf/files:dev/smbus/smbus_if.m            optional smbus

You need device smbus in your kernel config file so that it will be created.

I don't have smbus in my file and as a result I don't have smbus_if.h on
my system.

-- 
Gary Jennejohn

Reply via email to