From owner-freebsd-sparc64@FreeBSD.ORG Fri May 30 05:45:07 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C36ED37B401 for ; Fri, 30 May 2003 05:45:07 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 833CF43FA3 for ; Fri, 30 May 2003 05:45:06 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 4423 invoked by uid 65534); 30 May 2003 12:45:05 -0000 Received: from p508E727E.dip.t-dialin.net (EHLO galatea.local) (80.142.114.126) by mail.gmx.net (mp007) with SMTP; 30 May 2003 14:45:05 +0200 Received: from tmm by galatea.local with local (Exim 4.20 #1) id 19LjGZ-0000yW-Un; Fri, 30 May 2003 14:45:51 +0200 Date: Fri, 30 May 2003 14:45:51 +0200 From: Thomas Moestl To: Marian Dobre Message-ID: <20030530124551.GC654@crow.dom2ip.de> Mail-Followup-To: Marian Dobre , freebsd-sparc64@freebsd.org References: <20030529113731.GB630@crow.dom2ip.de> <3ED74D99.7080308@onix.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ED74D99.7080308@onix.ro> User-Agent: Mutt/1.4.1i Sender: Thomas Moestl cc: freebsd-sparc64@freebsd.org Subject: Re: PLEASE TEST: interrupt assignment patch X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 12:45:08 -0000 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 http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C