LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2008, 06:04 AM   #1
Jlin
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
bluesnarfer install problem


i am trying to install bluesnarfer.tar.gz on my fedora 8 system





i went to the bluesnarfer extracted folder and did as instructed in 'makefile':


gcc -Iinclude -W -g3 -lbluetooth src/bluesnarfer.c -o bluesnarfer

but i am getting the following message:

[root@dhcppc0 bluesnarfer]# gcc -Iinclude -W -g3 -lbluetooth src/bluesnarfer.c -o bluesnarfer
src/bluesnarfer.c:29:33: error: bluetooth/bluetooth.h: No such file or directory
src/bluesnarfer.c:30:27: error: bluetooth/hci.h: No such file or directory
src/bluesnarfer.c:31:31: error: bluetooth/hci_lib.h: No such file or directory
src/bluesnarfer.c:32:30: error: bluetooth/rfcomm.h: No such file or directory
src/bluesnarfer.c: In function ‘parse_rw’:
src/bluesnarfer.c:39: warning: incompatible implicit declaration of built-in function ‘strchr’
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 function)
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: expected ‘;’ before ‘bdaddr’
src/bluesnarfer.c:201: error: ‘bdaddr’ undeclared (first use in this function)
src/bluesnarfer.c:203: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/bluesnarfer.c:204: error: ‘ACL_LINK’ undeclared (first use in this function)
src/bluesnarfer.c:206: error: ‘HCIGETCONNINFO’ undeclared (first use in this function)
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 use in this function)
src/bluesnarfer.c: In function ‘rfcomm_read’:
src/bluesnarfer.c:251: warning: incompatible implicit declaration of built-in function ‘strlen’
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: expected ‘;’ before ‘bdaddr’
src/bluesnarfer.c:276: error: ‘bdaddr’ undeclared (first use in this function)
src/bluesnarfer.c:278: warning: incompatible implicit declaration of built-in function ‘memset’
src/bluesnarfer.c:284: warning: incompatible implicit declaration of built-in function ‘memcpy’
src/bluesnarfer.c:284: error: ‘BDADDR_ANY’ undeclared (first use in this function)
src/bluesnarfer.c:287: error: ‘RFCOMMCREATEDEV’ undeclared (first use in this function)
src/bluesnarfer.c: In function ‘custom_cmd’:
src/bluesnarfer.c:382: warning: incompatible implicit declaration of built-in function ‘strstr’
src/bluesnarfer.c:390: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c: In function ‘bt_rfcomm_rel’:
src/bluesnarfer.c:411: error: storage size of ‘req’ isn’t known
src/bluesnarfer.c:413: warning: incompatible implicit declaration of built-in function ‘memset’
src/bluesnarfer.c:416: error: ‘RFCOMMRELEASEDEV’ undeclared (first use in this function)
src/bluesnarfer.c: In function ‘rw_cmd’:
src/bluesnarfer.c:434: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c:442: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c:455: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c: In function ‘parse’:
src/bluesnarfer.c:500: warning: incompatible implicit declaration of built-in function ‘memset’
src/bluesnarfer.c:503: warning: incompatible implicit declaration of built-in function ‘strchr’
src/bluesnarfer.c:506: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c: In function ‘search_cmd’:
src/bluesnarfer.c:550: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c: In function ‘list_cmd’:
src/bluesnarfer.c:600: warning: incompatible implicit declaration of built-in function ‘strlen’
src/bluesnarfer.c:614: warning: incompatible implicit declaration of built-in function ‘strchr’
src/bluesnarfer.c:622: warning: incompatible implicit declaration of built-in function ‘strstr’
src/bluesnarfer.c: In function ‘info_cmd’:
src/bluesnarfer.c:643: warning: incompatible implicit declaration of built-in function ‘strlen’


PLZ. HELP!
 
Old 03-01-2008, 11:52 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
1. If Makefile is present you have to run make utility.
Quote:
error: bluetooth/bluetooth.h: No such file or directory
2. You miss some header files which usually come with development packages, cannot tell you exact package names because you have chosen not to reveal what Linux flavor you are using.

Don't make it hard for us to help you.
 
Old 03-02-2008, 04:29 AM   #3
Jlin
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thks ...
I am using FEDORA 8
 
Old 03-02-2008, 10:46 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Hmh ... I'm not a Red Hat person. To get bluetooth.h in the Debian world you need to install linux-headers or libbluetooth-dev. It comes with kernel sources, too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bluesnarfer and rfcomm patricius Linux - Software 2 10-10-2007 12:12 AM
Slack 11 install problem (cd install asks for /dev/fd0) cygnus-x1 Slackware 1 10-16-2006 11:30 AM
Bluesnarfer Dev ikkuh1991 Linux - Software 0 09-11-2005 09:14 AM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 03:18 PM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 02:14 PM


All times are GMT -5. The time now is 01:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration