|
在sylixos-base下执行make,输出错误如下:
In file included from /usr/include/newlib/math.h:5:0,
from SylixOS/lib/libc/stdio/vfprintf.c:258:
/usr/include/newlib/sys/reent.h:115:8: error: redefinition of 'struct __sbuf'
struct __sbuf {
^
In file included from ./SylixOS/../SylixOS/lib/lib_lib.h:42:0,
from ./SylixOS/../SylixOS/kernel/include/k_kernel.h:204,
from ./SylixOS/include/SylixOS.h:56,
from ./SylixOS/include/stdio.h:30,
from SylixOS/lib/libc/stdio/vfprintf.c:46:
./SylixOS/../SylixOS/lib/./libc/stdio/lib_stdio.h:93:8: note: originally defined here
struct __sbuf {
^
In file included from /usr/include/newlib/math.h:5:0,
from SylixOS/lib/libc/stdio/vfprintf.c:258:
/usr/include/newlib/sys/reent.h:179:8: error: redefinition of 'struct __sFILE'
struct __sFILE {
^
In file included from ./SylixOS/../SylixOS/lib/lib_lib.h:42:0,
from ./SylixOS/../SylixOS/kernel/include/k_kernel.h:204,
from ./SylixOS/include/SylixOS.h:56,
from ./SylixOS/include/stdio.h:30,
from SylixOS/lib/libc/stdio/vfprintf.c:46:
./SylixOS/../SylixOS/lib/./libc/stdio/lib_stdio.h:124:16: note: originally defined here
typedef struct __sFILE {
^
make[1]: *** [Debug/obj/SylixOS/lib/libc/stdio/vfprintf.o] 错误 1
make[1]:正在离开目录 `/home/bobo/sylixos_workspace/sylixos-base/libsylixos'
make: *** [all] 错误 2
貌似是说 __sbuf 和 __sFILE 定义的问题,这是怎么回事啊?
|
|