Pages: [1]   Go Down
Author Topic: Missing /usr/local/avr  (Read 279 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everybody.

I need help since I "accidentally" deleted /usr/local/avr because my ide wasn't any longer compiling any sketch.
I tried to reinstall all the packages needed to compile such as avr-gcc, avr-libc, binutils-avr and so on.
Ah, my machine is running a ubuntu distro (11.10).

I can't make it compile back. The ide error says "stdlib.h - no such file or directory".

Any hints?

Thanks for your help.
Logged

Offline Offline
Edison Member
*
Karma: 19
Posts: 1041
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You TRIED to reinstall the packages? What happened? That's what you need to do if you accidentally deleted a file.

try:
Code:
sudo apt-get --reinstall install gcc-avr

If stdlib.h is missing, you may have to reinstall avr-libc as well.
Logged

Pages: [1]   Go Up
Jump to: