it worked, thanks! On Thu, Apr 21, 2011 at 4:42 AM, Romain Bornet <bornet.r...@gmail.com>wrote:
> Hi Roberto, > > >> /usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or > directory > You probably don't have the standard C library headers installed on you > host... > > On a Debian/Ubuntu system, try "sudo apt-get install build-essential" > from the command line or choose the build-essential package from your > package management application (synaptic,...). > > If you are on another Linux distribution or on cygwin, find out how > you can install the standard C library header files. > > Regards, > Romain > > On Thu, Apr 21, 2011 at 11:38 AM, roberto pagliari > <rpagliari...@gmail.com> wrote: > > Hi All, > > I have issues building the GUI for Oscilloscope application. My > environment > > variables are the following > > bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ echo $CLASSPATH > > /opt/tinyos-2.1.1/support/sdk/java/ > > bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ echo $MAKERULES > > /opt/tinyos-2.1.1/support/make/Makerules > > bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ echo $TOSROOT > > /opt/tinyos-2.1.1/ > > bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ echo $TOSDIR > > /opt/tinyos-2.1.1/tos/ > > > > > > Did I forget to include something? Below is reported the error when > issuing > > make command. > > > > bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ make > > mig -target=null -java-classname=OscilloscopeMsg java ../Oscilloscope.h > > oscilloscope -o OscilloscopeMsg.java > > /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' > > a lot of other similar lines here..... > > SchedulerBasicP: `Scheduler.taskLoop' not implemented > > SchedulerBasicP: `Scheduler.bool' not implemented > > In C file: > > <commandline>: Scheduler `TinySchedulerC' has no scheduling interface > named > > `TaskBasic' > > ../Oscilloscope.h:28: syntax error before `nx_uint16_t' > > ../Oscilloscope.h:28: warning: no semicolon at end of struct or union > > ../Oscilloscope.h:29: syntax error before `interval' > > ../Oscilloscope.h:30: syntax error before `id' > > ../Oscilloscope.h:31: syntax error before `count' > > ../Oscilloscope.h:32: syntax error before `readings' > > ../Oscilloscope.h:33: warning: data definition has no type or storage > class > > failed to parse message file ../Oscilloscope.h > > make: *** [OscilloscopeMsg.java] Error 1 > > bob@bob-laptop:/opt/tinyos-2.1.1/apps/Oscilloscope/java$ > > _______________________________________________ > > Tinyos-help mailing list > > Tinyos-help@millennium.berkeley.edu > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help