This is the problem with the nesc installation.. Taking the wrong ncc.. Go 
through the tutorial to get a solution for this(tutorial 1).  If its a new 
installation (i.e., without upgrading your tinyos), then it may the problem 
with the cygwin version..

--
Regards, 
Venkatesh S




Date: Sun, 7 Jan 2007 12:38:36 -0500
From: "Sean Winfree" <[EMAIL PROTECTED]>
Subject: [Tinyos-help] make [sim-exe] Error 2
To: tinyos-help@millennium.berkeley.edu
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

I changed my MAKERULES path to:  export MAKERULES="C:\cygwin\opt\tinyos-
2.x\support\make\Makerules"
This found the makerules file however know I am getting an error with my
make.
I don't know what is causing all this.

[EMAIL PROTECTED] /cygdrive/c
$ cd cygwin/opt/tinyos-2.x/apps/Blink

[EMAIL PROTECTED] /cygdrive/c/cygwin/opt/tinyos-2.x/apps/Blink
$ make micaz sim
C:\cygwin\opt\tinyos-2.x\support\make\Makerules:31: 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/micaz
  placing object files in build/micaz
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim
-fnesc-nido-tosnodes=10
00 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\)
-finline-limit=100000 -
Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c
-board=mic
asb  -Wno-nesc-data-race BlinkAppC.nc   -fnesc-dump=components
-fnesc-dump=varia
bles -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs
-fnesc
-dump=tags -fnesc-dumpfile=app.xml
Unknown target micaz
Known targets for TinyOS directory cygwin/opt/tinos-2.x/tos
and the specified include directories are:
none.
make: *** [sim-exe] Error 2
om

<<winmail.dat>>

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

Reply via email to