[head tinderbox] failure on sparc64/sparc64
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Tue Jun 2 12:48:28 UTC 2009
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
{_.-``-' {_/ #
-------------- next part --------------
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 <machine/bus.h>
#include <sys/rman.h>
#include <machine/resource.h>
+#include <machine/stdarg.h>
#if defined(__i386__) || defined(__amd64__)
#include <machine/intr_machdep.h>
More information about the freebsd-tinderbox
mailing list