From owner-freebsd-sparc64@FreeBSD.ORG Tue Jun 2 13:00:30 2009 Return-Path: Delivered-To: sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07023106566B; Tue, 2 Jun 2009 13:00:30 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id A294C8FC1E; Tue, 2 Jun 2009 13:00:29 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=OuBKs5jxhh2cLEEBBkkH7c7sn1rf5o/xuFXyhQWLmrQ7cbfQf+77qNzTAzUcYmXqT7yoa4hR7zKQEB6nqwikkxOOxxRHZD9rfCGx8CBmHguVtvJ9Q38lVn1OpN4dsXfJxIQz/3uorfLFoWnZ+d7ut+SFwEL+oPVyN+IzQU/f8D4=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MBTPn-000KyA-7X; Tue, 02 Jun 2009 16:48:27 +0400 Date: Tue, 2 Jun 2009 16:48:24 +0400 From: Eygene Ryabinkin To: FreeBSD Tinderbox Message-ID: References: <20090602120612.37D267302F@freebsd-current.sentex.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="fmvA4kSBHQVZhkR6" Content-Disposition: inline In-Reply-To: <20090602120612.37D267302F@freebsd-current.sentex.ca> Sender: rea-fbsd@codelabs.ru Cc: current@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2009 13:00:30 -0000 --fmvA4kSBHQVZhkR6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Tue, Jun 02, 2009 at 08:06:12AM -0400, FreeBSD Tinderbox wrote: > /src/sys/dev/pci/pci.c:320: error: for each function it appears in.) > /src/sys/dev/pci/pci.c:320: error: expected ';' before 'ap' > cc1: warnings being treated as errors > /src/sys/dev/pci/pci.c:325: warning: implicit declaration of function 'va_start' > /src/sys/dev/pci/pci.c:325: warning: nested extern declaration of 'va_start' > /src/sys/dev/pci/pci.c:325: error: 'ap' undeclared (first use in this function) > /src/sys/dev/pci/pci.c:327: warning: implicit declaration of function 'va_end' > /src/sys/dev/pci/pci.c:327: warning: nested extern declaration of 'va_end' > *** Error code 1 Perhaps the attached patch will fix the stuff? For enabled ACPI (__HAVE_ACPI) machine/stdarg.h is brought by contrib/dev/acpica/acpi.h, but seems like sparc64 nave no ACPI. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # --fmvA4kSBHQVZhkR6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=p diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 5055762..63d9cee 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #if defined(__i386__) || defined(__amd64__) #include --fmvA4kSBHQVZhkR6--