MSI & INTRNG: buildkernel error

Michael Zhilin mizhka at gmail.com
Mon May 16 20:41:30 UTC 2016


"kern/msi_if.m                optional intrng"@files.xyz fixed issue for
me, but may be there will be generic fix :)

Best regards,
  Michael

On Mon, May 16, 2016 at 11:31 PM, Michael Zhilin <mizhka at gmail.com> wrote:

> Hi,
>
> On today -head I get error on buildkernel @mips:
> subr_intr.c:73:20: error: msi_if.h: No such file or directory.
>
> I suppose it's related to recent MSI commits for INTRNG. But how to fix it?
>
> Here is full output of error:
>
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:73:20: error: msi_if.h: No
> such file or directory
> cc1: warnings being treated as errors
> /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function 'intr_alloc_msi':
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1319: warning: implicit
> declaration of function 'MSI_ALLOC_MSI'
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1319: warning: nested extern
> declaration of 'MSI_ALLOC_MSI' [-Wnested-externs]
> /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function
> 'intr_release_msi':
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1357: warning: implicit
> declaration of function 'MSI_RELEASE_MSI'
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1357: warning: nested extern
> declaration of 'MSI_RELEASE_MSI' [-Wnested-externs]
> /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function
> 'intr_alloc_msix':
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1378: warning: implicit
> declaration of function 'MSI_ALLOC_MSIX'
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1378: warning: nested extern
> declaration of 'MSI_ALLOC_MSIX' [-Wnested-externs]
> /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function
> 'intr_release_msix':
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1405: warning: implicit
> declaration of function 'MSI_RELEASE_MSIX'
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1405: warning: nested extern
> declaration of 'MSI_RELEASE_MSIX' [-Wnested-externs]
> /repo/freebsd/onion/src/sys/kern/subr_intr.c: In function 'intr_map_msi':
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1429: warning: implicit
> declaration of function 'MSI_MAP_MSI'
> /repo/freebsd/onion/src/sys/kern/subr_intr.c:1429: warning: nested extern
> declaration of 'MSI_MAP_MSI' [-Wnested-externs]
> --- subr_intr.o ---
> *** [subr_intr.o] Error code 1
>
> bmake[2]: stopped in
> /repo/freebsd/onion/obj/mipsel/mips.mipsel/repo/freebsd/onion/src/sys/BCM
> 1 error
>
> bmake[2]: stopped in
> /repo/freebsd/onion/obj/mipsel/mips.mipsel/repo/freebsd/onion/src/sys/BCM
> --- buildkernel ---
> *** [buildkernel] Error code 2
>
> bmake[1]: stopped in /repo/freebsd/onion/src
> 1 error
>
> bmake[1]: stopped in /repo/freebsd/onion/src
> --- buildkernel ---
> *** [buildkernel] Error code 2
>
> make: stopped in /repo/freebsd/onion/src
> 1 error
>
> make: stopped in /repo/freebsd/onion/src
>
> Thank you in advance,
>   Michael
>


More information about the freebsd-mips mailing list