Rockbox Development > Starting Development and Compiling

cc1: Invalid option `long-calls'

(1/4) > >>

pdedecker:
I can't compile Rockbox. When I run the make command, I get this error: cc1: Invalid option `long-calls'. What does that mean? I should mention that I'm not using Cygwin to compile since I already am on Linux (Kubuntu 6.10).

Here's the full output:
--- Quote ---pdedecker@BETAubuntu:~/Desktop/rockbox-compile/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

 ==iAudio==            ==Toshiba==            ==SanDisk==
 30) X5/X5V/X5L        40) Gigabeat F         50) Sansa e200
 31) M5/M5L                                   51) Sansa e200R

 ==Tatung==
 60) Elio TPJ-1022
21
Platform set to ipodnano

Build (N)ormal, (A)dvanced, (S)imulator, (B)ootloader, (M)anual, (V)oice? (N)
n
Normal build selected
Using source code root directory: /home/pdedecker/Desktop/rockbox-compile/rockbox
Using arm-elf-gcc 2.95.3 (295)
Created Makefile
pdedecker@BETAubuntu:~/Desktop/rockbox-compile/rockbox/build$ make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `ipod_fw' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
cpp0: config.h: No such file or directory
CONVBDF
CC sysfont.c
Header parsed
cc1: Invalid option `long-calls'
make[1]: *** [/home/pdedecker/Desktop/rockbox-compile/rockbox/build/firmware/sysfont.o] Error 1
make: *** [all] Fout 2
pdedecker@BETAubuntu:~/Desktop/rockbox-compile/rockbox/build$  
--- End quote ---

Llorean:
You're not using the recommended version of arm-elf-gcc. Rockbox recommends 4.0.3, and you're using a 2.95.3

pdedecker:
Yeah, I had to Google it to get arm-elf-gcc because it is not included in the Kubuntu repositories. Where can I download the correct version?

Llorean:
You can use the rockboxdev.sh script in the /tools/ folder of the Rockbox source.

wtfmates:

--- Quote from: Llorean on March 10, 2007, 05:18:24 AM ---You can use the rockboxdev.sh script in the /tools/ folder of the Rockbox source.

--- End quote ---

Can a person on windows use that file to replace the old version arm-elf? If yes, how? and if not, could you tell me where to go to get the new version? Thanks a bunch.

Navigation

[0] Message Index

[#] Next page

Go to full version