Compiler error when try to upload Arduino examples

Hello, everbody I am new at this forum. Today I received a Arduino Uno. I use Lubuntu Linux. I tried to upload both my own program and the LED blink example. Both times I get this error:

In file included from /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:25: /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:28:20: error: avr/io.h: No such file or directory /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:29:27: error: avr/interrupt.h: No such file or directory /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:30:23: error: avr/delay.h: No such file or directory /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:31:19: error: stdio.h: No such file or directory In file included from /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:34, from /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:25: /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:29:20: error: stdlib.h: No such file or directory In file included from /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:34, from /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:25: /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:103: error: expected '=', ',', ';', 'asm' or 'attribute' before 'boolean' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:104: error: expected '=', ',', ';', 'asm' or 'attribute' before 'byte' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:112: error: expected ')' before 'mode' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:113: error: expected ')' before 'int' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:119: error: expected ')' before 'pin' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:121: error: expected ')' before 'dataPin' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:122: error: expected '=', ',', ';', 'asm' or 'attribute' before 'shiftIn' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring.h:124: error: expected ')' before 'void' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:28:26: error: avr/pgmspace.h: No such file or directory In file included from /home/superpelican/Desktop/arduino-0021/hardware/arduino/l:58: error: expected '=', ',', ';', 'asm' or 'attribute' before 'SS' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:59: error: expected '=', ',', ';', 'asm' or 'attribute' before 'MOSI' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:60: error: expected '=', ',', ';', 'asm' or 'attribute' before 'MISO' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:61: error: expected '=', ',', ';', 'asm' or 'attribute' before 'SCK' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:66: error: expected '=', ',', ';', 'asm' or 'attribute' before 'PROGMEM' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:67: error: expected '=', ',', ';', 'asm' or 'attribute' before 'PROGMEM' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:68: error: expected '=', ',', ';', 'asm' or 'attribute' before 'PROGMEM' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:70: error: expected '=', ',', ';', 'asm' or 'attribute' before 'PROGMEM' /home/superpelican/Desktop/arduino-/hardware/arduino/cores/arduino/pins_arduino.h:72: error: expected '=', ',', ';', 'asm' or 'attribute' before 'PROGMEM' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:73: error: expected '=', ',', ';', 'asm' or 'attribute' before 'PROGMEM' /home/superpelican/Desktop/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:32: error: expected ')' before 'pin'

I don't have any experience with Arduino or electronics. Is this just a IDE error?

Thanks, for any help,

Superpelican :(

error: avr/io.h: No such file or directory

The GCC-AVR compiler is either not installed or is not correctly installed.

Thanks, I thought I had AVR GCC installed. I'm gone a try to install AVR GCC again.

Thanks, for the help,

Superpelican :)

[edit]I checked AVR GCC = installed. It has to be an other problem... :( [/edit][edit]I reinstalled the AVR GCC, the situation don't changes. The error shows some files in the Arduino IDE software folder. I found the files in the software folder. That means that al those"expected:...." are not in the examples or my programs, but in the Arduino IDE files! Hope that people now have more info about my problem,

Superpelican [/edit]