USB4BSD (work in progress) pushed

Andrey N. Oktyabrski ano at bestmx.ru
Fri Dec 21 02:43:23 PST 2012


I get a kernel compilation error on fresh (master) sources:
...
cc  -O -pipe   -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -Wold-style-definition -Wold-style-declaration 
-Wno-pointer-sign -std=c99 -DKLD_MODULE -nostdinc  -I. -I@ 
-I/usr/obj/usr/src/sys/X86_64_GENERIC 
-I/usr/obj/usr/src/sys/X86_64_GENERIC/include -I@/../include -include 
/usr/obj/usr/src/sys/X86_64_GENERIC/opt_global.h -g 
-fno-omit-frame-pointer -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-common 
-ffreestanding -mpreferred-stack-boundary=4 -fno-stack-protector 
-mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse 
-mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 
-mno-sse4a  -mno-sse5 -mno-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt 
-msoft-float -fno-asynchronous-unwind-tables -fno-omit-frame-pointer 
-std=gnu99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-Wold-style-definition -Wold-style-declaration  -Wno-pointer-sign 
-std=c99 -c /usr/src/sys/bus/u4b/controller/uhci/../uhci_pci.c
/usr/src/sys/bus/u4b/controller/uhci/../uhci_pci.c:81: error: expected 
'=', ',', ';', 'asm' or '__attribute__' before 'uhci_pci_take_controller'
/usr/src/sys/bus/u4b/controller/uhci/../uhci_pci.c:427: error: 
'usb_take_controller_desc' undeclared here (not in a function)
*** Error code 1

Stop.
make: stopped in /usr/src/sys/bus/u4b/controller/uhci
*** Error code 1



More information about the Users mailing list