Results 1 to 1 of 1
Hi All,
I'm trying to get anyremote (control computer with cell phone) to work but am getting a problem:
I'm using these instructions:
http://ubuntu-virginia.ubuntuforums....d.php?t=341408
I get the problem when I ...
- 08-14-2008 #1
anyremote
Hi All,
I'm trying to get anyremote (control computer with cell phone) to work but am getting a problem:
I'm using these instructions:
http://ubuntu-virginia.ubuntuforums....d.php?t=341408
I get the problem when I try to do "make", here is the output
gcc -DPACKAGE_NAME=\"anyremote\" -DPACKAGE_TARNAME=\"anyremote\" -DPACKAGE_VERSION=\"4.7.1\" -DPACKAGE_STRING=\"anyremote\ 4.7.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"anyremote\" -DVERSION=\"4.7.1\" -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_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. -DUSE_BT=1 -DUSE_XTEST=1 -g -O2 -I/usr/local/include -Wall -D_REENTRANT -O2 -g -MT atsend.o -MD -MP -MF .deps/atsend.Tpo -c -o atsend.o atsend.c
atsend.c: In function ‘sendSeq’:
atsend.c:169: warning: ‘bufPtr’ may be used uninitialized in this function
mv -f .deps/atsend.Tpo .deps/atsend.Po
gcc -DPACKAGE_NAME=\"anyremote\" -DPACKAGE_TARNAME=\"anyremote\" -DPACKAGE_VERSION=\"4.7.1\" -DPACKAGE_STRING=\"anyremote\ 4.7.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"anyremote\" -DVERSION=\"4.7.1\" -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_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. -DUSE_BT=1 -DUSE_XTEST=1 -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
btio.c:45:33: error: bluetooth/bluetooth.h: No such file or directory
btio.c:46:30: error: bluetooth/rfcomm.h: No such file or directory
btio.c:491:27: error: bluetooth/sdp.h: No such file or directory
btio.c:492:31: error: bluetooth/sdp_lib.h: No such file or directory
btio.c:494: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
btio.c:495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
btio.c: In function ‘sdpRegister’:
btio.c:505: error: ‘uuid_t’ undeclared (first use in this function)
btio.c:505: error: (Each undeclared identifier is reported only once
btio.c:505: error: for each function it appears in.)
btio.c:505: error: expected ‘;’ before ‘root_uuid’
btio.c:507: error: ‘sdp_list_t’ undeclared (first use in this function)
btio.c:507: error: ‘l2cap_list’ undeclared (first use in this function)
btio.c:508: error: ‘rfcomm_list’ undeclared (first use in this function)
btio.c:508: warning: left-hand operand of comma expression has no effect
btio.c:509: error: ‘root_list’ undeclared (first use in this function)
btio.c:509: warning: left-hand operand of comma expression has no effect
btio.c:510: error: ‘proto_list’ undeclared (first use in this function)
btio.c:510: warning: left-hand operand of comma expression has no effect
btio.c:511: error: ‘access_proto_list’ undeclared (first use in this function)
btio.c:511: warning: left-hand operand of comma expression has no effect
btio.c:512: error: ‘svc_class_list’ undeclared (first use in this function)
btio.c:512: warning: left-hand operand of comma expression has no effect
btio.c:513: error: ‘profile_list’ undeclared (first use in this function)
btio.c:513: warning: left-hand operand of comma expression has no effect
btio.c:514: error: ‘sdp_data_t’ undeclared (first use in this function)
btio.c:514: error: ‘channel’ undeclared (first use in this function)
btio.c:515: error: ‘sdp_profile_desc_t’ undeclared (first use in this function)
btio.c:515: error: expected ‘;’ before ‘profile’
btio.c:516: error: ‘record’ undeclared (first use in this function)
btio.c:516: warning: implicit declaration of function ‘sdp_record_alloc’
btio.c:519: warning: implicit declaration of function ‘sdp_uuid128_create’
btio.c:519: error: ‘svc_uuid’ undeclared (first use in this function)
btio.c:520: warning: implicit declaration of function ‘sdp_set_service_id’
btio.c:523: warning: implicit declaration of function ‘sdp_uuid16_create’
btio.c:523: error: ‘svc_class_uuid’ undeclared (first use in this function)
btio.c:523: error: ‘SERIAL_PORT_SVCLASS_ID’ undeclared (first use in this function)
btio.c:524: warning: implicit declaration of function ‘sdp_list_append’
btio.c:525: warning: implicit declaration of function ‘sdp_set_service_classes’
btio.c:528: error: ‘profile’ undeclared (first use in this function)
btio.c:528: error: ‘SERIAL_PORT_PROFILE_ID’ undeclared (first use in this function)
btio.c:531: warning: implicit declaration of function ‘sdp_set_profile_descs’
btio.c:534: error: ‘root_uuid’ undeclared (first use in this function)
btio.c:534: error: ‘PUBLIC_BROWSE_GROUP’ undeclared (first use in this function)
btio.c:536: warning: implicit declaration of function ‘sdp_set_browse_groups’
btio.c:539: error: ‘l2cap_uuid’ undeclared (first use in this function)
btio.c:539: error: ‘L2CAP_UUID’ undeclared (first use in this function)
btio.c:544: error: ‘rfcomm_uuid’ undeclared (first use in this function)
btio.c:544: error: ‘RFCOMM_UUID’ undeclared (first use in this function)
btio.c:545: warning: implicit declaration of function ‘sdp_data_alloc’
btio.c:545: error: ‘SDP_UINT8’ undeclared (first use in this function)
btio.c:551: warning: implicit declaration of function ‘sdp_set_access_protos’
btio.c:554: warning: implicit declaration of function ‘sdp_set_info_attr’
btio.c:558: error: ‘session’ undeclared (first use in this function)
btio.c:558: warning: implicit declaration of function ‘sdp_connect’
btio.c:558: error: ‘BDADDR_ANY’ undeclared (first use in this function)
btio.c:558: error: ‘BDADDR_LOCAL’ undeclared (first use in this function)
btio.c:558: error: ‘SDP_RETRY_IF_BUSY’ undeclared (first use in this function)
btio.c:559: warning: implicit declaration of function ‘sdp_record_register’
btio.c:564: warning: implicit declaration of function ‘sdp_data_free’
btio.c:565: warning: implicit declaration of function ‘sdp_list_free’
btio.c: In function ‘sdpDeregister’:
btio.c:576: error: ‘session’ undeclared (first use in this function)
btio.c:577: warning: implicit declaration of function ‘sdp_record_unregister’
btio.c:577: error: ‘record’ undeclared (first use in this function)
btio.c: In function ‘openSocketPort’:
btio.c:592: error: storage size of ‘bt_addr’ isn’t known
btio.c:613: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function)
btio.c:657: error: ‘BDADDR_ANY’ undeclared (first use in this function)
btio.c:592: warning: unused variable ‘bt_addr’
btio.c: In function ‘listenAndAcceptSocketConn’:
btio.c:727: error: storage size of ‘bt_addr’ isn’t known
btio.c:728: error: ‘bdaddr_t’ undeclared (first use in this function)
btio.c:728: error: expected ‘;’ before ‘ba’
btio.c:781: warning: implicit declaration of function ‘baswap’
btio.c:781: error: ‘ba’ undeclared (first use in this function)
btio.c:783: warning: implicit declaration of function ‘batostr’
btio.c:783: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
btio.c:727: warning: unused variable ‘bt_addr’
make[1]: *** [btio.o] Error 1
make[1]: Leaving directory `/home/joel/anyremote-4.7.1/src'
make: *** [all-recursive] Error 1
Thanks!


Reply With Quote