Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 14:45:51 +0200
From:      Thomas Moestl <t.moestl@tu-bs.de>
To:        Marian Dobre <mari@onix.ro>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: PLEASE TEST: interrupt assignment patch
Message-ID:  <20030530124551.GC654@crow.dom2ip.de>
In-Reply-To: <3ED74D99.7080308@onix.ro>
References:  <20030529113731.GB630@crow.dom2ip.de> <3ED74D99.7080308@onix.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tu-bs.de>	http://www.tu-bs.de/~y0015675/
              <tmm@FreeBSD.org>		http://people.FreeBSD.org/~tmm/
PGP fingerprint: 1C97 A604 2BD0 E492 51D0  9C0F 1FE6 4F1D 419C 776C



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