【发布时间】:2011-08-08 12:07:47
【问题描述】:
我正在尝试使用 Eclipse 在 Linux 中编译一个简单的“Hello World”程序,但我总是得到这个:
Building target: hello
Invoking: GCC C++ Linker
g++ -o "hello" ./src/hello.o
./src/hello.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [hello] Error 1
**** Build Finished ****
有人知道问题出在哪里吗?
【问题讨论】: