On 28 June 2012 11:20, Tri Nguyen Phi Minh <[email protected]> wrote:

> I used Synaptic and  installed avr-gcc to the latest version 4.5.3.
> Above errors disappeared, but compiling for micaz sill came out error:
>        "fatal error: inttypes.h: No such file or directory. Compilation
> termination."
>
> I checked and found inttypes.h located in /usr/include/.
>
> So, how can I tell avr-gcc looks for headers in that location?
>

You really don't want that. The headers in /usr/include are for your system
libc, not the AVR-libc. Just upgrade your avr-libc package to something
more recent. In my case the AVR-libc headers reside in /usr/lib/avr/include.

Regards,
/Johny
-- 
Johny Mattsson
Senior Software Engineer

DiUS Computing Pty. Ltd.
*where ideas are engineered
*
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to