public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Can't understand
@ 2004-05-12 11:20 Hedin
  2004-05-12 11:52 ` Michal Semler
  2004-05-12 13:17 ` Marcel Holtmann
  0 siblings, 2 replies; 6+ messages in thread
From: Hedin @ 2004-05-12 11:20 UTC (permalink / raw)
  To: bluez-users

I have Redhat 9.0 with 2.6.6-mh1 patched kernel and all modules compiled.
I have Tecom BT3030 Dongle.

I compiled bluez-libs-2.7 and bluez-utils-2.7. After some effort (big effort!) 
I managed to compile bluez-pin (why is it needed - no word anywhere...).

I also installed all other modules without problems, except bluez-bluefw. It 
gives following errors:

# make

... SOME INFO...


source='bluefw.c' object='bluefw.o' libtool=no \
depfile='.deps/bluefw.Po' tmpdepfile='.deps/bluefw.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bluez-bluefw\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DBT3C_SUPPORT=1  -I. 
-I. -I/usr/src/linux/include    -Wall -g -O2 -c `test -f 'bluefw.c' || echo 
'./'`bluefw.c
In file included from usblib.h:30,
                 from bluefw.c:39:
/usr/src/linux/include/linux/usbdevice_fs.h:49: variable or field `__user' 
declared void
/usr/src/linux/include/linux/usbdevice_fs.h:49: warning: no semicolon at end 
of struct or union
/usr/src/linux/include/linux/usbdevice_fs.h:49: parse error before '*' token
/usr/src/linux/include/linux/usbdevice_fs.h:56: variable or field `__user' 
declared void
/usr/src/linux/include/linux/usbdevice_fs.h:56: warning: no semicolon at end 
of struct or union
/usr/src/linux/include/linux/usbdevice_fs.h:56: parse error before '*' token
/usr/src/linux/include/linux/usbdevice_fs.h:100: variable or field `__user' 
declared void
/usr/src/linux/include/linux/usbdevice_fs.h:100: warning: no semicolon at end 
of struct or union
/usr/src/linux/include/linux/usbdevice_fs.h:100: parse error before '*' token
/usr/src/linux/include/linux/usbdevice_fs.h:109: parse error before '}' token
/usr/src/linux/include/linux/usbdevice_fs.h:116: variable or field `__user' 
declared void
/usr/src/linux/include/linux/usbdevice_fs.h:116: warning: no semicolon at end 
of struct or union
/usr/src/linux/include/linux/usbdevice_fs.h:116: parse error before '*' token

... BAILS OUT...

/usr/src/linux is pointing to valid current kernel sources. Whats wrong with 
them? Problems with kernel?

Ok. I try to search for devices. When I do `hcitool dev` it gives no devices, 
when I do `hcitool inq` it gives:
Inquiring ...
Inquiry failed.: No such device

When I do `/usr/sbin/hciconfig hci0 up"
It gives: Can't get device info: No such device

The kernel sees the dongle (just as USB device).

At last, here is `lsmod`:
hci_usb                11264  0
l2cap                  23680  0
bluetooth              44900  2 hci_usb,l2cap

Are that all necessary modules, I guess?

What is the problem? Thx in advance. 



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-12 21:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 11:20 [Bluez-users] Can't understand Hedin
2004-05-12 11:52 ` Michal Semler
2004-05-12 13:17 ` Marcel Holtmann
     [not found]   ` <200405122046.02992.andrewthegreat@mail.ru>
2004-05-12 17:13     ` Marcel Holtmann
2004-05-12 20:38   ` Achim Bohnet
2004-05-12 21:39     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox