Bluetooth make issue
can anyone please tell me where i might be going wrong thanks
dawdeb:/usr/src/kernel-headers-2.6.11-1/bluesnarfer# make gcc -Iinclude -W -g3 -lbluetooth src/bluesnarfer.c -o bluesnarfer src/bluesnarfer.c:29:33: bluetooth/bluetooth.h: No such file or directory src/bluesnarfer.c:30:27: bluetooth/hci.h: No such file or directory src/bluesnarfer.c:31:31: bluetooth/hci_lib.h: No such file or directory src/bluesnarfer.c:32:30: bluetooth/rfcomm.h: No such file or directory src/bluesnarfer.c: In function `bluesnarfer': src/bluesnarfer.c:146: error: `HCI_UP' undeclared (first use in this function) src/bluesnarfer.c:146: error: (Each undeclared identifier is reported only once src/bluesnarfer.c:146: error: for each function it appears in.) src/bluesnarfer.c:152: error: `BTPROTO_RFCOMM' undeclared (first use in this fun ction) src/bluesnarfer.c: In function `bt_get_remote_name': src/bluesnarfer.c:190: error: storage size of `cr' isn't known src/bluesnarfer.c:193: error: `bdaddr_t' undeclared (first use in this function) src/bluesnarfer.c:193: error: parse error before "bdaddr" src/bluesnarfer.c:201: error: `bdaddr' undeclared (first use in this function) src/bluesnarfer.c:204: error: `ACL_LINK' undeclared (first use in this function) src/bluesnarfer.c:206: error: `HCIGETCONNINFO' undeclared (first use in this fun ction) src/bluesnarfer.c:208: error: `HCI_DM1' undeclared (first use in this function) src/bluesnarfer.c:208: error: `HCI_DH1' undeclared (first use in this function) src/bluesnarfer.c:223: error: `HCI_OE_USER_ENDED_CONNECTION' undeclared (first u se in this function) src/bluesnarfer.c: In function `bt_rfcomm': src/bluesnarfer.c:265: error: storage size of `req' isn't known src/bluesnarfer.c:267: error: `bdaddr_t' undeclared (first use in this function) src/bluesnarfer.c:267: error: parse error before "bdaddr" src/bluesnarfer.c:276: error: `bdaddr' undeclared (first use in this function) src/bluesnarfer.c:284: error: `BDADDR_ANY' undeclared (first use in this functio n) src/bluesnarfer.c:287: error: `RFCOMMCREATEDEV' undeclared (first use in this fu nction) src/bluesnarfer.c: In function `bt_rfcomm_rel': src/bluesnarfer.c:411: error: storage size of `req' isn't known src/bluesnarfer.c:416: error: `RFCOMMRELEASEDEV' undeclared (first use in this f unction) make: *** [bluesnarfer] Error 1 dawdeb:/usr/src/kernel-headers-2.6.11-1/bluesnarfer# |
Re: Bluetooth make issue
Quote:
Code:
>$ apt-file search bluetooth.h |
thanks for the info i will give it a go
|
All times are GMT -5. The time now is 12:17 PM. |