Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 17:52:37 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB bluetooth dongles
Message-ID:  <1152913957.758.5.camel@RabbitsDen>
In-Reply-To: <200607141645.56279.hselasky@c2i.net>
References:  <200607132025.09316.hselasky@c2i.net> <200607131551.01000.amistry@am-productions.biz> <200607132208.47779.hselasky@c2i.net> <200607141645.56279.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 2006-07-14 at 16:45 +0200, Hans Petter Selasky wrote:
> On Thursday 13 July 2006 22:08, Hans Petter Selasky wrote:
> > On Thursday 13 July 2006 21:50, Anish Mistry wrote:
> > > On Thursday 13 July 2006 15:41, Hans Petter Selasky wrote:
> > > > On Thursday 13 July 2006 20:53, Anish Mistry wrote:
> > > > > On Thursday 13 July 2006 14:25, Hans Petter Selasky wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Is there anyone on this list using USB Bluetooth dongles, that
> > > > > > can test my new USB system and the USB Bluetooth driver?
> > > > >
<snip>
> cd i4b/trunk/i4b/FreeBSD.usb
> 
> make S=../src package
> 
> make install  # you can specify a destination directory by using S=XXX
> 
> Then copy the following files to  
> "/usr/src/sys/netgraph/bluetooth/drivers/ubt/" (for example)
> 
> i4b/trunk/i4b/src/sys/netgraph/bluetooth/drivers/ubt/TODO
> i4b/trunk/i4b/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
> i4b/trunk/i4b/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h
> 
> Then build a kernel with the following options:
> 
> device netgraph_bluetooth_ubt
> device netgraph_bluetooth
> device netgraph
> 
> Then I hope it works, after that you have installed the new kernel. Else send 
> me dmesg from the panics you get, like usual :-)
> 
> Thanks,
> --HPS
> _______________________________________________
> freebsd-usb@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"
Error below is what I get with -CURRENT of July 9th. I am building all
USB stuff as modules though, would that be a problem?

If you need full build log, it is available at

http://members.verizon.net/~akovalenko/Misc/KernelBuild.log.gz


===> netgraph/bluetooth/ubt (all)
cc -O2 -fno-strict-aliasing -pipe -march=athlon-xp -Werror -D_KERNEL
-DKLD_MODULE -std=c99 -nostdinc -I-
-I/usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/include -I/usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AVERATEC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/AVERATEC -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -c /usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c
In file included
from /usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c:43:
@/dev/usb2/usb_subr.h:146: error: syntax error before "bus_dma_tag_t"
@/dev/usb2/usb_subr.h:178: error: syntax error before "bus_dma_tag_t"
@/dev/usb2/usb_subr.h:651: error: syntax error before "tag"
@/dev/usb2/usb_subr.h:652: warning: function declaration isn't a
prototype
@/dev/usb2/usb_subr.h:672: error: syntax error before "parent"
@/dev/usb2/usb_subr.h:673: warning: function declaration isn't a
prototype
@/dev/usb2/usb_subr.h:681: error: syntax error before
"usbd_dma_tag_alloc"
@/dev/usb2/usb_subr.h:681: error: syntax error before "parent"
@/dev/usb2/usb_subr.h:681: warning: type defaults to `int' in
declaration of `usbd_dma_tag_alloc'
@/dev/usb2/usb_subr.h:681: warning: function declaration isn't a
prototype
@/dev/usb2/usb_subr.h:681: warning: data definition has no type or
storage class
@/dev/usb2/usb_subr.h:684: error: syntax error before "tag"
@/dev/usb2/usb_subr.h:684: warning: function declaration isn't a
prototype
@/dev/usb2/usb_subr.h:687: error: syntax error before "tag"
@/dev/usb2/usb_subr.h:688: warning: function declaration isn't a
prototype
*** Error code 1

Stop in /usr/src/sys/modules/netgraph/bluetooth/ubt.
*** Error code 1

Stop in /usr/src/sys/modules/netgraph/bluetooth.
*** Error code 1

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

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

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

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

Stop in /usr/src.
RabbitsDen#

-- 
Alexandre Kovalenko (Олександр Коваленко)




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