ubuntu错误ld returned 1 exit status
(2011-03-29 20:09:03)
标签:
杂谈 |
Preparing to build standard MudOS driver
...
Trying out some stuff to see what works; ignore errors ...
./build.MudOS: 171: gmake: not found
make: Nothing to be done for `nothing'.
./build.MudOS: 182: xlc: not found
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
./build.MudOS: 227: clcc: not found
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
FATAL ERROR: Cannot find a C compiler
Trying out some stuff to see what works; ignore errors ...
./build.MudOS: 171: gmake: not found
make: Nothing to be done for `nothing'.
./build.MudOS: 182: xlc: not found
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
./build.MudOS: 227: clcc: not found
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
FATAL ERROR: Cannot find a C compiler
解决:
Code:
sudo apt-get install build-essential bison
libc6-dev
should do it. build-essential includes gcc, etc.前一篇:ubuntu安装graphviz
后一篇:ubuntu 下 安装jdk