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

[bluetooth-dev] Bluetooth Stack Compile for Developer Board



Hi, I'm having troubles compiling the applications in the OpenBT
Bluetooth stack for the developer board.  It works fine when I compile
for the host computer, but when I type "make clinux" and then recompile
by typing "make," I get errors.  For example, when I compile the
/apps/bluetooth/userstack directory for the developer board, I get the
following:

[root@windy userstack]# make
gcc_cris -mlinux -DCRISMMU -Wall -O2
-I/root/axis/devboard_lx/eroot/include -MD -DHAVE_READLINE_READLINE
-DBTD_USERSTACK   -c -o btd.o btd.c
In file included from
/root/axis/devboard_lx/eroot/include/linux/byteorder/little_endian.h:11,

                 from
/root/axis/devboard_lx/eroot/include/asm/byteorder.h:43,
                 from include/local.h:49,
                 from include/btcommon.h:57,
                 from btd.c:178:
/root/axis/devboard_lx/eroot/include/linux/byteorder/swab.h:27:2:
warning: "___swab16" redefined
/root/axis/devboard_lx/eroot/include/bits/byteswap.h:1:8: warning: this
is the location of the previous definition
/root/axis/devboard_lx/eroot/include/linux/byteorder/swab.h:37:2:
warning: "___swab32" redefined
/root/axis/devboard_lx/eroot/include/bits/byteswap.h:9:8: warning: this
is the location of the previous definition
In file included from btd.c:138:
/root/axis/devboard_lx/eroot/include/string.h:42: warning: conflicting
types for built-in function `memcpy'
/root/axis/devboard_lx/eroot/include/string.h:51: warning: conflicting
types for built-in function `memset'
/root/axis/devboard_lx/eroot/include/string.h:54: warning: conflicting
types for built-in function `memcmp'
In file included from btd.c:176:
/root/axis/devboard_lx/eroot/include/pty.h:35: parse error before
`__THROW'
/root/axis/devboard_lx/eroot/include/pty.h:35: warning: type defaults to
`int' in declaration of `__THROW'
/root/axis/devboard_lx/eroot/include/pty.h:35: warning: data definition
has no type or storage class
/root/axis/devboard_lx/eroot/include/pty.h:40: parse error before
`__THROW'
/root/axis/devboard_lx/eroot/include/pty.h:40: warning: type defaults to
`int' in declaration of `__THROW'
/root/axis/devboard_lx/eroot/include/pty.h:40: warning: data definition
has no type or storage class
In file included from
/root/axis/devboard_lx/eroot/include/linux/byteorder/little_endian.h:11,

                 from
/root/axis/devboard_lx/eroot/include/asm/byteorder.h:43,
                 from include/local.h:49,
                 from include/btcommon.h:57,
                 from btd.c:178:
/root/axis/devboard_lx/eroot/include/linux/byteorder/swab.h:132:
conflicting types for `__fswab16'
/root/axis/devboard_lx/eroot/include/bits/byteswap.h:22: previous
declaration of `__fswab16'
/root/axis/devboard_lx/eroot/include/linux/byteorder/swab.h:145:
conflicting types for `__fswab32'
/root/axis/devboard_lx/eroot/include/bits/byteswap.h:29: previous
declaration of `__fswab32'
btd.c: In function `init_read_thread':
btd.c:2217: warning: implicit declaration of function `pthread_create'
btd.c: In function `open_pty':
btd.c:2260: warning: implicit declaration of function `openpty'
make: *** [btd.o] Error 1

Any help on this matter would be much appreciated.  Thank you.

Johnson Bao

Sanyo Electric Co., Ltd
Hypermedia Research Center
Telecommunications Systems Department

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com