make depend occurs error

来源:百度知道 编辑:UC知道 时间:2024/05/26 23:38:36
cat@cat-desktop:~/nachos/mp1/threads$ make depend
g++ -I. -I../machine -DTHREADS -DHOST_i386 -DHOST_SVR4 -DCHANGED -M ../threads/main.cpp ../threads/scheduler.cpp ../threads/synch.cpp ../threads/system.cpp ../threads/thread.cpp ../threads/utility.cpp ../machine/interrupt.cpp ../machine/sysdep.cpp ../machine/stats.cpp ../machine/timer.cpp ../machine/oneshot.cpp ../threads/threadtest.cpp ../threads/test.0.cpp ../threads/test.1.cpp ../threads/test.2.cpp ../threads/test.3.cpp ../threads/test.4.cpp ../threads/test.5.cpp > makedep
../threads/utility.cpp:22:69: error: /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h: No such file or directory
make: *** [depend] Error 1
PLEASE LET ME KNOW THE REASON AND THE SOLUTION

../threads/utility.cpp:22:69: error: /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h: No such file or directory
字面意思就是这个文件或者目录不存在 应该是#include路径写错了 只发个错误信息一般不太好找具体原因