missing file or directory avr/io.h

Well when i try to compile my work I get this...
Error compiling.
/usr/share/arduino/hardware/arduino/cores/ardunio/pins_arduino.c:25
:20: fatal error: avr/io.h No file or directory
compilation terminated.

tried for some time to find an solution but i can't

Seems like you didn't install avr-libc.