Re: HEADSUP usb2 (usb4bsd) to become default in 2 weeks.

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Wed, 24 Dec 2008 20:33:53 +0000
On Wed, 24 Dec 2008 12:12:02 +0100
Hans Petter Selasky <hselasky_at_c2i.net> wrote:

> I have made some patches for this kind of issues which are not yet 
> in -current.
> 
> You can try to fetch the latest from:
> 
> svn --username anonsvn --password anonsvn \
>       checkout svn://svn.turbocat.net/i4b
> 
> cd i4b/trunk/i4b/src/sys/dev
> cp -r usb2 /sys/dev/
> make -C /sys/modules/usb2 clean all install
> 

I'm sure I've done something wrong in the process, but during a build I
get:

cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-std=c99 -nostdinc   -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000
--param inline-unit-growth=100 --param large-function-growth=1000
-fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone
-mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow
-msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fstack-protector -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions
-c /usr/src/sys/modules/usb2/serial_bser/../../../dev/usb2/serial/ubser2.c
ld  -d -warn-common -r -d -o usb2_serial_bser.ko ubser2.o :>
export_syms awk
-f /usr/src/sys/modules/usb2/serial_bser/../../../conf/kmod_syms.awk
usb2_serial_bser.ko  export_syms | xargs -J% objcopy %
usb2_serial_bser.ko objcopy --strip-debug usb2_serial_bser.ko ===>
serial_chcom (all) Warning: Object directory not changed from
original /usr/src/sys/modules/usb2/serial_chcom awk -f
_at_/tools/makeobjops.awk _at_/kern/bus_if.m -h awk -f _at_/tools/makeobjops.awk
_at_/dev/usb2/core/usb2_if.m -h awk -f _at_/tools/makeobjops.awk
_at_/kern/device_if.m -h awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src
-p awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -q awk -f
_at_/tools/vnode_if.awk _at_/kern/vnode_if.src -h :> opt_usb.h :>
opt_bus.h :> opt_compat.h cc -O2 -pipe -fno-strict-aliasing -Werror
-D_KERNEL -DKLD_MODULE -std=c99 -nostdinc   -I. -I_at_ -I_at_/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2
-mno-sse3 -mno-mmx -mno-3dnow  -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-c /usr/src/sys/modules/usb2/serial_chcom/../../../dev/usb2/serial/uchcom2.c /usr/src/sys/modules/usb2/serial_chcom/../../../dev/usb2/serial/uchcom2.c:
In function
'uchcom_do_request': /usr/src/sys/modules/usb2/serial_chcom/../../../dev/usb2/serial/uchcom2.c:423:
error: 'USB_SHORT_XFER_OK' undeclared (first use in this
function) /usr/src/sys/modules/usb2/serial_chcom/../../../dev/usb2/serial/uchcom2.c:423:
error: (Each undeclared identifier is reported only
once /usr/src/sys/modules/usb2/serial_chcom/../../../dev/usb2/serial/uchcom2.c:423:
error: for each function it appears in.) *** Error code 1

Stop in /usr/src/sys/modules/usb2/serial_chcom.
*** Error code 1

Stop in /usr/src/sys/modules/usb2.

-- 
Bruce Cran
Received on Wed Dec 24 2008 - 19:49:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC