Hello,
I am working on cygwin. I have changed the mspgcc that comes with tinyos by
on from the project website.
Now when trying to compile blink, I am getting the following errors:
$ make telosb
C:\cygwin\opt\tinyos-2.x\support\make\Makerules:32: warning, MAKERULES
contains
backslashes.
The environment variable MAKERULES contains backslashes \'s. This can
cause shell scripts including ones in this make system to fail in
strange ways. I've changed those to forward slashes for you for this
build. However, you are strongly encouraged to respecify MAKERULES as
either a standard unix-style path or as a mixed-style path where the
backslashes are replaced with forward slashes /'s.
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mingw-gcc -mdisable-hwmul -Wall
-Wshadow -
Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=
-fnesc-separato
r=__ -DDEFINED_TOS_AM_GROUP=0x22 BlinkAppC.nc -lm
<commandline>: C file tos not found
<commandline>: component TinySchedulerC not found
<commandline>: Scheduler `TinySchedulerC' has no scheduling interface named
`Tas
kBasic'
In component `BlinkAppC':
BlinkAppC.nc:45: component MainC not found
BlinkC.nc:37:19: error: Timer.h: No such file or directory
In file included from BlinkAppC.nc:45:
In component `BlinkC':
BlinkC.nc:41: interface Timer not found
BlinkC.nc:41: syntax error before `TMilli'
BlinkC.nc:42: syntax error before `TMilli'
BlinkC.nc:43: syntax error before `TMilli'
BlinkC.nc:44: interface Leds not found
BlinkC.nc:45: interface Boot not found
BlinkC.nc:50: `booted' is not in interface `Boot'
BlinkC.nc: In function `Boot.booted':
BlinkC.nc:51: `Timer0' undeclared (first use in this function)
BlinkC.nc:51: (Each undeclared identifier is reported only once
BlinkC.nc:51: for each function it appears in.)
BlinkC.nc:52: `Timer1' undeclared (first use in this function)
BlinkC.nc:53: `Timer2' undeclared (first use in this function)
BlinkC.nc: At top level:
BlinkC.nc:57: unknown interface `Timer0'
BlinkC.nc: In function `Timer0.fired':
BlinkC.nc:58: implicit declaration of function `dbg'
BlinkC.nc:58: implicit declaration of function `sim_time_string'
BlinkC.nc:59: interface has no command or event named `led0Toggle'
BlinkC.nc: At top level:
BlinkC.nc:63: unknown interface `Timer1'
BlinkC.nc: In function `Timer1.fired':
BlinkC.nc:64: implicit declaration of function `dbg'
BlinkC.nc:64: implicit declaration of function `sim_time_string'
BlinkC.nc:65: interface has no command or event named `led1Toggle'
BlinkC.nc: At top level:
BlinkC.nc:69: unknown interface `Timer2'
BlinkC.nc: In function `Timer2.fired':
BlinkC.nc:70: implicit declaration of function `dbg'
BlinkC.nc:70: implicit declaration of function `sim_time_string'
BlinkC.nc:71: interface has no command or event named `led2Toggle'
In component `BlinkAppC':
BlinkAppC.nc: At top level:
BlinkAppC.nc:45: component LedsC not found
BlinkAppC.nc:46: component TimerMilliC not found
BlinkAppC.nc:46: component `TimerMilliC' is not generic
BlinkAppC.nc:47: component `TimerMilliC' is not generic
BlinkAppC.nc:48: component `TimerMilliC' is not generic
BlinkAppC.nc:51: cannot find `Boot'
BlinkAppC.nc:53: cannot find `Timer0'
BlinkAppC.nc:54: cannot find `Timer1'
BlinkAppC.nc:55: cannot find `Timer2'
BlinkAppC.nc:56: no match
make: *** [exe0] Error 1
Does anyone know what I should be doing?
Thank you,
Fabien.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help