求助:arm-elf-gcc编译出错但gcc通过,为什么?
错误提示:# arm-elf-gcc -Wl,-elf2flt -o works.o works.c
In file included from /usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/sys/socket.h:35,
from works.c:3:
/usr/local/lib/gcc-lib/arm-elf/2.95.3/../../../../arm-elf/include/bits/socket.h:305: asm/socket.h: ????????? 是你需要的库没有加进去啊
自己把库的路径加上就可以了
页:
[1]