Rockbox Development > Starting Development and Compiling

Error when compiling.

(1/2) > >>

daddy4life85:
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: ---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)

--- End code ---

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.

bluebrother:
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 ...

daddy4life85:
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.

saratoga:
You probably just need to rerun rockboxdev.sh.  I believe this bug was corrected a while ago.

daddy4life85:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version