Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 23:31:27 +0300
From:      Michael Zhilin <mizhka@gmail.com>
To:        freebsd-mips@freebsd.org
Subject:   MSI & INTRNG: buildkernel error
Message-ID:  <CAF19XBLCogdO=K0OYOeW1cw_vc3u4ccny19o4vUQQptFgOXs5w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF19XBLCogdO=K0OYOeW1cw_vc3u4ccny19o4vUQQptFgOXs5w>