http://www.nongnu.org/avr-libc/user-man ... r_binutils
中介绍的方法来安装 avr-libc
PATH已经设置好了 ,在安装 binutils-2.19.1的时候出现了如下问题
我使用 ../configure --prefix=$PREFIX --target=avr --disable-nls
编译时出现
代码: 全选
cc1: warnings being treated as errors
../../opcodes/avr-dis.c: In function 'avr_operand':
../../opcodes/avr-dis.c:112: error: format not a string literal and no format arguments
../../opcodes/avr-dis.c:152: error: format not a string literal and no format arguments
../../opcodes/avr-dis.c:161: error: format not a string literal and no format arguments
../../opcodes/avr-dis.c:172: error: format not a string literal and no format arguments
make[4]: *** [avr-dis.lo] Error 1
make[4]: Leaving directory `/home/ldqmoon/Desktop/binutils-2.19.1/obj-avr/opcodes'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ldqmoon/Desktop/binutils-2.19.1/obj-avr/opcodes'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ldqmoon/Desktop/binutils-2.19.1/obj-avr/opcodes'
make[1]: *** [all-opcodes] Error 2
make[1]: Leaving directory `/home/ldqmoon/Desktop/binutils-2.19.1/obj-avr'
make: *** [all] Error 2
请问,这是为什么啊?