编译又出现问题

发布于 2018-11-20 11:19:53
编译又出现问题:'(:
> scons
scons: Reading SConscript files ...

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "E:\RT-Thread\rt-thread-master\rt-thread-master\bsp\qemu-vexpress-a9\SConstruct", line 23, in
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build\applications\lcd_init.o
In file included from E:\RT-Thread\rt-thread-master\rt-thread-master\components\net\sal_socket\include\dfs_net\sys_select/sys/select.h:28:0,
from e:\git\env_release\env\tools\gnu_gcc\arm_gcc\mingw\arm-none-eabi\include\sys\types.h:68,
from e:\git\env_release\env\tools\gnu_gcc\arm_gcc\mingw\arm-none-eabi\include\sys\signal.h:12,
from E:\RT-Thread\rt-thread-master\rt-thread-master\include/libc/libc_signal.h:71,
from E:\RT-Thread\rt-thread-master\rt-thread-master\include/rtdef.h:448,
from E:\RT-Thread\rt-thread-master\rt-thread-master\include/rtthread.h:27,
from applications\lcd_init.c:1:
E:\RT-Thread\rt-thread-master\rt-thread-master\components\dfs\include/dfs_select.h:24:22: error: unknown type name 'fd_set'
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
^
E:\RT-Thread\rt-thread-master\rt-thread-master\components\dfs\include/dfs_select.h:24:39: error: unknown type name 'fd_set'
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
^
E:\RT-Thread\rt-thread-master\rt-thread-master\components\dfs\include/dfs_select.h:24:57: error: unknown type name 'fd_set'
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
^
scons: *** [build\applications\lcd_init.o] Error 1
scons: building terminated because of errors.
以前编译的时候不会,突然冒出来没定义

查看更多

关注者
0
被浏览
984
2 个回答
yqiu
yqiu 2018-11-20
检查下配置项吧,看起来跟你的 menuconfig 配置项有关。
111
111 2018-11-21
yqiu 发表于 2018-11-20 14:05
检查下配置项吧,看起来跟你的 menuconfig 配置项有关。


版本太老了,重新下载了源码,可以了

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友