Hi,
I have installed tiyos using online repository in ubuntu 11.04.
Now , i am trying running Blink code . When i use make iris sim
command it successfully builds the code showing following message :
mkdir -p simbuild/iris
  placing object files in simbuild/iris
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
.
.
.
*** Successfully built iris TOSSIM library.

When i try to run make iris command it is showing a long error message
part of which i am sending u

In component `CounterToLocalTimeC':
/opt/tinyos-2.1.1/tos/lib/timer/CounterToLocalTimeC.nc:38: syntax
error before `uint32_t'
/opt/tinyos-2.1.1/tos/lib/timer/CounterToLocalTimeC.nc:42: syntax
error before `LocalTime'
In component `HilTimerMilliC':
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:50: no match
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:51: cannot find
`TimerFrom'
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:52: cannot find `Alarm'
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:54: no match
/opt/tinyos-2.1.1/tos/platforms/mica/HilTimerMilliC.nc:55: cannot find `Counter'
In component `TimerMilliC':
/opt/tinyos-2.1.1/tos/system/TimerMilliC.nc:44: too many arguments
make: *** [exe0] Error 1

I also checked the nesc and ncc versions by using ncc --version it shows
ncc: 1.2.4
nescc: 1.3.1
gcc: gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Is there a problem with nesc compiler ? It is successfully running
make iris sim but it is not running make iris
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to