Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem compiling bluez-kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hcp
n00b
n00b


Joined: 03 Apr 2003
Posts: 62

PostPosted: Tue Jun 03, 2003 2:33 pm    Post subject: Problem compiling bluez-kernel Reply with quote

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
View user's profile Send private message
Achilles
Apprentice
Apprentice


Joined: 03 Jun 2002
Posts: 259
Location: Chicago

PostPosted: Wed Aug 13, 2003 12:24 am    Post subject: Reply with quote

I'm getting this too... anyone have any luck?
Back to top
View user's profile Send private message
patan
n00b
n00b


Joined: 19 Feb 2003
Posts: 66

PostPosted: Wed Aug 13, 2003 11:38 am    Post subject: Reply with quote

You don't need bluez-kernel anymore, just use the bluez stuff in gentoo-souces and you'll be fine.
Back to top
View user's profile Send private message
Achilles
Apprentice
Apprentice


Joined: 03 Jun 2002
Posts: 259
Location: Chicago

PostPosted: Thu Aug 21, 2003 2:57 am    Post subject: Reply with quote

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
View user's profile Send private message
patan
n00b
n00b


Joined: 19 Feb 2003
Posts: 66

PostPosted: Mon Aug 25, 2003 9:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum