Rockbox Development > Starting Development and Compiling
arm-elf-eabi-gcc not in PATH
sunami88:
I'm using cygwin to compile Rockbox builds. It was working just the other day, I built the latest rev for my Clip+, and the thing even booted, good times.
Today I started it up, did "rm *" in ~/rockbox/build-clip+ to make sure it was clean, and did "../tools/configure" just like I did last time. However now I get this;
--- Quote ---Normal build selected
Using source code root directory: /home/sunami88/rockbox
../tools/configure: line 2834: arm-elf-eabi-gcc: command not found
../tools/configure: line 2841: arm-elf-eabi-ld: command not found
[WARNING] The compiler you must use (arm-elf-eabi-gcc) is not in your path!
[WARNING] this may cause your build to fail since we cannot do the
[WARNING] checks we want now.
Using arm-elf-eabi-ld
Created Makefile
--- End quote ---
Of course, now it won't compile. I've been back through the Wiki, tried re-installing the packages, editing my PATH, everything. Nothing has changed in this environment from the last time I used it, but it just won't compile.
I'm sure it's got to be some stupid little error or something I'm missing, but I just can't get it. Like I said, it was working fine and now doesn't work at all.
saratoga:
We updated our compiler, so you need to update too. Rerun rockboxdev.sh and install the eabi compiler.
sunami88:
--- Quote from: saratoga on June 13, 2010, 02:59:27 AM ---We updated our compiler, so you need to update too. Rerun rockboxdev.sh and install the eabi compiler.
--- End quote ---
I got a crap load of errors... I think I'm missing some dependencies. Seems the Wiki article needs to be updated?
--- Quote ---libtool: link: cannot find the library `/usr/lib/libiconv.la' or unhandled argum
ent `/usr/lib/libiconv.la'
make[4]: *** [size.exe] Error 1
make[4]: Leaving directory `/tmp/rbdev-build/build-binutils/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/rbdev-build/build-binutils/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/rbdev-build/build-binutils/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/tmp/rbdev-build/build-binutils'
make: *** [all] Error 2
--- End quote ---
I'm installing libtool right now, hopefully that'll fix it up.
As an aside, what is the best way of keeping informed about this kind of update (short of signing up for the mailing list and reading every email).
Addendum: I have my RSS reader set to parse the Twitter feed for all changes made to the players I own, but unless something very specific is posted in the Subersion (e.g. "FuzeV2/Clip+/as3535v2/etc is built with eabi compiler now, run rockboxdev.sh to avoid compiler errors"), I miss it.
EDIT:
Now I'm getting
--- Quote ---ROCKBOXDEV: extracting binutils-2.20.1.tar.bz2
ROCKBOXDEV: applying patch binutils-2.20.1-ld-thumb-interwork-long-call.diff
patching file bfd/elf32-arm.c
ROCKBOXDEV: mkdir build-binutils
mkdir: cannot create directory `build-binutils': File exists
--- End quote ---
...What is the best way to revert the changes after it has failed once?
Stupid question, clearing out /tmp did it. It's late haha.
saratoga:
--- Quote from: sunami88 on June 13, 2010, 03:37:56 AM ---I got a crap load of errors... I think I'm missing some dependencies. Seems the Wiki article needs to be updated?
--- End quote ---
I don't think the wiki ever listed the depencies, so it should be up to date.
--- Quote from: sunami88 on June 13, 2010, 03:37:56 AM ---As an aside, what is the best way of keeping informed about this kind of update (short of signing up for the mailing list and reading every email).
--- End quote ---
dev list. But really, the message telling you that you don't have the compiler it wants to use installed should be a clue that theres a new compiler needed :)
sunami88:
--- Quote from: saratoga on June 13, 2010, 03:49:01 AM ---I don't think the wiki ever listed the depencies, so it should be up to date.
--- End quote ---
For using cygwin, it does. I should've been more specific as to which wiki article, but again with it being late: seems to be when I do most of my Rockboxing... Anyways I'll make the appropriate changes to the article assuming I don't fall asleep before I get it compiling. Far as I figure right now, at least Devel - libtool needs to be added to Section 2.1 - Package Selection.
--- Quote from: saratoga on June 13, 2010, 03:49:01 AM ---
dev list. But really, the message telling you that you don't have the compiler it wants to use installed should be a clue that theres a new compiler needed :)
--- End quote ---
Haha true, but still, running ~/rockbox/tools/rockboxdev.sh to install the new compiler wasn't exactly the first thing that sprang to my mind :P .
EDIT:
And now I've got
--- Quote ---libtool: link: cannot find the library `/usr/lib/libiconv.la' or unhandled argum
ent `/usr/lib/libiconv.la'
make[4]: *** [size.exe] Error 1
make[4]: Leaving directory `/tmp/rbdev-build/build-binutils/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/rbdev-build/build-binutils/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/rbdev-build/build-binutils/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/tmp/rbdev-build/build-binutils'
make: *** [all] Error 2
--- End quote ---
So I'll try Devel - libiconv now? I'm really just playing whack-a-mole here...
EDIT2:
Stupid thing keeps stalling on random files now. It gets to downloading a certain file, and just stops.
--- Quote ---ROCKBOXDEV: Downloading http://mirrors.kernel.org/gnu/gcc/gcc-4.4.4/gcc-core-4.4
.4.tar.bz2 using wget
--2010-06-13 13:58:18-- http://mirrors.kernel.org/gnu/gcc/gcc-4.4.4/gcc-core-4.
4.4.tar.bz2
Resolving mirrors.kernel.org... 204.152.191.39, 149.20.20.135
Connecting to mirrors.kernel.org|204.152.191.39|:80... connected.
HTTP request sent, awaiting response...
--- End quote ---
The last 3 times I've tried it's been a different file it's stalled on. This has nothing to do with my internet connection as it's quite good, and I haven't had any problems browsing around. What a migraine, it's gotta be after it's been compiling for ~30 minutes.
Navigation
[0] Message Index
[#] Next page
Go to full version