This is the result when I try to get my blluetooth stuff to compile
from the sdk. I have no idea why this is not working. One thing is
taht i am runnign as su, as if I don't the make menuconfig won't save,
eventhough I installed it as my dev user.
Strange.
/home/broadcast/fox/devboard-R2_01/apps/ussp-push/compile
,_
_,..._ ,d77777_
d777777h777777777h.
,d777777777777777O777.
,7777h77777FF777777777|
,d77777h77F;' /F77;':?7'
d77F?777F' ',7. +'
d77h 777h 7777'|
d777h 77F' /' ' |
77777L ,/. |
777777h .' / | |
d777777 | O ' .
77777F | O , __. , | |
Y7FF' ,' ' )' |_|
;'' ''' __ |'
|,. , |
| | .'--..-' |
. (.___,/ | W E L C O M E !
._,. \ .' | USSP-Push compiler
\ \_,' |
\ / ] www.confinidigitali.it [
[EMAIL PROTECTED]
\ /
'-....-'
AXIS_USABLE_LIBS = UCLIBC GLIBC
include $(AXIS_TOP_DIR)/tools/build/Rules.axis
OBEXINC= -I${AXIS_TOP_DIR}/apps/openobex/openobex-1.3/include
OBEXLIB= -L${AXIS_TOP_DIR}/target/cris-axis-linux-gnu/lib
-L${AXIS_TOP_DIR}/apps/openobex/openobex-1.3/lib/.libs
-L${AXIS_TOP_DIR}/target/cris-axis-linux-gnu/usr/lib -lopenobex
-lbluetooth
Makefile previously modified.
make[3]: Entering directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push/ussp-push-0.9'
make[4]: Entering directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push/ussp-push-0.9'
make[4]: Leaving directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push/ussp-push-0.9'
make[3]: Leaving directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push/ussp-push-0.9'
make[3]: Entering directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push/ussp-push-0.9'
gcc-cris -isystem
/home/broadcast/fox/devboard-R2_01/target/cris-axis-linux-gnuuclibc/include
-mlinux -mno-mul-bug-workaround -Wall -Wshadow -O2 -g -Wall
-I/home/broadcast/fox/devboard-R2_01/apps/openobex/openobex-1.3/include
-c obex_main.c -o obex_main.o
In file included from obex_main.c:59:
/home/broadcast/fox/devboard-R2_01/apps/openobex/openobex-1.3/include/openobex/obex.h:84:
warning: declaration of `nice' shadows a global declaration
/home/broadcast/fox/devboard-R2_01/target/cris-axis-linux-gnuuclibc/include/unistd.h:467:
warning: shadowed declaration is here
gcc-cris -isystem
/home/broadcast/fox/devboard-R2_01/target/cris-axis-linux-gnuuclibc/include
-mlinux -mno-mul-bug-workaround -Wall -Wshadow -O2 -g -Wall
-I/home/broadcast/fox/devboard-R2_01/apps/openobex/openobex-1.3/include
-c obex_socket.c -o obex_socket.o
obex_socket.c:49:33: bluetooth/bluetooth.h: No such file or directory
obex_socket.c:50:30: bluetooth/rfcomm.h: No such file or directory
obex_socket.c:51:27: bluetooth/hci.h: No such file or directory
obex_socket.c:52:31: bluetooth/hci_lib.h: No such file or directory
obex_socket.c:53:27: bluetooth/sdp.h: No such file or directory
obex_socket.c:54:31: bluetooth/sdp_lib.h: No such file or directory
In file included from obex_socket.c:56:
/home/broadcast/fox/devboard-R2_01/apps/openobex/openobex-1.3/include/openobex/obex.h:84:
warning: declaration of `nice' shadows a global declaration
/home/broadcast/fox/devboard-R2_01/target/cris-axis-linux-gnuuclibc/include/unistd.h:467:
warning: shadowed declaration is here
obex_socket.c: In function `bt_sock_addr2str':
obex_socket.c:151: request for member `b' in something not a structure
or union
obex_socket.c:153: request for member `b' in something not a structure
or union
obex_socket.c: In function `bt_sock_str2addr':
obex_socket.c:168: request for member `b' in something not a structure
or union
obex_socket.c: In function `bt_sock_name2bth':
obex_socket.c:176: `inquiry_info' undeclared (first use in this function)
obex_socket.c:176: (Each undeclared identifier is reported only once
obex_socket.c:176: for each function it appears in.)
obex_socket.c:176: `piinf' undeclared (first use in this function)
obex_socket.c:186: warning: implicit declaration of function `hci_inquiry'
obex_socket.c:191: warning: implicit declaration of function
`hci_open_dev'
obex_socket.c:200: warning: implicit declaration of function
`hci_remote_name'
obex_socket.c:209: warning: implicit declaration of function
`hci_close_dev'
obex_socket.c: In function `bt_sock_open':
obex_socket.c:226: storage size of `laddr' isn't known
obex_socket.c:226: storage size of `raddr' isn't known
obex_socket.c:227: storage size of `di' isn't known
obex_socket.c:232: warning: implicit declaration of function `hci_devinfo'
obex_socket.c:242: `BTPROTO_RFCOMM' undeclared (first use in this
function)
obex_socket.c:226: warning: unused variable `laddr'
obex_socket.c:226: warning: unused variable `raddr'
obex_socket.c:227: warning: unused variable `di'
obex_socket.c: In function `cobex_open':
obex_socket.c:362: `OBEX_UUID' undeclared (first use in this function)
make[3]: *** [obex_socket.o] Error 1
make[3]: Leaving directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push/ussp-push-0.9'
cp: cannot stat `ussp-push': No such file or directory
make[2]: *** [ussp-push-0.9/ussp-push] Error 1
make[2]: Leaving directory
`/home/broadcast/fox/devboard-R2_01/apps/ussp-push'
make[1]: *** [install-recurse] Error 1
make[1]: Leaving directory `/home/broadcast/fox/devboard-R2_01'
make: *** [everything] Error 2