LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2006, 07:31 AM   #1
thoyyib
Member
 
Registered: Sep 2005
Distribution: SuSE 10
Posts: 50

Rep: Reputation: 15
bluetooth (ussp-push)


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
 
Old 06-14-2006, 07:18 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
You'll need bluez-libs-devel installed or something of that nature as some distros (obviously yours) splits source headers out of binary packages. If you want to snif Bluetooth connections then you can use bluez-hcidump to do that, grab it from the Bluez homepage.
 
Old 06-15-2006, 06:26 AM   #3
thoyyib
Member
 
Registered: Sep 2005
Distribution: SuSE 10
Posts: 50

Original Poster
Rep: Reputation: 15
ussp-push

Hi cs-cam,

Great, Its really great. Now ussp-push is working fine on my Fedora core 5 distribution. Thanks a lot.

Please help me to listen my computer to any incoming bluetooth file. and save the same to a predefined folder(automatic - without any interaction inthe system).

Regards,
THOYYIB
 
Old 06-15-2006, 09:11 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
GNOME Bluetooth can do this in a pretty, GUI sort of matter. Now I have a little more free time I'll probably have a crack at something similar with less deps but won't be ready soon
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Obex Push thoyyib Linux - Software 2 05-10-2006 08:12 AM
Bluetooth OBEX PUSH with Suse 9.3 JesperX Linux - Networking 1 07-31-2005 09:30 AM
anybody have ussp-push-0.2.tgz?? maginotjr Linux - Networking 1 07-12-2005 03:32 PM
Can't open USSP device. No such device (19). triona Linux - Software 0 02-04-2005 02:21 AM
Push installation balpeck Linux - Networking 1 09-21-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration