dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Help on building for Archos

Re: Help on building for Archos

From: Jonathan Gordon <>
Date: Wed, 5 Apr 2006 22:34:56 +1000

if you only want to make sure it compiles, do the sim build... as long
as your patch isnt #defined out for sim builds u should be fine
On 05/04/06, Jvo Studer <> wrote:
> Hello my devs!
> I could finally successful install the 'sh-elf' crosscompiler on Darwin
> 7.9. (MacOS 10.3.9). The problem was that in binutils-2.16 I had to
> delete 3 '*.m' files in the 'gprof' folder for getting binutils
> compiled. And also newlib-1.11 is necessary along gcc-3.3.6 in order to
> get a sucessful compilation of the crosscompiler on OSX.
> If I try to commpile for an archos (sh1) target I get the following
> error:
> Normal build selected
> Using sh-elf-gcc 3.3.6 (303)
> Created Makefile
> Guguseli:~/SDK/rockbox-jsl060402/build-check jvostuder$ make
> gcc -g rdf2binary.c -o rdf2binary
> gcc -g convbdf.c -o convbdf
> gcc -O -ansi -g -c -o scramble.o scramble.c
> gcc -O -ansi -g -c -o iriver.o iriver.c
> gcc -g scramble.o iriver.o -o scramble
> gcc -O -ansi -g -c -o descramble.o descramble.c
> gcc -g descramble.o iriver.o -o descramble
> gcc -O -ansi -g -g sh2d.c -o sh2d
> make -C ucl
> gcc -O2 -Iinclude -c -o uclpack.o uclpack.c
> make -C src
> gcc -I../include -c -o alloc.o alloc.c
> gcc -I../include -c -o io.o io.c
> gcc -I../include -c -o n2b_99.o n2b_99.c
> *** deleted more n2b_99 lines
> gcc -I../include -c -o n2e_to.o n2e_to.c
> gcc -I../include -c -o ucl_crc.o ucl_crc.c
> gcc -I../include -c -o ucl_dll.o ucl_dll.c
> gcc -I../include -c -o ucl_init.o ucl_init.c
> gcc -I../include -c -o ucl_ptr.o ucl_ptr.c
> gcc -I../include -c -o ucl_str.o ucl_str.c
> gcc -I../include -c -o ucl_util.o ucl_util.c
> ar ruv libucl.a alloc.o io.o n2b_99.o n2b_d.o n2b_ds.o n2b_to.o
> n2d_99.o n2d_d.o n2d_ds.o n2d_to.o n2e_99.o n2e_d.o n2e_ds.o n2e_to.o
> ucl_crc.o ucl_dll.o ucl_init.o ucl_ptr.o ucl_str.o ucl_util.o
> ar: creating archive libucl.a
> a - alloc.o
> a - io.o
> *** deleted some more lines
> a - n2e_to.o
> a - ucl_crc.o
> a - ucl_dll.o
> a - ucl_init.o
> a - ucl_ptr.o
> a - ucl_str.o
> a - ucl_util.o
> gcc uclpack.o src/libucl.a -o ../uclpack
> ld: archive: src/libucl.a has no table of contents, add one with
> ranlib(1) (can't load from it)
> make[2]: *** [../uclpack] Error 1
> make[1]: *** [uclpack] Error 2
> make: *** [tools] Error 2
> Can anyone help me with my problem? Actually I don't neeed the ucl
> compressed files because I need the sh1-CC only for checking if my
> patches compile fine on all targets.
> Any tip would be apreciated, thanxs
> Jvo
Received on 2006-04-05

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy