Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  cc1: Invalid option `long-calls'
« previous next »
  • Print
Pages: [1] 2

Author Topic: cc1: Invalid option `long-calls'  (Read 4423 times)

Offline pdedecker

  • Member
  • *
  • Posts: 15
cc1: Invalid option `long-calls'
« on: March 10, 2007, 04:42:08 AM »
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$  
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: cc1: Invalid option `long-calls'
« Reply #1 on: March 10, 2007, 04:55:33 AM »
You're not using the recommended version of arm-elf-gcc. Rockbox recommends 4.0.3, and you're using a 2.95.3
Logged

Offline pdedecker

  • Member
  • *
  • Posts: 15
Re: cc1: Invalid option `long-calls'
« Reply #2 on: March 10, 2007, 05:17:47 AM »
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?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: cc1: Invalid option `long-calls'
« Reply #3 on: March 10, 2007, 05:18:24 AM »
You can use the rockboxdev.sh script in the /tools/ folder of the Rockbox source.
Logged

Offline wtfmates

  • Member
  • *
  • Posts: 10
Re: cc1: Invalid option `long-calls'
« Reply #4 on: February 26, 2008, 08:19:19 AM »
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.

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.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: cc1: Invalid option `long-calls'
« Reply #5 on: February 26, 2008, 08:22:46 AM »
That what depend on which windows solution you're using for you build environment. Cygwin, VMWare or coLinux ?
Logged

Read The Manual Please

Offline wtfmates

  • Member
  • *
  • Posts: 10
Re: cc1: Invalid option `long-calls'
« Reply #6 on: February 26, 2008, 08:26:39 AM »
I'm using cygwin. Sorry, forgot to include it in the original post.

I have vmware downloaded as well, but cygwin would be more conveniant for me If I could do it in there.
« Last Edit: February 26, 2008, 08:41:02 AM by wtfmates »
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: cc1: Invalid option `long-calls'
« Reply #7 on: February 26, 2008, 08:41:08 AM »
Quote from: wtfmates on February 26, 2008, 08:26:39 AM
I'm using cygwin. Sorry, forgot to include it in the original post.

Well our development guide for setting up cygwin includes packages to download that will set up the right compiler versions - have you read it ?

The VMWare image we ship already has them installed. Entirely up to you which route you go.
Logged

Read The Manual Please

Offline wtfmates

  • Member
  • *
  • Posts: 10
Re: cc1: Invalid option `long-calls'
« Reply #8 on: February 26, 2008, 08:51:34 AM »
I followed the guide, but some of the packages listed in the guide weren't included in the list of packages to download. This old version of arm-elf-gcc I had to download and install myself, but I didn't know what version it was.



Oh well, I'm using vmware now and it's compiling without a problem. Thanks for your time.
Logged

Offline wtfmates

  • Member
  • *
  • Posts: 10
Re: cc1: Invalid option `long-calls'
« Reply #9 on: February 26, 2008, 09:11:00 AM »
And now I run into a problem on vmplayer. I have no way to transfer the zip I made between the virtual machine and windows. Hell I can't even view the compiled zip.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: cc1: Invalid option `long-calls'
« Reply #10 on: February 26, 2008, 10:24:24 AM »
the vmware machine has a network share you can access using \\debian from windows explorer.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline wtfmates

  • Member
  • *
  • Posts: 10
Re: cc1: Invalid option `long-calls'
« Reply #11 on: February 26, 2008, 10:42:11 AM »
It says windows cannot find \\debian.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: cc1: Invalid option `long-calls'
« Reply #12 on: February 26, 2008, 11:51:04 AM »
Quote from: wtfmates on February 26, 2008, 08:51:34 AM
I followed the guide, but some of the packages listed in the guide weren't included in the list of packages to download. This old version of arm-elf-gcc I had to download and install myself, but I didn't know what version it was.

You need to add Rockbox as one of the install sites to get our pre-built compilers.
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: cc1: Invalid option `long-calls'
« Reply #13 on: February 26, 2008, 03:52:39 PM »
Quote from: wtfmates on February 26, 2008, 10:42:11 AM
It says windows cannot find \\debian.

It's actually \\debian\user, but this is a common error. Just do a search for that term and you'll get lots of search results.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline wtfmates

  • Member
  • *
  • Posts: 10
Re: cc1: Invalid option `long-calls'
« Reply #14 on: February 26, 2008, 05:54:44 PM »
Alright, I'm using vmware. I though it was a problem with my computer, but I restarted vmware and I could access the files. Thanks for all of the help people. I was finally able to compile and patch my own build. I want to learn more about this stuff though. It's pretty entertaining.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  cc1: Invalid option `long-calls'
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.101 seconds with 14 queries.