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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Error when compiling.
« previous next »
  • Print
Pages: [1]

Author Topic: Error when compiling.  (Read 1923 times)

Offline daddy4life85

  • Member
  • *
  • Posts: 4
Error when compiling.
« on: January 07, 2009, 11:46:23 AM »
So I was following the simple guide to compiling using the virtual machine dev environment. I'm not sure if I have to install anything extra as I downloaded the image from the rockbox site but I get an error when trying to run the make command. The errors I get are here-

Code: [Select]
debian:/home/user/rockbox/build_s30# make
LD rockbox.elf
/usr/local/arm-elf/lib/gcc/arm-elf/4.0.3/../../../../arm-elf/bin/ld: ERROR: /usr/local/arm-elf/lib/gcc/arm-elf/4.0.3/libgcc.a(_u.divsi3.o) uses FPA instructions,    whereas /home/user/rockbox/build_s30/rockbox.elf does not
/usr/local/arm-elf/lib/gcc/arm-elf/4.0.3/../../../../arm-elf/bin/ld: failed to merge target specific data of file /usr/local/arm-elf/lib/gcc/arm-elf/4.0.3/libgcc.a(_udivsi3.o)

There is a lot more but it looks like the same thing over and over again. I couldn't copy and paste for some reason so had to type it out. Any idea's? I thought the VM image was ready to run so if I need to install something extra very sorry but the guide doesn't mention this.

Edit: Oh there is one more thing, it says it uses FPA instructions where as rockbox.elf does not.
« Last Edit: January 07, 2009, 12:40:11 PM by daddy4life85 »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Error when compiling.
« Reply #1 on: January 07, 2009, 12:59:50 PM »
What player are you compiling for? I assume you want to build for a Gigabeat S, and IIRC there was a patch required to gcc for that (and the vmware image hasn't been updated since). I could be wrong about this though ...
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline daddy4life85

  • Member
  • *
  • Posts: 4
Re: Error when compiling.
« Reply #2 on: January 07, 2009, 01:10:39 PM »
Yes the Gigabeat S series. The installation PDF for it doesn't mention the patch (that I saw anyways) let me read over it again.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Error when compiling.
« Reply #3 on: January 07, 2009, 01:14:49 PM »
You probably just need to rerun rockboxdev.sh.  I believe this bug was corrected a while ago.
Logged

Offline daddy4life85

  • Member
  • *
  • Posts: 4
Re: Error when compiling.
« Reply #4 on: January 07, 2009, 01:27:12 PM »
where is the rockboxdev.sh located?

Edit: nevermind found it, it's asking me to select target arch, guess I should just do all of them. Thinking maybe I should delete the entire thing and redo the svn capture. I'll try this first though.
« Last Edit: January 07, 2009, 01:30:54 PM by daddy4life85 »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Error when compiling.
« Reply #5 on: January 07, 2009, 01:42:34 PM »
The Gigabeat S is ARM based, so you only need the ARM compilers. Also, there is no installation PDF that deals with the vmware image ???
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Error when compiling.
« Reply #6 on: January 07, 2009, 01:48:33 PM »
Quote from: daddy4life85 on January 07, 2009, 01:27:12 PM
Thinking maybe I should delete the entire thing and redo the svn capture. I'll try this first though.

That won't help since the problem is the compiler, not the SVN check out.  Though you may need to do a make clean and perhaps even rerun the configure script once you update the compiler.
Logged

Offline daddy4life85

  • Member
  • *
  • Posts: 4
Re: Error when compiling.
« Reply #7 on: January 07, 2009, 01:54:11 PM »
I just removed the folder where I was trying to make them before and starting from scratch. The installation page I was talking about was for the Gigabeat S series and is located here http://www.rockbox.org/twiki/bin/view/Main/GigabeatSInstallation#Step_1a_Bootloader_installation , I did not mean PDF sorry. I just figured if it was a common problem they would have mentioned it in the install notes somewhere.


Edit: Was wondering how I can copy the nk.bin to my windows desktop now? Or can I run the firmware patcher inside VMware? Wasn't sure that would be safe or not?

Edit again: Nevermind I figured out how to use Samba :)
« Last Edit: January 07, 2009, 02:50:20 PM by daddy4life85 »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Error when compiling.
 

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

Page created in 0.073 seconds with 14 queries.