Hi

I have just now installed TinyOS 2.0 on my XP system, but am having problems
compiling Blink. Depending on what hardware I try to compile the program for, I
get different error messages, but the result from micaz is at the end of this
message.

Aside from a small java problem, "tos-check-env" gives everything an ok, and
"ncc --version" gives

ncc: 1.2.1
nescc: 1.2.8a
gcc: gcc (GCC) 3.3.3 (cygwin special)

The only oddity here is that I am using Nesc 1.2.8b-1. Could that have anything
to do with this?

Anyway, I hope someone here can give me some advice on how to solve this 
problem.

Thank you in advance.

Morten

$ make micaz
mkdir -p build/micaz
    compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb  -fnesc-dump=wiring -
fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, comp
onents)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
In file included from c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/MainC.nc:43:
c:/tinyos/cygwin/opt/tinyos-2.x/tos/platforms/micaz/hardware.h:50:28: atm128hard
ware.h: No such file or directory
c:/tinyos/cygwin/opt/tinyos-2.x/tos/platforms/micaz/hardware.h:51:23: Atm128Adc.
h: No such file or directory
c:/tinyos/cygwin/opt/tinyos-2.x/tos/platforms/micaz/hardware.h:52:23: MicaTimer.
h: No such file or directory
In component `BlinkAppC':
BlinkAppC.nc:45: failed to preprocess c:/tinyos/cygwin/opt/tinyos-2.x/tos/system
/MainC.nc
BlinkC.nc:37:19: Timer.h: No such file or directory
BlinkAppC.nc:45: failed to preprocess BlinkC.nc
In file included from BlinkAppC.nc:45:
In component `LedsC':
c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/LedsC.nc:38: component PlatformLedsC
not found
c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/LedsC.nc:42: cannot find `Init'
c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/LedsC.nc:43: cannot find `Led0'
c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/LedsC.nc:44: cannot find `Led1'
c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/LedsC.nc:45: cannot find `Led2'
c:/tinyos/cygwin/opt/tinyos-2.x/tos/system/TimerMilliC.nc:34:19: Timer.h: No suc
h file or directory
In component `BlinkAppC':
BlinkAppC.nc:46: failed to preprocess c:/tinyos/cygwin/opt/tinyos-2.x/tos/system
/TimerMilliC.nc
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: cannot find `Leds'
make: *** [exe0] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to