Author Topic: /usr/bin/ld: crt1.o: No such file: No such file or directory  (Read 9289 times)

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1020
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
/usr/bin/ld: crt1.o: No such file: No such file or directory
« on: December 27, 2007, 09:02:22 PM »
During compilation of MudOS or FluffOS, some folks might encounter
something like this:

Quote
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

It means you're probably running Ubuntu or Debian or some similar
distro that lacks some normal stuff by default. The fix is mentioned
in http://dead-souls.net/ds-inst-faq.html#9 , specifically:

Quote
On Ubuntu, you will probably need to change your apt-get source (System->Administration->Software Sources) then apt-get install bison and apt-get install libc6-dev

Your mileage may vary.

-Crat

Offline shadyman

  • Friend
  • **
  • Posts: 50
    • View Profile
Re: /usr/bin/ld: crt1.o: No such file: No such file or directory
« Reply #1 on: September 01, 2008, 09:18:58 PM »
Um,
Code: [Select]
sudo apt-get install build-essential bison libc6-devshould do it. build-essential includes gcc, etc.