From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 22 07:59:30 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 B6FFE16A4BF for ; Fri, 22 Aug 2003 07:59:30 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F7EA43F93 for ; Fri, 22 Aug 2003 07:59:29 -0700 (PDT) (envelope-from tmoestl@gmx.net) Received: (qmail 30444 invoked by uid 65534); 22 Aug 2003 14:59:28 -0000 Received: from p508E59B3.dip.t-dialin.net (EHLO galatea.local) (80.142.89.179) by mail.gmx.net (mp013) with SMTP; 22 Aug 2003 16:59:28 +0200 Received: from tmm by galatea.local with local (Exim 4.22 #1) id 19qDOO-0003WT-Rv; Fri, 22 Aug 2003 16:59:56 +0200 Date: Fri, 22 Aug 2003 16:59:56 +0200 From: Thomas Moestl To: Maxim Mazurok Message-ID: <20030822145956.GA673@crow.dom2ip.de> References: <20030801132240.GA77415@km.ua> <20030801170417.GC834@crow.dom2ip.de> <20030822131349.GD21392@km.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030822131349.GD21392@km.ua> User-Agent: Mutt/1.4.1i Sender: Thomas Moestl cc: freebsd-sparc@freebsd.org Subject: Re: sio(4) driver 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, 22 Aug 2003 14:59:31 -0000 On Fri, 2003/08/22 at 16:13:49 +0300, Maxim Mazurok wrote: > i try to upgrade my 5.1-RELEASE to 5-CURRENT. > in 5-CURRENT tree this patch not applied yet. > i try to apply your patch and rebuild kernel, but have this: > > root@fang:/sys/sparc64/compile/FANG#make all > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mcmodel=medlow -msoft-float -ffreestanding -Werror ../../../dev/sio/sio.c > cc1: warnings being treated as errors > ../../../dev/sio/sio.c: In function `siocnmap': > ../../../dev/sio/sio.c:3448: warning: implicit declaration of function `sparc64_fake_bustag' > *** Error code 1 > > Stop in /var/src/sys/sparc64/compile/FANG. > > can you help me? The declaration for this function was moved around, so you need an additional include; an updated patch is available at http://people.freebsd.org/~tmm/sio-s64-20030822.diff - 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