View previous topic :: View next topic |
Author |
Message |
hcp n00b
Joined: 03 Apr 2003 Posts: 62
|
Posted: Tue Jun 03, 2003 2:33 pm Post subject: Problem compiling bluez-kernel |
|
|
Hi, I am trying to compile the bluez stuff, and everything looks good except for the bluez-kernel package. When compiling, it complains about parse errors while attempting to compile hci_usb.
This also happens if I try to compile ite manually.
Here is the start of the errors:
In file included from hci_usb.c:58:
hci_usb.h:58: parse error before "purb_t"
hci_usb.h:58: warning: no semicolon at end of struct or union
hci_usb.h:67: parse error before '}' token
hci_usb.c:99: parse error before "hci_usb_get_completed"
hci_usb.c:100: warning: return type defaults to `int'
hci_usb.c: In function `hci_usb_get_completed':
hci_usb.c:102: `purb_t' undeclared (first use in this function)
hci_usb.c:102: (Each undeclared identifier is reported only once
hci_usb.c:102: for each function it appears in.)
hci_usb.c:102: parse error before "urb"
hci_usb.c:104: dereferencing pointer to incomplete type
hci_usb.c:106: `urb' undeclared (first use in this function)
hci_usb.c: In function `hci_usb_enable_intr':
hci_usb.c:130: dereferencing pointer to incomplete type
hci_usb.c:132: dereferencing pointer to incomplete type
hci_usb.c:132: dereferencing pointer to incomplete type
hci_usb.c:133: dereferencing pointer to incomplete type
The rest goes on as this for quite som time, too much to post here.
It looks the referenced file is hci_usb.h, and "purb_t" is inside a struct definition there.
Any ideas anyone? |
|
Back to top |
|
|
Achilles Apprentice
Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Wed Aug 13, 2003 12:24 am Post subject: |
|
|
I'm getting this too... anyone have any luck? |
|
Back to top |
|
|
patan n00b
Joined: 19 Feb 2003 Posts: 66
|
Posted: Wed Aug 13, 2003 11:38 am Post subject: |
|
|
You don't need bluez-kernel anymore, just use the bluez stuff in gentoo-souces and you'll be fine. |
|
Back to top |
|
|
Achilles Apprentice
Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Thu Aug 21, 2003 2:57 am Post subject: |
|
|
I can't find a section labled bluez in the kernel... is the bluez code now just the default bluetooth code? (I'm using 2.4.20-r5 btw) |
|
Back to top |
|
|
patan n00b
Joined: 19 Feb 2003 Posts: 66
|
Posted: Mon Aug 25, 2003 9:27 am Post subject: |
|
|
Yes, if you use menuconfig and enter the blue tooth menu, choose help and you see the module is named CONFIG_BLUEZ. |
|
Back to top |
|
|
|