avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] Build Error?


From: Boyapati, Anitha
Subject: [avr-libc-dev] Build Error?
Date: Wed, 22 Jun 2011 21:33:13 +0800


Hi,

Hi,


I am using AVR-GCC 4.6.0 to build avr-libc-1.7.1.

Following conversation http://savannah.nongnu.org/bugs/?32988

I have applied both Eric's and Joerg's patch:

http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2239
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2241

I still get build error.

avr-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../../common -I../../../include 
-I../../../include  -g -Wall -W -Wstrict-prototypes -mmcu=avr2 
-D__COMPILING_AVR_LIBC__ -mcall-prologues -Os  -Os -fno-jump-tables 
-DSCANF_LEVEL=SCANF_STD -c -o vfscanf_std.o ../../../libc/stdio/vfscanf.c
../../../libc/stdio/vfscanf.c: In function 'vfscanf':
../../../libc/stdio/vfscanf.c:783:27: error: variable '__c' must be const in 
order to be put into read-only section by means of '__attribute__((progmem))'
make[5]: *** [vfscanf_std.o] Error 1
make[5]: Leaving directory 
`/home/anitha/patch-upgrade/avr-libc-1.7.1/avr/lib/avr2'
make[4]: *** [all-recursive] Error 1



Is this known or am I missing something?



Anitha



reply via email to

[Prev in Thread] Current Thread [Next in Thread]