[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Binutils Build error when the target is arm-linux
From: |
thinke365 |
Subject: |
Binutils Build error when the target is arm-linux |
Date: |
Tue, 23 Feb 2010 02:56:19 -0800 (PST) |
/configure --target=arm-linux, ok
make, shows error
gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./config -I./../include -I./..
-I./../bfd -DLOCALEDIR="\"/tools/cross/share/locale\"" -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT tc-arm.o -MD -MP
-MF .deps/tc-arm.Tpo -c -o tc-arm.o `test -f 'config/tc-arm.c' || echo
'./'`config/tc-arm.c
cc1: warnings being treated as errors
config/tc-arm.c: In function ‘make_mapping_symbol’:
config/tc-arm.c:2489: Warnning:if statement is empty
make[4]: *** [tc-arm.o] Error 1
make[4]: Leaving directory `/root/build/binutils-2.20_cross/gas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/build/binutils-2.20_cross/gas'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/build/binutils-2.20_cross/gas'
make[1]: *** [all-gas] Error 2
make[1]: Leaving directory `/root/build/binutils-2.20_cross'
make: *** [all] Error 2
you can add parenthesis to gas/config/tc-arm.c at line 2488.
This can solve the problem
My build environment is CentOS 5.3.
gcc 4.1.2, kernel version is 2.6.18
--
View this message in context:
http://old.nabble.com/Binutils-Build-error-when-the-target-is-arm-linux-tp27701545p27701545.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.
- Binutils Build error when the target is arm-linux,
thinke365 <=