[root@nashrif btsco]# make make all-recursive make[1]: Entering directory `/home/liraz/bt/btsco/btsco' Making all in sbc make[2]: Entering directory `/home/liraz/bt/btsco/btsco/sbc' gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'sbc.c' || echo './'` sbc.c rm -f libsbc.a ar cru libsbc.a sbc.o ranlib libsbc.a gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'sbcinfo.c' || echo ' ./'`sbcinfo.c gcc -Wall -O2 -o sbcinfo sbcinfo.o -lasound -lm -ldl -lpthread gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'sbcenc.c' || echo '. /'`sbcenc.c gcc -Wall -O2 -o sbcenc sbcenc.o libsbc.a -lasound -lm -ldl -lpthread gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -c `test -f 'rcplay.c' || echo '. /'`rcplay.c rcplay.c:35:33: bluetooth/bluetooth.h: No such file or directory rcplay.c:36:30: bluetooth/rfcomm.h: No such file or directory rcplay.c:37:27: bluetooth/sdp.h: No such file or directory rcplay.c:38:31: bluetooth/sdp_lib.h: No such file or directory rcplay.c:41: error: syntax error before "uint8_t" rcplay.c:41: warning: no semicolon at end of struct or union rcplay.c:49: warning: empty declaration rcplay.c:51: error: syntax error before '*' token rcplay.c: In function `get_channel': rcplay.c:53: error: `sdp_session_t' undeclared (first use in this function) rcplay.c:53: error: (Each undeclared identifier is reported only once rcplay.c:53: error: for each function it appears in.) rcplay.c:53: error: `s' undeclared (first use in this function) rcplay.c:54: error: `sdp_list_t' undeclared (first use in this function) rcplay.c:54: error: `class' undeclared (first use in this function) rcplay.c:54: error: `attrs' undeclared (first use in this function) rcplay.c:54: error: `rsp' undeclared (first use in this function) rcplay.c:54: warning: left-hand operand of comma expression has no effect rcplay.c:54: warning: left-hand operand of comma expression has no effect rcplay.c:55: error: `uuid_t' undeclared (first use in this function) rcplay.c:55: error: syntax error before "svclass" rcplay.c:56: error: `uint16_t' undeclared (first use in this function) rcplay.c:59: warning: implicit declaration of function `sdp_connect' rcplay.c:59: error: `src' undeclared (first use in this function) rcplay.c:59: error: `dst' undeclared (first use in this function) rcplay.c:63: warning: implicit declaration of function `sdp_uuid16_create' rcplay.c:63: error: `svclass' undeclared (first use in this function) rcplay.c:63: error: `SERIAL_PORT_SVCLASS_ID' undeclared (first use in this funct ion) rcplay.c:64: warning: implicit declaration of function `sdp_list_append' rcplay.c:66: error: `attr1' undeclared (first use in this function) rcplay.c:66: error: `SDP_ATTR_PROTO_DESC_LIST' undeclared (first use in this fun ction) rcplay.c:67: error: `attr2' undeclared (first use in this function) rcplay.c:67: error: `SDP_ATTR_SVCNAME_PRIMARY' undeclared (first use in this fun ction) rcplay.c:71: warning: implicit declaration of function `sdp_service_search_attr_ req' rcplay.c:72: error: `SDP_ATTR_REQ_INDIVIDUAL' undeclared (first use in this func tion) rcplay.c:74: warning: implicit declaration of function `sdp_close' rcplay.c:80: error: `sdp_record_t' undeclared (first use in this function) rcplay.c:80: error: `rec' undeclared (first use in this function) rcplay.c:80: error: syntax error before ')' token rcplay.c:81: error: `protos' undeclared (first use in this function) rcplay.c:83: warning: implicit declaration of function `sdp_get_access_protos' rcplay.c:84: error: `uint8_t' undeclared (first use in this function) rcplay.c:84: error: syntax error before "val" rcplay.c:85: error: `val' undeclared (first use in this function) rcplay.c:86: error: `channel' undeclared (first use in this function) rcplay.c: At top level: rcplay.c:95: error: syntax error before '*' token rcplay.c: In function `rfcomm_connect': rcplay.c:97: error: storage size of 'addr' isn't known rcplay.c:100: error: `BTPROTO_RFCOMM' undeclared (first use in this function) rcplay.c:104: warning: implicit declaration of function `memset' rcplay.c:106: warning: implicit declaration of function `bacpy' rcplay.c:106: error: `src' undeclared (first use in this function) rcplay.c:114: error: `dst' undeclared (first use in this function) rcplay.c:115: error: `channel' undeclared (first use in this function) rcplay.c:97: warning: unused variable `addr' rcplay.c: In function `calc_frame_len': rcplay.c:128: error: dereferencing pointer to incomplete type rcplay.c:129: error: dereferencing pointer to incomplete type rcplay.c:131: error: dereferencing pointer to incomplete type rcplay.c:134: error: dereferencing pointer to incomplete type rcplay.c:137: error: dereferencing pointer to incomplete type rcplay.c:140: error: dereferencing pointer to incomplete type rcplay.c:143: error: dereferencing pointer to incomplete type rcplay.c: In function `stream_sbc': rcplay.c:186: error: storage size of 'hdr' isn't known rcplay.c:223: warning: implicit declaration of function `memcpy' rcplay.c:186: warning: unused variable `hdr' rcplay.c: In function `main': rcplay.c:243: error: `bdaddr_t' undeclared (first use in this function) rcplay.c:243: error: syntax error before "bdaddr" rcplay.c:244: error: `uint8_t' undeclared (first use in this function) rcplay.c:252: warning: implicit declaration of function `str2ba' rcplay.c:252: error: `bdaddr' undeclared (first use in this function) rcplay.c:254: warning: implicit declaration of function `strcmp' rcplay.c:262: error: `BDADDR_ANY' undeclared (first use in this function) rcplay.c:262: error: `channel' undeclared (first use in this function) make[2]: *** [rcplay.o] Error 1 make[2]: Leaving directory `/home/liraz/bt/btsco/btsco/sbc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/liraz/bt/btsco/btsco' make: *** [all] Error 2 [root@nashrif btsco]#