Vinod,

Check your $CLASSPATH environment variable (or the equivalent in cygwin.)
Your first/root error seems to indicate that the compiler can't find
"atm128hardware.h." I ran into a similar problem, and found out that my
CLASSPATH didn't include the current directory (indicated in linux by the
period, "."), so try "export"-ing it onto the end of the colon separated
list. Hope this helps,

Andrew Sabelhaus

On Thu, May 26, 2011 at 11:25 AM, vinod kumar <[email protected]> wrote:

> make micaz sim
> 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
> -DIDENT_PROGRAM_NAME=
> \"BlinkAppC\" -DIDENT_USER_ID=\"nguyenvp\" -DIDENT_HOSTNAME=\"mi2500961\"
> -DIDEN
> T_USER_HASH=0xfb248314L -DIDENT_UNIX_TIME=0x48568207L
> -DIDENT_UID_HASH=0x755841c
> bL -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
> -fnesc-dump='referen
> ced(interfacedefs, components)'
> -fnesc-dumpfile=build/micaz/wiring-check.xml Bli
> nkAppC.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
> ------------------------------
> Thanks Vinodh Kumar.
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to