|
#1
|
|||
|
|||
|
I tried to compile my own build, and I faild. I was hoping for some help from here.
ok, after running Code:
svn co svn://svn.rockbox.org/rockbox/trunk rockbox Code:
Checked out revision 15252.
tim@ubuntu:~$ cd rockbox
tim@ubuntu:~/rockbox$ mkdir build
tim@ubuntu:~/rockbox$ cd build
tim@ubuntu:~/rockbox/build$ ../tools/configure
Enter target platform:
==Archos== ==iriver== ==Apple iPod==
0) Player/Studio 10) H120/H140 20) Color/Photo
1) Recorder 11) H320/H340 21) Nano
2) FM Recorder 12) iHP-100/110/115 22) Video
3) Recorder v2 13) iFP-790 23) 3G
4) Ondio SP 14) H10 20Gb 24) 4G Grayscale
5) Ondio FM 15) H10 5/6Gb 25) Mini 1G
6) AV300 26) Mini 2G
27) 1G, 2G
==iAudio== ==Toshiba== ==SanDisk==
30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200
31) M5/M5L 41) Gigabeat S 51) Sansa e200R
52) Sansa c200
==Tatung== ==Olympus==
60) Elio TPJ-1022 70) M:Robe 500
50
Platform set to e200
Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (I)installer, (M)anual (N)
N
Normal build selected
Using source code root directory: /home/tim/rockbox
../tools/configure: 1599: arm-elf-gcc: not found
../tools/configure: 1603: arm-elf-ld: not found
WARNING: The compiler you must use (arm-elf-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-ld
Created Makefile
tim@ubuntu:~/rockbox/build$ make
gcc -g rdf2binary.c -o rdf2binary
gcc -g convbdf.c -o convbdf
gcc -g codepages.c codepage_tables.c -o codepages
gcc -DAPPLICATION_NAME=\"bmp2rb\" -g bmp2rb.c -o bmp2rb
gcc -O -ansi -g -c -o scramble.o scramble.c
gcc -O -ansi -g -c -o iriver.o iriver.c
gcc -O -ansi -g -c -o mi4.o mi4.c
gcc -O -ansi -g -c -o gigabeat.o gigabeat.c
gcc -O -ansi -g -c -o gigabeats.o gigabeats.c
gcc -O -ansi -g -c -o telechips.o telechips.c
gcc -g scramble.o iriver.o mi4.o gigabeat.o gigabeats.o telechips.o -o scramble
/bin/sh: arm-elf-gcc: not found
Create sysfont.h
Header parsed
/bin/sh: arm-elf-gcc: not found
CONVBDF
CC sysfont.c
Header parsed
make[1]: arm-elf-gcc: Command not found
make[1]: *** [/home/tim/rockbox/build/firmware/sysfont.o] Error 127
make: *** [build] Error 2
tim@ubuntu:~/rockbox/build$
thanks in advance! |
|
|
|||
|
|
|
#2
|
||||
|
||||
|
You need to run:
rockbox/tools/rockboxdev.sh in the source tree to get the compiler. Charles
__________________
FAQs | My Custom e200 Rockbox Builds | MPD | Amarok | EasyTAG | Grip | AoTuV | LAME | Hydrogenaudio |
|
#3
|
|||
|
|||
|
gcc would be the compiler. You're not going to have much luck compiling without that.
|
|
#4
|
||||
|
||||
|
Alternatively, as I see you are using ubuntu, you could just run synaptic and install gcc that way. Or in a terminal:
Code:
apt-get install arm-elf-gcc |
|
#5
|
|||
|
|||
|
I don't think the Ubuntu repositories have arm-elf-gcc by default, and even if they did, it probably wouldn't be the right version. You really need to use the ones from rockbox.org unless you really know what you're doing.
|
|
#6
|
|||
|
|||
|
ah, ok so now I know what it is! yes I see now, but i still have no idea where to get it from, cpchan I don't know what you mean by running 'rockbox/tools/rockboxdev.sh' in the source tree, sorry.
and no I looked in the repository before and it was not there. |
|
#7
|
|||
|
|||
|
you need to search for a file in the source archive called rockboxdev.sh its a shell script which probably goes and gets the developement environment for you (libraries, compiler etc).
__________________
____________ Cya, Reggie... |
|
#8
|
||||
|
||||
|
just "cd rockbox/tools" and "sudo ./rockboxdev.sh"
__________________
;; German Rockbox Community Player: e260 --- Rockboxbuild: current build Themes: Azure Ultimate Kore |
|
#9
|
|||
|
|||
|
ok, getting there I found the file in '/home/tim/rockbox/tools/rockboxdev.sh' and ran it then continued but I still got the error
Code:
Using source code root directory: /home/tim/rockbox ../tools/configure: 1601: arm-elf-gcc: not found ../tools/configure: 1605: arm-elf-ld: not found WARNING: The compiler you must use (arm-elf-gcc) is not in your path! WARNING: this may cause your build to fail since we cannot do the WARNING: checks we want now. edit: I just found this on rockbox.org Quote:
|
|
#10
|
|||
|
|||
|
Quote:
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
|
#11
|
||||
|
||||
|
Quote:
Code:
export PATH=$PATH:/usr/local/arm-elf/bin Charles
__________________
FAQs | My Custom e200 Rockbox Builds | MPD | Amarok | EasyTAG | Grip | AoTuV | LAME | Hydrogenaudio |
|
#12
|
||||
|
||||
|
Quote:
Charles
__________________
FAQs | My Custom e200 Rockbox Builds | MPD | Amarok | EasyTAG | Grip | AoTuV | LAME | Hydrogenaudio |
|
#13
|
|||
|
|||
|
Quote:
Quote:
|
|
#14
|
|||
|
|||
|
Run this:
echo "export PATH=$PATH:/usr/local/arm-elf/bin" >> ~/.bashrc Then close and reopen the shell.
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
|
#15
|
|||
|
|||
|
nope, shell still just blinks up and goes again. And how can I 'close and reopen the shell' if it wont open in the first place?
|
|
#16
|
||||
|
||||
|
Please post the output in the shell when you try to run the script.
Charles
__________________
FAQs | My Custom e200 Rockbox Builds | MPD | Amarok | EasyTAG | Grip | AoTuV | LAME | Hydrogenaudio |
|
#17
|
|||
|
|||
|
I get nothing, I never get to see what happens, the terminal window is only there to a millisecond, not long enough to see it.
or do you mean the output of 'echo "export PATH=$PATH:/usr/local/arm-elf/bin" >> ~/.bashrc' when I run this nothing happens actually. when I press enter it just goes on to show another line with 'tim@ubuntu:~$'. really sorry for being such a pain in the a$$ |
|
#18
|
||||
|
||||
|
Quote:
Code:
which curl Code:
which gcc Code:
which bzip2 Code:
which make Code:
which patch
__________________
FAQs | My Custom e200 Rockbox Builds | MPD | Amarok | EasyTAG | Grip | AoTuV | LAME | Hydrogenaudio |
|
#19
|
|||
|
|||
|
How are you trying to run rockboxdev.sh? It almost seems as if you're double clicking on it, versus running it from the shell. Assuming you use Gnome, go to Applications, Accessories, Terminal and try running rockboxdev.sh, and paste the output.
__________________
Rockbox ▌chrisjs branch ▌kugel branch ▌Rockbox Themes ▌Rockbox Font Converter ▌Sansa Apps ▌1.02.18A.mi4 |
|
#20
|
|||
|
|||
|
OH MY GOD I am so thick! yeh, I got it to work
![]() anyhoo...you can kill this thread now, sorry for wasting all of your time! just need to get adding patches now! |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 07:10 AM.













Linear Mode
