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

From: Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de>
Date: Wed, 24 Dec 2008 22:44:35 +0100
On Wed, Dec 24, 2008 at 12:12:02PM +0100, Hans Petter Selasky wrote:
> 
> Hi,
> 
> 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
> 
Hello!

During buildworld I'm getting:

===> usr.bin/kdump (all)
cc -O2 -pipe -march=pentium4m -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.
bin/kdump -I/usr/src/usr.bin/kdump/../.. -fstack-protector  -c /usr/src/usr.bin/
kdump/kdump.c
cc -O2 -pipe -march=pentium4m -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.
bin/kdump -I/usr/src/usr.bin/kdump/../.. -fstack-protector  -c ioctl.c
In file included from ioctl.c:55:
/usr/obj/usr/src/tmp/usr/include/dev/usb2/include/urio2_ioctl.h:27: error: redef
inition of 'struct RioCommand'
*** Error code 1

Stop in /usr/src/usr.bin/kdump.
*** Error code 1


Some investigations:
[localhost] /usr/src/sys/dev/usb2> grep -R urio2_ioctl.h *
include/.svn/text-base/urio2_ioctl.h.svn-base:/*  $FreeBSD: src/sys/dev/usb2/include/urio2_ioctl.h,v 1.1 2008/11/04 02:31:03 alfred Exp $ */
include/.svn/entries:urio2_ioctl.h
include/urio2_ioctl.h:/*  $FreeBSD: src/sys/dev/usb2/include/urio2_ioctl.h,v 1.1 2008/11/04 02:31:03 alfred Exp $ */

After
localhost# rm sys/dev/usb2/include/urio2_ioctl.h
localhost# rm /usr/obj/usr/src/tmp/usr/include/dev/usb2/include/urio2_ioctl.h

and -DNO_CLEAN buildworld is gone beyond kdump
(doing honest buildworld takes more then 2.5 hours -> no fun :).

Some stale file?

Alexey.
Received on Wed Dec 24 2008 - 20:44:20 UTC

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