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.