2014年2月5日 星期三

fatal error: ctype.h: No such file or directory

Make時發生下面的錯誤:

make[1]: /opt/buildroot-gcc342/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: /opt/buildroot-gcc342/bin/mipsel-linux-uclibc-gcc: Command not found
make[2]: Entering directory `/home/fae/Projects/MTK/SDK_4200/RT288x_SDK/toolchain/buildroot/toolchain_build_mipsel/uClibc-0.9.28/extra/config'
make[2]: /opt/buildroot-gcc342/bin/mipsel-linux-uclibc-gcc: Command not found
gcc -O2 -Wall -I. -c conf.c -o conf.o
conf.c:6:19: fatal error: ctype.h: No such file or directory
 #include <ctype.h>

確定是否有安裝gcc與g++
sudo apt-get install gcc
sudo apt-get install g++

沒有留言:

張貼留言