>

This is due to the fact that in ncc/tools, "c:/tinyos-1.x" was hard-coded.
If the TinyOS is not installed on C:, this is a problem.
To work aournd this, try the following. At the Cygwin prompt,

$ ln -s /cygdrive/f/tinyos-1.x /cygdrive/c/

where the TinyOS is assumed to be installed on F:.
In case you don't have drive C:, run SUBST.EXE to create a logical C: drive.

Hope this helps,

-yrchen



>

>
> Date: Wed, 23 Oct 2002 21:01:07 -0400
> From: Manish M Kochhal <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [Tinyos-users] Error Compiling the Blink Application on tinyos-1.x on 
>Windows XP
>
> hi
>
> tinyos users,
>
> I  have installed the newest version of tinyos (i.e. tinyos-1.x version)
> on Windows XP as an administrator ... I also checked the installation
> paths by running "toscheck" script available at the tools directory and
> it does not return any error.  However, when I try to compile the Blink
> application, I get these errors ...
>
> can anybody point me out whether I missed anything with the tinyos
> installation ...
>
> Thanks in advance,
>
> cheers,
> manish
>
> $ make mica
>     compiling Blink to a mica binary
> ncc -board=micasb -o build/mica/main.exe -Os -target=mica  -Wall
> -Wshadow -DDEF_
> TOS_AM_GROUP=0x7d -finline-limit=100000 -fnesc-cfile=build/mica/app.c
> Blink.nc
> -lm
> <commandline>: C file tos not found
> Blink.nc:74: component Main not found
> BlinkM.nc:68: interface StdControl not found
> BlinkM.nc:71: interface Clock not found
> BlinkM.nc:72: interface Leds not found
> BlinkM.nc:79: syntax error before `state'
> BlinkM.nc:81: warning: discarding unexpected docstring from BlinkM.nc:76.
> BlinkM.nc:86: syntax error before `StdControl'
> BlinkM.nc:93: warning: discarding unexpected docstring from BlinkM.nc:81.
> Blink.nc:74: component ClockC not found
> Blink.nc:74: component LedsC not found
> Blink.nc:76: cannot find `StdControl'
> Blink.nc:77: no match
> Blink.nc:78: no match
> make: *** [build/mica/main.exe] Error 1
>
> --__--__--
>
> _______________________________________________
> Tinyos-users mailing list
> [EMAIL PROTECTED]
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
>
> End of Tinyos-users Digest

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to