Rockbox Development > Starting Development and Compiling

Ubuntu Compiling Not Working

(1/1)

moonscapex:
I followed the steps in the Linux Simple guide to compiling and I got to the last step. I type make, wait a minute, and get this error.

/bin/sh: arm-elf-gcc: not found
/bin/sh: arm-elf-gcc: not found
...
/bin/sh: arm-elf-gcc: not found
CC lang.c
make: arm-elf-gcc: Command not found
make: *** [/home/will/rockbox/build/lang.o] Error 127

I am running the newest version of Ubuntu.
How do I compile Rockbox.

karashata:
Did you run the shell script (rockboxdev.sh, in the tools folder) downloaded with the source code to download and install the cross-compilers necessary to be able to compile the firmware for the various targets?

If not, do so (make sure to enable the executable bit so you can run it), then try it again and it should work (though you may need to add the patch to the compiler binary to your PATH variable, it's mentioned by the script as well).

If you have already installed the cross-compilers, you'll probably just need to add the folder to your PATH variable.

More instructions should be here, here, and here, if you need more help.

Navigation

[0] Message Index

Go to full version