[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] RE: +AFs-bluetooth-dev+AF0- Bluetooth Stack Compile for Developer Board



uC-libc does not have support for pthreads, so
you cannot use the user mode version of the stack
for the developer board. You have to use the +ACI-real
thing+ACI-, i.e., the kernel based stack.

//Peter

+AD4- -----Original Message-----
+AD4- From: Johnson Bao +AFs-mailto:johnson+AEA-gf.hm.rd.sanyo.co.jp+AF0-
+AD4- Sent: Wednesday, June 20, 2001 03:22
+AD4- To: bluetooth-dev+AEA-axis.com+ADs- support-etrax+AEA-axis.com
+AD4- Subject: +AFs-bluetooth-dev+AF0- Bluetooth Stack Compile for Developer Board
+AD4- 
+AD4- 
+AD4- Hi, I'm having troubles compiling the applications in the OpenBT
+AD4- Bluetooth stack for the developer board.  It works fine when I compile
+AD4- for the host computer, but when I type +ACI-make clinux+ACI- and then 
+AD4- recompile
+AD4- by typing +ACI-make,+ACI- I get errors.  For example, when I compile the
+AD4- /apps/bluetooth/userstack directory for the developer board, I get the
+AD4- following:
+AD4- 
+AD4- +AFs-root+AEA-windy userstack+AF0AIw- make
+AD4- gcc+AF8-cris -mlinux -DCRISMMU -Wall -O2
+AD4- -I/root/axis/devboard+AF8-lx/eroot/include -MD -DHAVE+AF8-READLINE+AF8-READLINE
+AD4- -DBTD+AF8-USERSTACK   -c -o btd.o btd.c
+AD4- In file included from
+AD4- /root/axis/devboard+AF8-lx/eroot/include/linux/byteorder/little+AF8-en
+AD4- dian.h:11,
+AD4- 
+AD4-                  from
+AD4- /root/axis/devboard+AF8-lx/eroot/include/asm/byteorder.h:43,
+AD4-                  from include/local.h:49,
+AD4-                  from include/btcommon.h:57,
+AD4-                  from btd.c:178:
+AD4- /root/axis/devboard+AF8-lx/eroot/include/linux/byteorder/swab.h:27:2:
+AD4- warning: +ACIAXwBfAF8-swab16+ACI- redefined
+AD4- /root/axis/devboard+AF8-lx/eroot/include/bits/byteswap.h:1:8: 
+AD4- warning: this
+AD4- is the location of the previous definition
+AD4- /root/axis/devboard+AF8-lx/eroot/include/linux/byteorder/swab.h:37:2:
+AD4- warning: +ACIAXwBfAF8-swab32+ACI- redefined
+AD4- /root/axis/devboard+AF8-lx/eroot/include/bits/byteswap.h:9:8: 
+AD4- warning: this
+AD4- is the location of the previous definition
+AD4- In file included from btd.c:138:
+AD4- /root/axis/devboard+AF8-lx/eroot/include/string.h:42: warning: conflicting
+AD4- types for built-in function +AGA-memcpy'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/string.h:51: warning: conflicting
+AD4- types for built-in function +AGA-memset'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/string.h:54: warning: conflicting
+AD4- types for built-in function +AGA-memcmp'
+AD4- In file included from btd.c:176:
+AD4- /root/axis/devboard+AF8-lx/eroot/include/pty.h:35: parse error before
+AD4- +AGAAXwBf-THROW'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/pty.h:35: warning: type 
+AD4- defaults to
+AD4- +AGA-int' in declaration of +AGAAXwBf-THROW'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/pty.h:35: warning: data 
+AD4- definition
+AD4- has no type or storage class
+AD4- /root/axis/devboard+AF8-lx/eroot/include/pty.h:40: parse error before
+AD4- +AGAAXwBf-THROW'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/pty.h:40: warning: type 
+AD4- defaults to
+AD4- +AGA-int' in declaration of +AGAAXwBf-THROW'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/pty.h:40: warning: data 
+AD4- definition
+AD4- has no type or storage class
+AD4- In file included from
+AD4- /root/axis/devboard+AF8-lx/eroot/include/linux/byteorder/little+AF8-en
+AD4- dian.h:11,
+AD4- 
+AD4-                  from
+AD4- /root/axis/devboard+AF8-lx/eroot/include/asm/byteorder.h:43,
+AD4-                  from include/local.h:49,
+AD4-                  from include/btcommon.h:57,
+AD4-                  from btd.c:178:
+AD4- /root/axis/devboard+AF8-lx/eroot/include/linux/byteorder/swab.h:132:
+AD4- conflicting types for +AGAAXwBf-fswab16'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/bits/byteswap.h:22: previous
+AD4- declaration of +AGAAXwBf-fswab16'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/linux/byteorder/swab.h:145:
+AD4- conflicting types for +AGAAXwBf-fswab32'
+AD4- /root/axis/devboard+AF8-lx/eroot/include/bits/byteswap.h:29: previous
+AD4- declaration of +AGAAXwBf-fswab32'
+AD4- btd.c: In function +AGA-init+AF8-read+AF8-thread':
+AD4- btd.c:2217: warning: implicit declaration of function +AGA-pthread+AF8-create'
+AD4- btd.c: In function +AGA-open+AF8-pty':
+AD4- btd.c:2260: warning: implicit declaration of function +AGA-openpty'
+AD4- make: +ACoAKgAq- +AFs-btd.o+AF0- Error 1
+AD4- 
+AD4- Any help on this matter would be much appreciated.  Thank you.
+AD4- 
+AD4- Johnson Bao
+AD4- 
+AD4- Sanyo Electric Co., Ltd
+AD4- Hypermedia Research Center
+AD4- Telecommunications Systems Department
+AD4- 
+AD4- -
+AD4- To unsubscribe from this list: send the line +ACI-unsubscribe 
+AD4- bluetooth-dev+ACI- in
+AD4- the body of a message to majordomo+AEA-axis.com
+AD4- 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com