Hi,

I'm a newbie to TinyOS and I'm just trying to run the Blink application after 
just installing TinyOS 2 in Opensuse. 

The problem I'm having is as follows -  when I try to do a 'make micaz' I get a 
compilation error...........

/usr/lib/ncc/nesc_nx.h:16:22: inttypes.h: No such file or directory
<commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h
/opt/tinyos-2.x/tos/system/tos.h:5:22: inttypes.h: No such file or directory
/opt/tinyos-2.x/tos/system/tos.h:13:20: string.h: No such file or directory
/opt/tinyos-2.x/tos/system/tos.h:14:20: stdlib.h: No such file or directory
/opt/tinyos-2.x/tos/system/tos.h:15:18: math.h: No such file or directory
/opt/tinyos-2.x/tos/system/tos.h:17:19: ctype.h: No such file or directory
<commandline>: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36:
In interface `Scheduler': .....................................................

I checked the mail archives and in June 2006 someone had the exact same problem 
(see the thread for [Tinyos-help] "inttypes.h: No such file or directory" when 
compiling Blink on tinyos-2.x 
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-June/thread.html#17416
 )

However, the issue for this user turned out to be that the avc-gcc was looking 
at the wrong avr-libc. It seems out the user had 2 avr-gcc's and deleted one 
and pointed to the other which resolved the issue.

Unfortunately, I don't think that this is the problem that I am having. 

I have avr-gcc 3.4.3-1 and avr-libc 1.4.5-46 installed with no other avr-gcc 
present. 

Using the Yast software control center utility on Opensuse it says the avrlibs 
has dependencies which means it requires avr-programmer, cross-avr-binutils and 
cross-avr-gcc. I have cross-avr-binutils and cross-avr-gcc but when I do a 
search for the avr-programmer package it doesn't have this present - I don't 
what effect this has on my problem if any at all.

Any help is definitely appreciated!

Thanks, Eoin.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to