Hans Petter Selasky wrote:
Try this patch:
http://perforce.freebsd.org/chv.cgi?CH=160413
--HPS
build error
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc
-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -fstack-protector -Werror
/usr/src/sys/dev/usb/controller/ehci.c
In file included from /usr/src/sys/dev/usb/controller/ehci.c:60:
/usr/src/sys/dev/usb/usb_device.h:125: error: expected ':', ',', ';',
'}' or '__attribute__' before 'struct'
/usr/src/sys/dev/usb/controller/ehci.c: In function
'ehci_setup_standard_chain':
/usr/src/sys/dev/usb/controller/ehci.c:1938: error: 'struct usb2_device'
has no member named 'hs_hub_addr'
/usr/src/sys/dev/usb/controller/ehci.c:1939: error: 'struct usb2_device'
has no member named 'hs_port_no'
/usr/src/sys/dev/usb/controller/ehci.c: In function
'ehci_device_isoc_fs_open':
/usr/src/sys/dev/usb/controller/ehci.c:2365: error: 'struct usb2_device'
has no member named 'hs_hub_addr'
/usr/src/sys/dev/usb/controller/ehci.c:2366: error: 'struct usb2_device'
has no member named 'hs_port_no'
/usr/src/sys/dev/usb/controller/ehci.c: In function 'ehci_pipe_init':
/usr/src/sys/dev/usb/controller/ehci.c:3640: error: 'struct usb2_device'
has no member named 'address'
/usr/src/sys/dev/usb/controller/ehci.c:3640: error: 'struct usb2_device'
has no member named 'flags'
/usr/src/sys/dev/usb/controller/ehci.c:3645: error: 'struct usb2_device'
has no member named 'flags'
/usr/src/sys/dev/usb/controller/ehci.c:3649: error: 'struct usb2_device'
has no member named 'device_index'
/usr/src/sys/dev/usb/controller/ehci.c:3651: error: 'struct usb2_device'
has no member named 'speed'
/usr/src/sys/dev/usb/controller/ehci.c:3652: error: 'struct usb2_device'
has no member named 'hs_hub_addr'
/usr/src/sys/dev/usb/controller/ehci.c:3653: error: 'struct usb2_device'
has no member named 'hs_port_no'
/usr/src/sys/dev/usb/controller/ehci.c:3654: error: 'struct usb2_device'
has no member named 'parent_hs_hub'
/usr/src/sys/dev/usb/controller/ehci.c:3655: error: 'struct usb2_device'
has no member named 'parent_hs_hub'
/usr/src/sys/dev/usb/controller/ehci.c:3667: error: 'struct usb2_device'
has no member named 'speed'
/usr/src/sys/dev/usb/controller/ehci.c:3669: error: 'struct usb2_device'
has no member named 'speed'
/usr/src/sys/dev/usb/controller/ehci.c:3674: error: 'struct usb2_device'
has no member named 'speed'
*** Error code 1
Stop in /usr/obj/usr/src/sys/WSK.
*** Error code 1
Stop in /usr/src.
*** Error code 1
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"