public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Hedin <andrewthegreat@mail.ru>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Can't understand
Date: Wed, 12 May 2004 18:20:59 +0700	[thread overview]
Message-ID: <200405121820.59166.andrewthegreat@mail.ru> (raw)

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

             reply	other threads:[~2004-05-12 11:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-12 11:20 Hedin [this message]
2004-05-12 11:52 ` [Bluez-users] Can't understand 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405121820.59166.andrewthegreat@mail.ru \
    --to=andrewthegreat@mail.ru \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox