trouble to start - rfcomm

Help
kixz
2006-11-25
2013-04-11
  • kixz
    kixz
    2006-11-25

    Hi everybody

    i'd install all packages, but i have a problem to start bluedivingNG.pl

    It say me : Missing or non-executable binary rfcomm_shell tools/rfcomm_shell.

    i tried to compile rfcomm_shell.c, but there's trouble :

    root@kixzlx:~/Desktop/bluediving/tools# gcc -lbluetooth -lreadline -lncurses rfcomm_shell.c -o rfcomm_shell
    rfcomm_shell.c:22:31: error: readline/readline.h: Aucun fichier ou répertoire de ce type
    rfcomm_shell.c: In function ‘main’:
    rfcomm_shell.c:58: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c:69: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c:94: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c:101: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c:108: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c:128: warning: assignment makes pointer from integer without a cast
    rfcomm_shell.c:137: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c:152: warning: incompatible implicit declaration of built-in function ‘exit’
    rfcomm_shell.c: In function ‘sig_alrm’:
    rfcomm_shell.c:195: warning: incompatible implicit declaration of built-in function ‘exit’

    Can you help me ? i can't find readline.h
    thanks very much !

    Kixz