Hi,
I installed ussp-push application on my SuSE 10.1 and 10.0 successfully. But it gives errors when I try to install the same to my Fedora Core 5 system:
Code:
[root@blipzone ussp-push-0.9]# rpm -q bluez-libs
bluez-libs-2.25-1
[root@blipzone ussp-push-0.9]# rpm -q bluez-utils
bluez-utils-2.25-4
[root@blipzone ussp-push-0.9]# rpm -q openobex
openobex-1.1-1
[root@blipzone ussp-push-0.9]# make
gcc -Wall -I/usr/local/include -c obex_socket.c -o obex_socket.o
obex_socket.c:49:33: error: bluetooth/bluetooth.h: No such file or directory
obex_socket.c:50:30: error: bluetooth/rfcomm.h: No such file or directory
obex_socket.c:51:27: error: bluetooth/hci.h: No such file or directory
obex_socket.c:52:31: error: bluetooth/hci_lib.h: No such file or directory
obex_socket.c:53:27: error: bluetooth/sdp.h: No such file or directory
obex_socket.c:54:31: error: bluetooth/sdp_lib.h: No such file or directory
obex_socket.c: In function ‘bt_sock_addr2str’:
obex_socket.c:151: error: request for member ‘b’ in something not a structure or union
obex_socket.c:153: error: request for member ‘b’ in something not a structure or union
obex_socket.c: In function ‘bt_sock_str2addr’:
obex_socket.c:168: error: request for member ‘b’ in something not a structure or union
obex_socket.c: In function ‘bt_sock_name2bth’:
obex_socket.c:176: error: ‘inquiry_info’ undeclared (first use in this function)
obex_socket.c:176: error: (Each undeclared identifier is reported only once
obex_socket.c:176: error: for each function it appears in.)
obex_socket.c:176: error: ‘piinf’ undeclared (first use in this function)
obex_socket.c:186: warning: implicit declaration of function ‘hci_inquiry’
obex_socket.c:191: warning: implicit declaration of function ‘hci_open_dev’
obex_socket.c:200: warning: implicit declaration of function ‘hci_remote_name’
obex_socket.c:209: warning: implicit declaration of function ‘hci_close_dev’
obex_socket.c: In function ‘bt_sock_open’:
obex_socket.c:226: error: storage size of ‘laddr’ isn’t known
obex_socket.c:226: error: storage size of ‘raddr’ isn’t known
obex_socket.c:227: error: storage size of ‘di’ isn’t known
obex_socket.c:232: warning: implicit declaration of function ‘hci_devinfo’
obex_socket.c:242: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function)
obex_socket.c:227: warning: unused variable ‘di’
obex_socket.c:226: warning: unused variable ‘raddr’
obex_socket.c:226: warning: unused variable ‘laddr’
obex_socket.c: In function ‘cobex_open’:
obex_socket.c:362: error: ‘OBEX_UUID’ undeclared (first use in this function)
make: *** [obex_socket.o] Error 1
Please help me to solve the same.
How to make my command prompt to listen all the bluetooth messages(I need to get the bluetooth address of the sending device and file name)?
Thank you,
THOYYIB