Rockbox Development > Starting Development and Compiling

Some problems compiling

(1/4) > >>

Phalangees:
I've spent 6 hours trying to get this to compile and I just can't seem to get the bootloader for my Toshiba Gigabeat F10. I've run rockboxdev.sh and all that stuff. did the ../tools/configure and that worked fine but then when I try to do the make command I get this:


--- Code: ---make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' 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/kyle/rockbox/build/firmware/sysfont.o] Error 1
make: *** [all] Error 2

--- End code ---

any help at all would be great. thanks.

Bagder:
Your compiler seems to be weird.

Try invoking 'make V=1' to get to see the full command lines used.

Phalangees:

--- Code: ---kyle@kyle-desktop:~/rockbox/build$ make V=1
make -C /home/kyle/rockbox/tools CC=gcc rdf2binary convbdf scramble descramble bmp2rb codepages
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
make -C /home/kyle/rockbox/firmware OBJDIR=/home/kyle/rockbox/build/firmware
cpp0: config.h: No such file or directory
CONVBDF
CC sysfont.c
/home/kyle/rockbox/tools/convbdf -c -o /home/kyle/rockbox/build/firmware/sysfont.c ../fonts/rockbox_default.bdf
Header parsed
arm-elf-gcc -I/home/kyle/rockbox/firmware/target/arm/gigabeat/meg-fx -I/home/kyle/rockbox/firmware/target/arm/gigabeat -I/home/kyle/rockbox/firmware/target/arm -Iinclude -I/home/kyle/rockbox/firmware -Iexport -Icommon -Idrivers -I/home/kyle/rockbox/build -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes -mcpu=arm9tdmi -ffunction-sections -mlong-calls -fomit-frame-pointer -DGIGABEAT_F -DYEAR=2006 -DMONTH=12 -DDAY=12 -DBOOTLOADER -DMEM=32 -c /home/kyle/rockbox/build/firmware/sysfont.c -o /home/kyle/rockbox/build/firmware/sysfont.o
cc1: Invalid option `long-calls'
make[1]: *** [/home/kyle/rockbox/build/firmware/sysfont.o] Error 1
make: *** [all] Error 2
--- End code ---

Bagder:
And what does

arm-elf-gcc --version

say?

Phalangees:

--- Code: ---kyle@kyle-desktop:~$ arm-elf-gcc --version
2.95.3
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version