Hello,

I have some problems with TinyOS 2. I installed TinyOS 2 on Linux kubuntu 2.6.15-26-386 distribution. When I make the tos-check-env everything looks fine exept some warnings with graphviz but I guess this is not the problem.

-----------  tos-check-env --------------------------------------
Path:
        /usr/share/avr/bin
        /opt/msp430/bin
        /opt/msp430/bin
        /usr/local/sbin
        /usr/local/bin
        /usr/sbin
        /usr/bin
        /sbin
        /bin
        /usr/bin/X11
        /usr/games

Classpath:
        /opt/tinyos-2.x/support/sdk/java/tinyos.jar
        .

rpms:
        /usr/bin/rpm

nesc:
        /usr/bin/nescc
        Version: nescc: 1.2.7a

perl:
        /usr/bin/perl
        Version: v5.8.7 built for i486-linux-gnu-thread-multi

flex:

bison:

java:
        /usr/bin/java
        java version "1.4.2"

graphviz:
        /usr/bin/dot
        dot version 2.2.1 (Thu Apr  6 00:32:47 UTC 2006)

--> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10. Please update your graphviz version if you'd like to use the nescdoc documentation generator.


tos-check-env completed with errors:

--> WARNING: The graphviz (dot) version found by tos-check-env is not 1.10. Please update your graphviz version if you'd like to use the nescdoc documentation generator.
--------------------------------------------------------------------

I use the gcc (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2) compiler.
And now my problem; when I try to compile an application it doesn't work.
In the directory /opt/tinyos-2.x//apps/Blink I tried to compile with „sudo make micaz sim".
Then I get allot of output ... somthing like that ...

----------------------------------------------------------- ...
In component `AlarmCounterMilliP':
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:30: failed to preprocess /opt/tinyos-2.x/tos/platforms/mica/sim/PlatformC.nc
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:31: `uint8_t' undeclared here (not in a function)
In file included from /opt/tinyos- 2.x/tos/platforms/mica/AlarmCounterMilliP.nc:31,
                 from /opt/tinyos-2.x/tos/platforms/mica/sim/HilTimerMilliC.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos- 2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `Atm128TimerInitC':
/opt/tinyos-2.x/tos/chips/atm128/timer/Atm128TimerInitC.nc:35: syntax error before `uint8_t'
In file included from /opt/tinyos- 2.x/tos/platforms/mica/sim/HilTimerMilliC.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc :46:
In component `AlarmCounterMilliP':
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:31: too many arguments to component `MilliInit'
/opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:32: `uint8_t' undeclared here (not in a function)
In file included from /opt/tinyos-2.x/tos/platforms/mica/AlarmCounterMilliP.nc:32,
                 from /opt/tinyos-2.x/tos/platforms/mica/sim/HilTimerMilliC.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
                 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
                 from BlinkAppC.nc:46:
In component `Atm128AlarmC':
... ------------------------------------------------------------------------------------------

... at the end
--------------------------------------------------------
/opt/tinyos-2.x/tos/system/TimerMilliP.nc:41:
failed to preprocess /opt/tinyos-2.x/tos/lib/tossim/MainC.nc
/opt/tinyos-2.x/tos/system/TimerMilliP.nc:42:
cannot find `SoftwareInit'

In component `TimerMilliC':
/opt/tinyos-2.x/tos/system/TimerMilliC.nc:44:
too many arguments

In component `BlinkAppC':
BlinkAppC.nc:51: cannot find `Boot'
make: *** [sim-exe] Fehler 1
-----------------------------------------------------------

I'm now a little bit annoyed. So is there anybody how can help me???
Would be great

THX Lajos
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to