This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Processor SDK Linux Software Developer’s Guide中thread-ex.c程序不能编译问题

/home/chen/ti/thread-ex.c:1:20: warning: extra tokens at end of #include directive [enabled by default]
 #include <unistd.h>;
                    ^
/home/chen/ti/thread-ex.c:2:23: warning: extra tokens at end of #include directive [enabled by default]
 #include <sys/types.h>;
                       ^
/home/chen/ti/thread-ex.c:3:19: warning: extra tokens at end of #include directive [enabled by default]
 #include <errno.h>;
                   ^
/home/chen/ti/thread-ex.c:4:19: warning: extra tokens at end of #include directive [enabled by default]
 #include <stdio.h>;
                   ^
/home/chen/ti/thread-ex.c:5:20: warning: extra tokens at end of #include directive [enabled by default]
 #include <stdlib.h>;
                    ^
/home/chen/ti/thread-ex.c:6:21: warning: extra tokens at end of #include directive [enabled by default]
 #include <pthread.h>;
                     ^
/home/chen/ti/thread-ex.c:7:20: warning: extra tokens at end of #include directive [enabled by default]
 #include <string.h>;
                    ^
/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/../../../../arm-linux-gnueabihf/bin/ld: cannot open output file home/chen/ti/thread-ex: No such file or directory
collect2: error: ld returned 1 exit status


这个对编译其它文件有什么影响吗?

x 出现错误。请重试或与管理员联系。