PLEASE TEST: interrupt assignment patch
Thomas Moestl
t.moestl at tu-bs.de
Fri May 30 05:45:08 PDT 2003
On Fri, 2003/05/30 at 15:24:57 +0300, Marian Dobre wrote:
> Hello,
>
> I can't compile the kernel after I applied the patch on my E450.
> This is the error I'm getting.
>
> rib/ipfilter -D_KERNEL -include opt_global.h -mcmodel=medlow
> -msoft-float -fno-common -ffreestanding -Werror
> /usr/src/sys/sparc64/pci/ofw_pci.c
> /usr/src/sys/sparc64/pci/ofw_pci.c:76: conflicting types for
> `ofw_pci_orb_callback'
> /usr/src/sys/sparc64/pci/ofw_pci.h:74: previous declaration of
> `ofw_pci_orb_callback'
> /usr/src/sys/sparc64/pci/ofw_pci.c: In function `ofw_pci_orb_callback':
> /usr/src/sys/sparc64/pci/ofw_pci.c:92: `slot' undeclared (first use in
> this function)
> /usr/src/sys/sparc64/pci/ofw_pci.c:92: (Each undeclared identifier is
> reported only once
> /usr/src/sys/sparc64/pci/ofw_pci.c:92: for each function it appears in.)
> /usr/src/sys/sparc64/pci/ofw_pci.c:94: `found' undeclared (first use in
> this function)
> cc1: warnings being treated as errors
> /usr/src/sys/sparc64/pci/ofw_pci.c: In function `ofw_pci_route_intr':
> /usr/src/sys/sparc64/pci/ofw_pci.c:110: warning: passing arg 3 of
> `ofw_bus_route_intr' from incompatible pointer type
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/CUSTOM.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
This looks like a hosed source tree; the declaration of
ofw_pci_orb_callback, for example, is not touched at all by the
patch.
- Thomas
--
Thomas Moestl <t.moestl at tu-bs.de> http://www.tu-bs.de/~y0015675/
<tmm at FreeBSD.org> http://people.FreeBSD.org/~tmm/
PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C
More information about the freebsd-sparc64
mailing list