compile error

Help
bobrob73
2007-03-23
2012-12-10
  • bobrob73

    bobrob73 - 2007-03-23

    after "./configure" i try to do "make" but ireceived this error:
    thnks a lot for help.bye

    if gcc -DPACKAGE_NAME=\"AnyRemote\" -DPACKAGE_TARNAME=\"anyremote\" -DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"AnyRemote\ 0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"anyRemote\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1 -DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\) -DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\) -DHAVE_ISASCII=1 -DHAVE_SELECT=1 -DHAVE_STRCHR=1 -DHAVE_STRSTR=1  -I. -I.     -g -O2 -I/usr/local/include -Wall -D_REENTRANT -O2 -g -MT btio.o -MD -MP -MF ".deps/btio.Tpo" -c -o btio.o btio.c; \         then mv -f ".deps/btio.Tpo" ".deps/btio.Po"; else rm -f ".deps/btio.Tpo"; exit 1; fi
    btio.c:37:33: error: bluetooth/bluetooth.h: Nessun file o directory
    btio.c:38:30: error: bluetooth/rfcomm.h: Nessun file o directory
    btio.c: In function ‘openSocketPort’:
    btio.c:307: error: storage size of ‘bt_addr’ isn’t known
    btio.c:327: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function)
    btio.c:327: error: (Each undeclared identifier is reported only once
    btio.c:327: error: for each function it appears in.)
    btio.c:360: error: ‘BDADDR_ANY’ undeclared (first use in this function)
    btio.c:307: warning: unused variable ‘bt_addr’
    btio.c: In function ‘listenAndAcceptSocketConn’:
    btio.c:406: error: storage size of ‘bt_addr’ isn’t known
    btio.c:407: error: ‘bdaddr_t’ undeclared (first use in this function)
    btio.c:407: error: expected ‘;’ before ‘ba’
    btio.c:458: warning: implicit declaration of function ‘baswap’
    btio.c:458: error: ‘ba’ undeclared (first use in this function)
    btio.c:460: warning: implicit declaration of function ‘batostr’
    btio.c:460: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
    btio.c:406: warning: unused variable ‘bt_addr’
    make[1]: *** [btio.o] Error 1
    make[1]: Leaving directory `/home/roberto/Desktop/anyremote-2.9/src'
    make: *** [all-recursive] Error 1

     
    • Manuel Stahl

      Manuel Stahl - 2007-03-24

      Seems you have to install the development header files for bluetooth.

       
    • bobrob73

      bobrob73 - 2007-03-25

      i ll try ,thanks for now

       
    • bobrob73

      bobrob73 - 2007-03-26

      it works very....well. the only change i done is about sound.cfg i changed "master" with "headphone" otherwise does't work in my ubuntu system.....thanks

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks