Error in building binutils for cortex

Posted by varung on
URL: http://elua-development.15.s1.nabble.com/Error-in-building-binutils-for-cortex-tp3571510.html

Dear All,

It will be great if anyone can help me out. I am new in Unbuntu (9.04),
in fact in Linux environment and was trying to generate arm-elf binaries
for cortex-m3 target. I am refering
http://eluaproject.dreamhosters.com/en/Building_GCC_for_Cortex

In Step 1, I am getting following error, don't know how to
proceed.......


gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I. -I../../gas -I../bfd
-I../../gas/config -I../../gas/../include -I../../gas/..
-I../../gas/../bfd -DLOCALEDIR="\"/home/xxxxx/cross-cortex/share/locale
\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2
-c ../../gas/config/tc-arm.c
cc1: warnings being treated as errors
../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’:
../../gas/config/tc-arm.c:3459: error: format not a string literal and
no format arguments
../../gas/config/tc-arm.c:3473: error: format not a string literal and
no format arguments
../../gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’:
../../gas/config/tc-arm.c:3591: error: format not a string literal and
no format arguments
../../gas/config/tc-arm.c:3606: error: format not a string literal and
no format arguments
../../gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’:
../../gas/config/tc-arm.c:3712: error: format not a string literal and
no format arguments
make[4]: *** [tc-arm.o] Error 1
make[4]: Leaving directory
`/home/varung/Build/binutils-2.19.1/build/gas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/varung/Build/binutils-2.19.1/build/gas'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/varung/Build/binutils-2.19.1/build/gas'
make[1]: *** [all-gas] Error 2
make[1]: Leaving directory `/home/xxxxx/Build/binutils-2.19.1/build'
make: *** [all] Error 2

Pls. help me out.

Thanks and Regards,

Varun Goyal
_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev