When I updated my system from Ubuntu 10.04 to 10.10 (32 bit) I can no longer use the arduino IDE. I get the following errors:
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:30:23: error: avr/delay.h: No such file or directory
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:31:19: error: stdio.h: No such file or directory
In file included from /home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:34,
from /home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:25:
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:29:20: error: stdlib.h: No such file or directory
In file included from /home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_private.h:34,
from /home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:25:
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'boolean'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'byte'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:112: error: expected ')' before 'mode'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:113: error: expected ')' before 'int'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:119: error: expected ')' before 'pin'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:121: error: expected ')' before 'dataPin'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'shiftIn'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring.h:124: error: expected ')' before 'void'
In file included from /home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:26:
/home/william/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/william/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:26:
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SS'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MOSI'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MISO'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SCK'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
/home/william/arduino-0021/hardware/arduino/cores/arduino/pins_arduino.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
/home/william/arduino-0021/hardware/arduino/cores/arduino/wiring_pulse.c:32: error: expected ')' before 'pin'
It seems like there are missing files and syntax errors. I am going through the files it mentions to fix the errors. I was wondering if anyone else has had these issues, especially if they use ubuntu 10.10 or linux. This is the latest release of arduino.