Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Oct 2003 21:04:19 +0900
From:      Seigo Tanimura <tanimura@tanimura.dyndns.org>
To:        current@FreeBSD.org
Cc:        Seigo Tanimura <tanimura@tanimura.dyndns.org>
Subject:   Is pci a must on sparc64?
Message-ID:  <200310051204.h95C4JBX029367@silver.tanimura.dyndns.org>

next in thread | raw e-mail | index | archive | help
A sparc64 kernel without pci device fails to build.  The kernel is
configured for Ultra2 with no pci devices.

--- v --- log --- v ---
daiba% make
cc -c -O -pipe -g  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. -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  ../../../sparc64/sparc64/ofw_machdep.c
In file included from ../../../sparc64/sparc64/ofw_machdep.c:45:
../../../sparc64/pci/ofw_pci.h:41:24: ofw_pci_if.h: No such file or directory
*** Error code 1

Stop in /home/silver4/tanimura/p4-freefall/handoffpri/sparc64/compile/DAIBA.
daiba%
--- ^ --- log --- ^ ---

ofw_machdep.c unconditionally includes ofw_pci_if.h, even if pci
device is not configured.  Do I have to configure pci even for non-pci
machines?

-- 
Seigo Tanimura <tanimura@tanimura.dyndns.org> <tanimura@FreeBSD.org>



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