Kernel build failed

E. O. enginbsd at gmail.com
Mon Dec 28 09:51:10 UTC 2009


Kernel GENERIC -> http://www.siran.net/GENERIC

pls help me..


./pci_if.h:238: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '_MS'
./pci_if.h:238: error: stray '\335' in program
cc1: warnings being treated as errors
In file included from /usr/src/sys/modules/3dfx/../../dev/tdfx/tdfx_pci.c:60:
@/dev/pci/pcivar.h: In function 'pci_get_subvendor':
@/dev/pci/pcivar.h:244: warning: implicit declaration of function
'BUS_READ_IVAR'
@/dev/pci/pcivar.h:244: warning: nested extern declaration of 'BUS_READ_IVAR'
@/dev/pci/pcivar.h: In function 'pci_set_subvendor':
@/dev/pci/pcivar.h:244: warning: implicit declaration of function
'BUS_WRITE_IVAR'
@/dev/pci/pcivar.h:244: warning: nested extern declaration of 'BUS_WRITE_IVAR'
@/dev/pci/pcivar.h: In function 'pci_read_config':
@/dev/pci/pcivar.h:274: warning: implicit declaration of function
'PCI_READ_CONFIG'
@/dev/pci/pcivar.h:274: warning: nested extern declaration of 'PCI_READ_CONFIG'
@/dev/pci/pcivar.h: In function 'pci_write_config':
@/dev/pci/pcivar.h:280: warning: implicit declaration of function
'PCI_WRITE_CONFIG'
@/dev/pci/pcivar.h:280: warning: nested extern declaration of 'PCI_WRITE_CONFIG'
@/dev/pci/pcivar.h: In function 'pci_enable_busmaster':
@/dev/pci/pcivar.h:318: warning: implicit declaration of function
'PCI_ENABLE_BUSMASTER'
@/dev/pci/pcivar.h:318: warning: nested extern declaration of
'PCI_ENABLE_BUSMASTER'
@/dev/pci/pcivar.h: In function 'pci_disable_busmaster':
@/dev/pci/pcivar.h:324: warning: implicit declaration of function
'PCI_DISABLE_BUSMASTER'
@/dev/pci/pcivar.h:324: warning: nested extern declaration of
'PCI_DISABLE_BUSMASTER'
@/dev/pci/pcivar.h: In function 'pci_enable_io':
@/dev/pci/pcivar.h:330: warning: implicit declaration of function
'PCI_ENABLE_IO'
@/dev/pci/pcivar.h:330: warning: nested extern declaration of 'PCI_ENABLE_IO'
@/dev/pci/pcivar.h: In function 'pci_disable_io':
@/dev/pci/pcivar.h:336: warning: implicit declaration of function
'PCI_DISABLE_IO'
@/dev/pci/pcivar.h:336: warning: nested extern declaration of 'PCI_DISABLE_IO'
@/dev/pci/pcivar.h: In function 'pci_get_vpd_ident':
@/dev/pci/pcivar.h:342: warning: implicit declaration of function
'PCI_GET_VPD_IDENT'
@/dev/pci/pcivar.h:342: warning: nested extern declaration of
'PCI_GET_VPD_IDENT'
@/dev/pci/pcivar.h: In function 'pci_get_vpd_readonly':
@/dev/pci/pcivar.h:348: warning: implicit declaration of function
'PCI_GET_VPD_READONLY'
@/dev/pci/pcivar.h:348: warning: nested extern declaration of
'PCI_GET_VPD_READONLY'
@/dev/pci/pcivar.h: In function 'pci_set_powerstate':
@/dev/pci/pcivar.h:393: warning: implicit declaration of function
'PCI_SET_POWERSTATE'
@/dev/pci/pcivar.h:393: warning: nested extern declaration of
'PCI_SET_POWERSTATE'
@/dev/pci/pcivar.h: In function 'pci_get_powerstate':
@/dev/pci/pcivar.h:399: warning: implicit declaration of function
'PCI_GET_POWERSTATE'
@/dev/pci/pcivar.h:399: warning: nested extern declaration of
'PCI_GET_POWERSTATE'
@/dev/pci/pcivar.h: In function 'pci_find_extcap':
@/dev/pci/pcivar.h:405: warning: implicit declaration of function
'PCI_FIND_EXTCAP'
@/dev/pci/pcivar.h:405: warning: nested extern declaration of 'PCI_FIND_EXTCAP'
@/dev/pci/pcivar.h: In function 'pci_alloc_msi':
@/dev/pci/pcivar.h:411: warning: implicit declaration of function
'PCI_ALLOC_MSI'
@/dev/pci/pcivar.h:411: warning: nested extern declaration of 'PCI_ALLOC_MSI'
@/dev/pci/pcivar.h: In function 'pci_alloc_msix':
@/dev/pci/pcivar.h:417: warning: implicit declaration of function
'PCI_ALLOC_MSIX'
@/dev/pci/pcivar.h:417: warning: nested extern declaration of 'PCI_ALLOC_MSIX'
@/dev/pci/pcivar.h: In function 'pci_remap_msix':
@/dev/pci/pcivar.h:423: warning: implicit declaration of function
'PCI_REMAP_MSIX'
@/dev/pci/pcivar.h:423: warning: nested extern declaration of 'PCI_REMAP_MSIX'
@/dev/pci/pcivar.h: In function 'pci_release_msi':
@/dev/pci/pcivar.h:429: warning: implicit declaration of function
'PCI_RELEASE_MSI'
@/dev/pci/pcivar.h:429: warning: nested extern declaration of 'PCI_RELEASE_MSI'
@/dev/pci/pcivar.h: In function 'pci_msi_count':
@/dev/pci/pcivar.h:435: warning: implicit declaration of function
'PCI_MSI_COUNT'
@/dev/pci/pcivar.h:435: warning: nested extern declaration of 'PCI_MSI_COUNT'
@/dev/pci/pcivar.h: In function 'pci_msix_count':
@/dev/pci/pcivar.h:441: warning: implicit declaration of function
'PCI_MSIX_COUNT'
@/dev/pci/pcivar.h:441: warning: nested extern declaration of 'PCI_MSIX_COUNT'
*** Error code 1
1 error
*** Error code 2
1 error


More information about the freebsd-acpi mailing list