It looks to me like you don't have build-essential installed, I don't think it comes by default with hardy (and its not a tinyos specific thing, although I guess I should make it dependent on it because of tossim).
Try: sudo apt-get install build-essential Kevin On Wed, Sep 10, 2008 at 11:14 AM, natessos <[EMAIL PROTECTED]> wrote: > Hello > > Please I just can make tossim work inthe last version of tinyos > I've followed everi required installation step but nothing to do!!!! > > I'am on Linux ubuntu hardly heron 8.04.1 > > - add to the source.list file : deb >> http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main >> - reload the the repository >> - install : tinyos-2.1.0 (which allows the installation avr >> utilities...), python-cxx, python2.5-dev, build-essential >> - adding this line to my .bashrc : >> >> * export TOSROOT=/opt/tinyos-2.1.0 >> * export TOSDIR=$TOSROOT/tos >> * export >> CLASSPATH=$CLASSPATH\:$TOSROOT/support/sdk/java/tinyos.jar\:$TOSROOT/support/sdk/java/ >> * export MAKERULES=$TOSROOT/support/make/Makerules >> * source /opt/tinyos-2.1.0/tinyos.sh > > > > > Errors: >> >> /usr/lib/ncc/deputy_nodeputy.h:4:20: error: stddef.h: No such file or >> directory >> /usr/lib/ncc/nesc_nx.h:16:22: error: 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) >> /usr/lib/ncc/nesc_nx.h:242: warning: data definition has no type or >> storage class >> /usr/lib/ncc/nesc_nx.h:243: syntax error before `return' >> /usr/lib/ncc/nesc_nx.h:246: syntax error before `__nesc_ntoh_leuint8' >> /usr/lib/ncc/nesc_nx.h:251: syntax error before `__nesc_hton_leuint8' >> /usr/lib/ncc/nesc_nx.h:253: warning: type defaults to `int' in >> declaration of `base' >> /usr/lib/ncc/nesc_nx.h:253: redefinition of `base' >> /usr/lib/ncc/nesc_nx.h:242: previous declaration of `base' >> /usr/lib/ncc/nesc_nx.h:253: `value' undeclared here (not in a function) >> /usr/lib/ncc/nesc_nx.h:253: warning: data definition has no type or >> storage class >> /usr/lib/ncc/nesc_nx.h:254: syntax error before `return' >> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_int8' >> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_int8' >> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_ntoh_leint8' >> /usr/lib/ncc/nesc_nx.h:257: syntax error before `__nesc_hton_leint8' >> /usr/lib/ncc/nesc_nx.h:258: syntax error before `__nesc_bf_decode8' >> /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function) >> /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not in a function) >> /usr/lib/ncc/nesc_nx.h:258: syntax error before `if' >> /usr/lib/ncc/nesc_nx.h:258: warning: type defaults to `int' in >> declaration of `x' >> /usr/lib/ncc/nesc_nx.h:258: `uint8_t' undeclared here (not in a function) >> /usr/lib/ncc/nesc_nx.h:258: `msg' undeclared here (not in a function) >> /usr/lib/ncc/nesc_nx.h:258: subscripted value is neither array nor pointer >> /usr/lib/ncc/nesc_nx.h:258: `length' undeclared here (not in a function) >> /usr/lib/ncc/nesc_nx.h:258: warning: data definition has no type or >> storage class >> /usr/lib/ncc/nesc_nx.h:258: syntax error before `++' >> /usr/lib/ncc/nesc_nx.h:258: syntax error before `|=' >> /usr/lib/ncc/nesc_nx.h:258: syntax error before `*' >> /usr/lib/ncc/nesc_nx.h: In function `__nesc_bf_encode8': >> /usr/lib/ncc/nesc_nx.h:258: warning: declaration of `byte_offset' >> shadows global declaration >> /usr/lib/ncc/nesc_nx.h:258: warning: location of shadowed declaration >> ................................................................................... > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
