Rockbox Ports are now being developed for various digital audio players!
make[2]: *** [libgcc.a] Abort trapmake[2]: *** Deleting file `libgcc.a'make[1]: *** [stmp-multilib] Error 2make: *** [all-gcc] Error 2
../tools/configure: line 2837: arm-elf-eabi-gcc: command not found[WARNING] The compiler you must use (arm-elf-eabi-gcc) is not in your path![WARNING] this may cause your build to fail since we cannot do the[WARNING] checks we want now.Using arm-elf-eabi-ld ..2842---Created Makefile
/usr/local/arm-elf/bin:/usr/local/m68mk-elf/bin:/usr/local/sh-elf/bin:/usr/local/arm-elf-eabi:/usr/local/arm-elf-eabi/bin
Anyone? :'(I don't know what to do. I've followed all the steps of the quick guide for compilling rockbox and I don't know why the arm-elf-eabi compiler is not installing on my system. Maybe is there some kind of incompatibility with Mac OS X? If I type "which arm-elf-eabi-gcc" I'm getting anything, and if I browse to usr/local/bin there aren't any arm-elf... files anywhere. When I run the "rockboxdev.sh" script, it finishes with some errors, but they aren't specified:Code: [Select]make[2]: *** [libgcc.a] Abort trapmake[2]: *** Deleting file `libgcc.a'make[1]: *** [stmp-multilib] Error 2make: *** [all-gcc] Error 2
libtool: compile: gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I../../binutils-2.20.1/bfd -I. -I../../binutils-.20.1/bfd -I../../binutils-2.20.1/bfd/../include -I./../intl -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes-Wmissing-prototypes -Werror -U_FORTIFY_SOURCE -MT elf32-arm.lo -MD -MP -MF .deps/elf32-arm.Tpo -c ../../binutils-.20.1/bfd/elf32-arm.c -o elf32-arm.occ1: warnings being treated as errors../../binutils-2.20.1/bfd/elf32-arm.c: In function ‘elf32_arm_print_private_bfd_data’:../../binutils-2.20.1/bfd/elf32-arm.c:10502: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10510: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10512: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10514: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10517: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10520: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10523: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10526: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10529: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10538: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10541: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10543: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10549: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10552: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10554: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10557: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10560: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10567: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10571: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10575: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10578: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10581: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10587: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10594: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10597: warning: format not a string literal and no format arguments../../binutils-2.20.1/bfd/elf32-arm.c:10602: warning: format not a string literal and no format argumentsmake[4]: *** [elf32-arm.lo] Error 1make[3]: *** [all-recursive] Error 1make[2]: *** [all] Error 2make[1]: *** [all-bfd] Error 2make: *** [all] Error 2
Add --disable-werror to the arguments for configure, and it might work.
CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
Edit rockboxdev.sh and add it to the end of the line that says:Code: [Select]CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_paramsbinutils treats all warnings as errors by default, but it's being built by your host compiler and your host compiler is not guaranteed to be entirely happy with it. --disable-werror tells it to let warnings slide
../../binutils-2.20.1/libiberty/choose-temp.c: In function `choose_temp_base':../../binutils-2.20.1/libiberty/choose-temp.c:68: warning: call to `mktemp' declared with attribute warning: the use of `mktemp' is dangerous; use `mkstemp' insteadlibtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared librarieslibtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared librariessyslex.c:1272: warning: `yyunput' defined but not usedsyslex.c:1315: warning: `input' defined but not usedarlex.c:1397: warning: `yyunput' defined but not usedarlex.c:1440: warning: `input' defined but not used/Users/gingold/Repositories/fsf/binutils-2_20/ld/ldlex.c:3362: warning: `yyunput' defined but not usedrm: cannot remove `/tmp/rbdev-build/build-binutils': Device or resource busy
I was getting a bit frustrated, so I thought maybe someone could give me a clue as to what I'm missing.
Page created in 0.123 seconds with 22 queries.