Thread (2 messages) 2 messages, 2 authors, 2007-09-04

[Bluez-users] bccmd compilation fails (help needed)

flat view

From: Ricky Soh <hidden>
Date: 2007-09-04 10:51:32

Hi,

during normal bluez-util-3.18 installation, bccmd in the "tools" folder was
not compiled.

i tried the following compilation but have the following error.

[root@localhost tools]# gcc -lusb -lbluetooth csr.c csr_3wire.c csr_bcsp.c
csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd
csr_usb.c: In function ‘csr_open_usb’:
csr_usb.c:68: warning: assignment makes pointer from integer without a cast
csr_usb.c:68: error: dereferencing pointer to incomplete type
csr_usb.c:69: error: dereferencing pointer to incomplete type
csr_usb.c:69: error: dereferencing pointer to incomplete type
csr_usb.c:70: error: dereferencing pointer to incomplete type
csr_usb.c:70: error: ‘USB_CLASS_HUB’ undeclared (first use in this
function)
csr_usb.c:70: error: (Each undeclared identifier is reported only once
csr_usb.c:70: error: for each function it appears in.)
csr_usb.c:73: error: dereferencing pointer to incomplete type
csr_usb.c:74: error: dereferencing pointer to incomplete type
csr_usb.c:86: warning: assignment makes pointer from integer without a cast
csr_usb.c: In function ‘do_command’:
csr_usb.c:133: error: ‘USB_TYPE_CLASS’ undeclared (first use in this
function)
csr_usb.c:133: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this
function)

Please help.

Thanks.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help