Rockbox Development > Starting Development and Compiling
relocation truncated to fit -> error when compiling mod.c for IPodmini2g
cynric:
Hi!
I used to build my own svn build for my ipod mini 2g (using the vmware image) with the greyscale ipod lcd fix and the .mod codec (0.13). but since i had to update the vmware image i get the following errors at compiling mod.c:
--- Code: ---CC mod.c
LD mod.elf
/home/user/rbx/RockboxSvn/rockbox_patched_svn/built/apps/codecs/mod.o: In function `codec_main':
mod.c:(.text+0xbc): relocation truncated to fit: R_ARM_PC24 against `.icode'
mod.c:(.text+0x1c0): relocation truncated to fit: R_ARM_PC24 against `.icode'
collect2: ld returned 1 exit status
make[2]: *** [/home/user/rbx/RockboxSvn/rockbox_patched_svn/built/apps/codecs/mod.elf] Error 1
rm /home/user/rbx/RockboxSvn/rockbox_patched_svn/built/apps/codecs/codec_crt0.o
make[1]: *** [build-codecs] Error 2
make: *** [all] Error 2
--- End code ---
without the .mod codec everything works fine...
also for other platforms, compiling works (tested for h120).
how can i get this to work again?
thanks!
bluebrother:
this error message looks like an outdated compiler -- which version are you using?
(try arm-elf-gcc --version) You should at least have 4.0.3 (and IIRC the vmware image was outdated at some time, but I might be wrong at this).
cynric:
4.0.3. just trying a dist-upgrade, see if that helps...
cynric:
no luck, same error..
Llorean:
If it compiles fine without the patch, I would suggest asking the patch author.
Navigation
[0] Message Index
[#] Next page
Go to full version