Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2010 23:01:06 +0200
From:      "E. O." <enginbsd@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   kernel build failed
Message-ID:  <86095ec11001021301i25e91191kdcc2a1673795dce7@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
pls help me , kernel always returns an error

/usr# ls -l /usr/
total 66
drwxrwxr-x   2 root  operator    512  2 Oca 14:26 .snap
lrwxr-xr-x   1 root  wheel        10  1 Oca 20:35 X11R6 -> /usr/local
drwxr-xr-x   2 root  wheel      7168  2 Oca 12:43 bin
drwxr-xr-x   3 root  wheel       512  1 Oca 20:42 compat
drwxr-xr-x   2 root  wheel       512  1 Oca 16:21 games
drwxr-xr-x   4 root  wheel       512  1 Oca 16:51 home
drwxr-xr-x  46 root  wheel      5120  1 Oca 16:18 include
drwxr-xr-x   6 root  wheel     11776  1 Oca 16:21 lib
drwxr-xr-x   3 root  wheel     12288 21 Kas 16:31 lib32
drwxr-xr-x   5 root  wheel       512 21 Kas 16:29 libdata
drwxr-xr-x   5 root  wheel      1536  1 Oca 16:21 libexec
drwxr-xr-x  18 root  wheel       512  1 Oca 20:55 local
drwxr-xr-x   3 root  wheel       512  2 Oca 22:47 obj
drwxr-xr-x  69 root  wheel      1536  2 Oca 18:01 ports
drwxr-xr-x   2 root  wheel      5120  1 Oca 16:18 sbin
drwxr-xr-x  25 root  wheel       512 21 Kas 17:03 share
drwxr-xr-x  22 root  wheel      1024  2 Oca 22:31 src

I have re-operations, but still get an error ..


# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.FreeBSD.org <http://cvsup.freebsd.org/>;

*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_0
*default delete use-rel-suffix

src-all



source update and

cd /usr/src

make cleandir && make cleandir && rm -rf /usr/obj

make buildkernel

and error


./pci_if.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_RELEASE_MS'
./pci_if.h:214: error: stray '\335' in program

./pci_if.h:226: error: stray '\335' in program
./pci_if.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_MS'
./pci_if.h:226: error: stray '\335' in program
./pci_if.h:238: error: stray '\335' in program
./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/dev/aic7xxx/aic7xxx_osm.h:72,
                 from aic7xxx_reg_print.c:9:
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_get_subvendor':
/usr/src/sys/dev/pci/pcivar.h:244: warning: implicit declaration of function
'BUS_READ_IVAR'
/usr/src/sys/dev/pci/pcivar.h:244: warning: nested extern declaration of
'BUS_READ_IVAR'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_set_subvendor':
/usr/src/sys/dev/pci/pcivar.h:244: warning: implicit declaration of function
'BUS_WRITE_IVAR'
/usr/src/sys/dev/pci/pcivar.h:244: warning: nested extern declaration of
'BUS_WRITE_IVAR'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_read_config':
/usr/src/sys/dev/pci/pcivar.h:274: warning: implicit declaration of function
'PCI_READ_CONFIG'
/usr/src/sys/dev/pci/pcivar.h:274: warning: nested extern declaration of
'PCI_READ_CONFIG'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_write_config':
/usr/src/sys/dev/pci/pcivar.h:280: warning: implicit declaration of function
'PCI_WRITE_CONFIG'
/usr/src/sys/dev/pci/pcivar.h:280: warning: nested extern declaration of
'PCI_WRITE_CONFIG'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_enable_busmaster':
/usr/src/sys/dev/pci/pcivar.h:318: warning: implicit declaration of function
'PCI_ENABLE_BUSMASTER'
/usr/src/sys/dev/pci/pcivar.h:318: warning: nested extern declaration of
'PCI_ENABLE_BUSMASTER'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_disable_busmaster':
/usr/src/sys/dev/pci/pcivar.h:324: warning: implicit declaration of function
'PCI_DISABLE_BUSMASTER'
/usr/src/sys/dev/pci/pcivar.h:324: warning: nested extern declaration of
'PCI_DISABLE_BUSMASTER'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_enable_io':
/usr/src/sys/dev/pci/pcivar.h:330: warning: implicit declaration of function
'PCI_ENABLE_IO'
/usr/src/sys/dev/pci/pcivar.h:330: warning: nested extern declaration of
'PCI_ENABLE_IO'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_disable_io':
/usr/src/sys/dev/pci/pcivar.h:336: warning: implicit declaration of function
'PCI_DISABLE_IO'
/usr/src/sys/dev/pci/pcivar.h:336: warning: nested extern declaration of
'PCI_DISABLE_IO'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_get_vpd_ident':
/usr/src/sys/dev/pci/pcivar.h:342: warning: implicit declaration of function
'PCI_GET_VPD_IDENT'
/usr/src/sys/dev/pci/pcivar.h:342: warning: nested extern declaration of
'PCI_GET_VPD_IDENT'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_get_vpd_readonly':
/usr/src/sys/dev/pci/pcivar.h:348: warning: implicit declaration of function
'PCI_GET_VPD_READONLY'
/usr/src/sys/dev/pci/pcivar.h:348: warning: nested extern declaration of
'PCI_GET_VPD_READONLY'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_set_powerstate':
/usr/src/sys/dev/pci/pcivar.h:393: warning: implicit declaration of function
'PCI_SET_POWERSTATE'
/usr/src/sys/dev/pci/pcivar.h:393: warning: nested extern declaration of
'PCI_SET_POWERSTATE'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_get_powerstate':
/usr/src/sys/dev/pci/pcivar.h:399: warning: implicit declaration of function
'PCI_GET_POWERSTATE'
/usr/src/sys/dev/pci/pcivar.h:399: warning: nested extern declaration of
'PCI_GET_POWERSTATE'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_find_extcap':
/usr/src/sys/dev/pci/pcivar.h:405: warning: implicit declaration of function
'PCI_FIND_EXTCAP'
/usr/src/sys/dev/pci/pcivar.h:405: warning: nested extern declaration of
'PCI_FIND_EXTCAP'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_alloc_msi':
/usr/src/sys/dev/pci/pcivar.h:411: warning: implicit declaration of function
'PCI_ALLOC_MSI'
/usr/src/sys/dev/pci/pcivar.h:411: warning: nested extern declaration of
'PCI_ALLOC_MSI'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_alloc_msix':
/usr/src/sys/dev/pci/pcivar.h:417: warning: implicit declaration of function
'PCI_ALLOC_MSIX'
/usr/src/sys/dev/pci/pcivar.h:417: warning: nested extern declaration of
'PCI_ALLOC_MSIX'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_remap_msix':
/usr/src/sys/dev/pci/pcivar.h:423: warning: implicit declaration of function
'PCI_REMAP_MSIX'
/usr/src/sys/dev/pci/pcivar.h:423: warning: nested extern declaration of
'PCI_REMAP_MSIX'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_release_msi':
/usr/src/sys/dev/pci/pcivar.h:429: warning: implicit declaration of function
'PCI_RELEASE_MSI'
/usr/src/sys/dev/pci/pcivar.h:429: warning: nested extern declaration of
'PCI_RELEASE_MSI'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_msi_count':
/usr/src/sys/dev/pci/pcivar.h:435: warning: implicit declaration of function
'PCI_MSI_COUNT'
/usr/src/sys/dev/pci/pcivar.h:435: warning: nested extern declaration of
'PCI_MSI_COUNT'
/usr/src/sys/dev/pci/pcivar.h: In function 'pci_msix_count':
/usr/src/sys/dev/pci/pcivar.h:441: warning: implicit declaration of function
'PCI_MSIX_COUNT'
/usr/src/sys/dev/pci/pcivar.h:441: warning: nested extern declaration of
'PCI_MSIX_COUNT'
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1



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