Ich hab mich nach der readme gehalten:
[Requirements]
Linux 2.4 / 2.6
BlueZ
sox
obexftp
libreadline
expat / XML::Simple
[Installation]
Ok. Here we go...
[1] Install bluez libs and utils, libreadline, sox, obexftp.
[2] Compile the shipped tools (cd tools; ./make-tools.sh)
Doch diese zahlreichen error Meldung machen mich stutzig.
linux-zsoe:/home/stefan/src/bluediving-0.9/tools # ./make_tools.sh
rm -f atshell attest bdaddr hcidump-crash hstest l2cap-packet l2cap_headersize_overflow rfcomm_shell
echo -en "\n<<< Compiling atshell\n"
<<< Compiling atshell
gcc -lbluetooth -lreadline -lncurses atshell.c -o atshell
atshell.c:49:31: error: readline/readline.h: Datei oder Verzeichnis nicht gefunden
atshell.c:50:30: error: readline/history.h: Datei oder Verzeichnis nicht gefunden
atshell.c: In function ‘main’:
atshell.c:189: warning: assignment makes pointer from integer without a cast
make: *** [atshell] Fehler 1
<<< Compiling bccmd
gcc -lbluetooth -lusb csr.c csr.h csr_3wire.c csr_bcsp.c csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd
<<< Compiling btftp
gcc -lbluetooth -lopenobex -lreadline -lxml2 obex.c sdp.c folder.c main.c -o btftp
folder.c:32:30: error: libxml/xmlmemory.h: Datei oder Verzeichnis nicht gefunden
folder.c:33:27: error: libxml/parser.h: Datei oder Verzeichnis nicht gefunden
folder.c: In function ‘print_folder_listing’:
folder.c:41: error: ‘xmlDocPtr’ undeclared (first use in this function)
folder.c:41: error: (Each undeclared identifier is reported only once
folder.c:41: error: for each function it appears in.)
folder.c:41: error: expected ‘;’ before ‘doc’
folder.c:42: error: ‘xmlNodePtr’ undeclared (first use in this function)
folder.c:42: error: expected ‘;’ before ‘cur’
folder.c:43: error: ‘xmlChar’ undeclared (first use in this function)
folder.c:43: error: ‘prop’ undeclared (first use in this function)
folder.c:50: error: ‘doc’ undeclared (first use in this function)
folder.c:56: error: ‘cur’ undeclared (first use in this function)
folder.c:62: error: expected ‘)’ before ‘xmlChar’
folder.c:75: error: expected ‘)’ before ‘xmlChar’
folder.c:81: error: expected ‘)’ before ‘xmlChar’
folder.c:83: error: expected ‘)’ before ‘xmlChar’
folder.c:87: error: expected ‘)’ before ‘xmlChar’
folder.c:100: error: expected ‘)’ before ‘xmlChar’
folder.c:102: error: expected ‘)’ before ‘xmlChar’
folder.c:106: error: expected ‘)’ before ‘xmlChar’
folder.c:110: error: expected ‘)’ before ‘xmlChar’
main.c:46:31: error: readline/readline.h: Datei oder Verzeichnis nicht gefunden
main.c:47:30: error: readline/history.h: Datei oder Verzeichnis nicht gefunden
main.c: In function ‘event_hook’:
main.c:213: error: ‘rl_done’ undeclared (first use in this function)
main.c:213: error: (Each undeclared identifier is reported only once
main.c:213: error: for each function it appears in.)
main.c: In function ‘attempted_completion’:
main.c:232: error: ‘rl_line_buffer’ undeclared (first use in this function)
main.c:233: warning: assignment makes pointer from integer without a cast
main.c:236: error: ‘rl_attempted_completion_over’ undeclared (first use in this function)
main.c: In function ‘main’:
main.c:332: error: ‘rl_readline_name’ undeclared (first use in this function)
main.c:333: error: ‘rl_event_hook’ undeclared (first use in this function)
main.c:334: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
main.c:337: warning: assignment makes pointer from integer without a cast
make: *** [all] Fehler 1
mv: Aufruf von stat für „btftp“ nicht möglich: Datei oder Verzeichnis nicht gefunden
<<< Compiling btobex
gcc -lbluetooth -lopenobex obex.c sdp.c main.c -o btobex
<<< Compiling bss
gcc -c bss.c
gcc -c l2ping.c
gcc -c replace.c
replace.c: In function ‘replace’:
replace.c:22: warning: incompatible implicit declaration of built-in function ‘strstr’
replace.c:26: warning: incompatible implicit declaration of built-in function ‘strlen’
replace.c:39: warning: incompatible implicit declaration of built-in function ‘strncpy’
replace.c:44: warning: incompatible implicit declaration of built-in function ‘strcpy’
replace.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’
gcc bss.o l2ping.o replace.o -o bss -Wall -lbluetooth
<<< Compiling carwhisperer
gcc carwhisperer.c -o carwhisperer -lbluetooth
<<< Compiling greenplaque
cc -c -o src/greenplaque.o src/greenplaque.c
cc -o src/greenplaque src/greenplaque.o -lbluetooth -lpthread -D_REENTRANT
rm src/greenplaque.o
<<< Compiling hidattack
cc -Wall -lbluetooth hidattack.o sdp.o -o hidattack
<<< Compiling redfang
./redfang/fang
./redfang/fang.1
./redfang/fang.c
./redfang/fang.o
./redfang/INSTALL
./redfang/Makefile
./redfang/Makefile.am
./redfang/Makefile.in
./redfang/README
fang.c:78:9: warning: unknown escape sequence '\@'
linux-zsoe:/home/stefan/src/bluediving-0.9/tools #
[Requirements]
Linux 2.4 / 2.6
BlueZ
sox
obexftp
libreadline
expat / XML::Simple
[Installation]
Ok. Here we go...
[1] Install bluez libs and utils, libreadline, sox, obexftp.
[2] Compile the shipped tools (cd tools; ./make-tools.sh)
Doch diese zahlreichen error Meldung machen mich stutzig.
linux-zsoe:/home/stefan/src/bluediving-0.9/tools # ./make_tools.sh
rm -f atshell attest bdaddr hcidump-crash hstest l2cap-packet l2cap_headersize_overflow rfcomm_shell
echo -en "\n<<< Compiling atshell\n"
<<< Compiling atshell
gcc -lbluetooth -lreadline -lncurses atshell.c -o atshell
atshell.c:49:31: error: readline/readline.h: Datei oder Verzeichnis nicht gefunden
atshell.c:50:30: error: readline/history.h: Datei oder Verzeichnis nicht gefunden
atshell.c: In function ‘main’:
atshell.c:189: warning: assignment makes pointer from integer without a cast
make: *** [atshell] Fehler 1
<<< Compiling bccmd
gcc -lbluetooth -lusb csr.c csr.h csr_3wire.c csr_bcsp.c csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd
<<< Compiling btftp
gcc -lbluetooth -lopenobex -lreadline -lxml2 obex.c sdp.c folder.c main.c -o btftp
folder.c:32:30: error: libxml/xmlmemory.h: Datei oder Verzeichnis nicht gefunden
folder.c:33:27: error: libxml/parser.h: Datei oder Verzeichnis nicht gefunden
folder.c: In function ‘print_folder_listing’:
folder.c:41: error: ‘xmlDocPtr’ undeclared (first use in this function)
folder.c:41: error: (Each undeclared identifier is reported only once
folder.c:41: error: for each function it appears in.)
folder.c:41: error: expected ‘;’ before ‘doc’
folder.c:42: error: ‘xmlNodePtr’ undeclared (first use in this function)
folder.c:42: error: expected ‘;’ before ‘cur’
folder.c:43: error: ‘xmlChar’ undeclared (first use in this function)
folder.c:43: error: ‘prop’ undeclared (first use in this function)
folder.c:50: error: ‘doc’ undeclared (first use in this function)
folder.c:56: error: ‘cur’ undeclared (first use in this function)
folder.c:62: error: expected ‘)’ before ‘xmlChar’
folder.c:75: error: expected ‘)’ before ‘xmlChar’
folder.c:81: error: expected ‘)’ before ‘xmlChar’
folder.c:83: error: expected ‘)’ before ‘xmlChar’
folder.c:87: error: expected ‘)’ before ‘xmlChar’
folder.c:100: error: expected ‘)’ before ‘xmlChar’
folder.c:102: error: expected ‘)’ before ‘xmlChar’
folder.c:106: error: expected ‘)’ before ‘xmlChar’
folder.c:110: error: expected ‘)’ before ‘xmlChar’
main.c:46:31: error: readline/readline.h: Datei oder Verzeichnis nicht gefunden
main.c:47:30: error: readline/history.h: Datei oder Verzeichnis nicht gefunden
main.c: In function ‘event_hook’:
main.c:213: error: ‘rl_done’ undeclared (first use in this function)
main.c:213: error: (Each undeclared identifier is reported only once
main.c:213: error: for each function it appears in.)
main.c: In function ‘attempted_completion’:
main.c:232: error: ‘rl_line_buffer’ undeclared (first use in this function)
main.c:233: warning: assignment makes pointer from integer without a cast
main.c:236: error: ‘rl_attempted_completion_over’ undeclared (first use in this function)
main.c: In function ‘main’:
main.c:332: error: ‘rl_readline_name’ undeclared (first use in this function)
main.c:333: error: ‘rl_event_hook’ undeclared (first use in this function)
main.c:334: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
main.c:337: warning: assignment makes pointer from integer without a cast
make: *** [all] Fehler 1
mv: Aufruf von stat für „btftp“ nicht möglich: Datei oder Verzeichnis nicht gefunden
<<< Compiling btobex
gcc -lbluetooth -lopenobex obex.c sdp.c main.c -o btobex
<<< Compiling bss
gcc -c bss.c
gcc -c l2ping.c
gcc -c replace.c
replace.c: In function ‘replace’:
replace.c:22: warning: incompatible implicit declaration of built-in function ‘strstr’
replace.c:26: warning: incompatible implicit declaration of built-in function ‘strlen’
replace.c:39: warning: incompatible implicit declaration of built-in function ‘strncpy’
replace.c:44: warning: incompatible implicit declaration of built-in function ‘strcpy’
replace.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’
gcc bss.o l2ping.o replace.o -o bss -Wall -lbluetooth
<<< Compiling carwhisperer
gcc carwhisperer.c -o carwhisperer -lbluetooth
<<< Compiling greenplaque
cc -c -o src/greenplaque.o src/greenplaque.c
cc -o src/greenplaque src/greenplaque.o -lbluetooth -lpthread -D_REENTRANT
rm src/greenplaque.o
<<< Compiling hidattack
cc -Wall -lbluetooth hidattack.o sdp.o -o hidattack
<<< Compiling redfang
./redfang/fang
./redfang/fang.1
./redfang/fang.c
./redfang/fang.o
./redfang/INSTALL
./redfang/Makefile
./redfang/Makefile.am
./redfang/Makefile.in
./redfang/README
fang.c:78:9: warning: unknown escape sequence '\@'
linux-zsoe:/home/stefan/src/bluediving-0.9/tools #