Hi,

Can you try following command and see if it works? I think there are 
some basic files missing in your new Ubuntu installation like stddef.h.

"sudo apt-get install build-essential"/

/best regards,

-- 
Faisal Aslam

University of Freiburg
http://cone.informatik.uni-freiburg.de/people/aslam/


Ruben Rios wrote:
> Hello everyone,
>
> I am also trying to get TinyOS 2.1 to work under Ubuntu 9.10. I believe 
> the original creator of this post managed to get it working. However, I 
> cannot. I have done the following:
>
> Installed the tinyos-2.1.0 package from Synaptic using the following 
> line in my sources.list file:
>
> deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main
>
> The installation process (at least apparently) succeeded. I also set my 
> .bashrc file to use the tinyos.sh script. But when I try to compile for 
> the telosb platform I get the same errors you had:
>
> $ make telosb
> ...
> /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or 
> directory
> /usr/lib/ncc/nesc_nx.h:14:26: error: sys/inttypes.h: No such file or 
> directory
> /usr/lib/ncc/nesc_nx.h:235: syntax error before `__nesc_ntoh_uint8'
> /usr/lib/ncc/nesc_nx.h:240: syntax error before `__nesc_hton_uint8'
> /usr/lib/ncc/nesc_nx.h:242: warning: type defaults to `int' in 
> declaration of `base'
> /usr/lib/ncc/nesc_nx.h:242: `value' undeclared here (not in a function)
> ....
> (continues for ever)
>
> However, to my surprise, this doesn't happen for micaz platform.
>
>   


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

Reply via email to