Thursday, March 18, 2010

compile error [OpenBSD 4.5]

../../../../arch/i386/pci/
pci_machdep.c: In function `pci_intr_map':
../../../../arch/i386/pci/pci_machdep.c:446: error: `PCI_INT_VIA_ISA' undeclared (first use in this function)
../../../../arch/i386/pci/pci_machdep.c:446: error: (Each undeclared identifier is reported only once
../../../../arch/i386/pci/pci_machdep.c:446: error: for each function it appearsin.)
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/Diajeng.Net (line 92 of /usr/share/mk/sys.mk).

====== solved with option below ======
pcibios0 at bios0 flags 0x0000 # use 0x30 for a total verbose
============================

gscpcib.o(.text+0xb0): In function `gscpcib_attach':
: undefined reference to `gpiobus_print'
acpi.o(.text+0x58): In function `acpi_gasio':
: undefined reference to `acpiec_read'
acpi.o(.text+0x6d): In function `acpi_gasio':
: undefined reference to `acpiec_write'
*** Error code 1
====== solved with option below ======
acpiec* at acpi?
============================

1 comment:

noname said...

Mantaf...
matur nuwun bozz...