Arduino non compila su fedora 15

Visto che questo dovrebbe essere il mio primo post qua (avevo postato una volta sul forum internazionale) salve a tutti! XD

Utilizzo Arduino duemilanove da un po' di tempo, e generalmente lavoro sul mio vecchio computer con Ubuntu 10.10. Lì non ho problemi, di recente però ho installato fedora 15 sul mio nuovo notebook, e non riesco a far andare Arduino (anche Processing, ma questo è un altro discorso)...
Ho installato la IDE (arduino 0022) ma non riesco a compilare nemmeno l'esempio più semplice, quello con le void setup() e loop() vuote, per intenderci. Ho cercato nel forum internazionale per vedere se qualcuno con fedora 15 avesse il mio stesso problema, ma ho trovato solo un post che parlava di problemi di upload sulla scheda...

questo è quello che mi dice la IDE:

In file included from /usr/share/arduino/hardware/arduino/cores/arduino/Tone.cpp:37:0:
/usr/share/arduino/hardware/arduino/cores/arduino/pins_arduino.h:66:48: error: variable 'port_to_mode_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
/usr/share/arduino/hardware/arduino/cores/arduino/pins_arduino.h:67:49: error: variable 'port_to_input_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
/usr/share/arduino/hardware/arduino/cores/arduino/pins_arduino.h:68:50: error: variable 'port_to_output_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
/usr/share/arduino/hardware/arduino/cores/arduino/pins_arduino.h:70:54: error: variable 'digital_pin_to_port_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
/usr/share/arduino/hardware/arduino/cores/arduino/pins_arduino.h:72:58: error: variable 'digital_pin_to_bit_mask_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
/usr/share/arduino/hardware/arduino/cores/arduino/pins_arduino.h:73:55: error: variable 'digital_pin_to_timer_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
/usr/share/arduino/hardware/arduino/cores/arduino/Tone.cpp:108:45: error: variable 'tone_pin_to_timer_PGM' must be const in order to be put into read-only section by means of '__attribute__((progmem))'

Non mi sembra che sia molto di aiuto, vero?
Dovrei avere tutti i pacchetti avr richiesti, anche perché ho installato la IDE tramite il package manager di fedora.
Avete qualche suggerimento da darmi? Grazie in anticipo :slight_smile:

Questi sono i pacchetti di arduino installati sul mio fedora 15:

arduino.noarch                    0022-4.fc15       @updates                    
arduino-core.noarch               0022-4.fc15       @updates                    
arduino-doc.noarch                0022-4.fc15       @updates

e questi sono i pacchetti avr

avr-binutils.x86_64               2.21-2.fc15       @fedora                     
avr-gcc.x86_64                    4.6.1-2.fc15      @updates                    
avr-gcc-c++.x86_64                4.6.1-2.fc15      @updates                    
avr-libc.noarch                   1.7.0-1.fc14      @fedora                     
avrdude.x86_64                    5.10-3.fc15       @fedora

Il tuo problema deriva da alcune modifiche apportate in avr-gcc 4.6.x
Cerca sul forum perché devi correggere alcuni file di Arduino per farli andare con la nuova release.
Qui comunque qualcun altro con F15 ha risolto con un downgrade:
http://arduino.cc/forum/index.php/topic,72039.0.html