[Tinyos-help] RE: make [sim-exe] Error 2

Venkatesh S. svenkat at cedt.iisc.ernet.in
Sun Jan 7 19:45:34 PST 2007


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" <winfree.sean at gmail.com>
Subject: [Tinyos-help] make [sim-exe] Error 2
To: tinyos-help at millennium.berkeley.edu
Message-ID:
	<da66b3960701070938k903b05fn2c7a4b80d58585e2 at mail.gmail.com>
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.

Owner at Laptop /cygdrive/c
$ cd cygwin/opt/tinyos-2.x/apps/Blink

Owner at Laptop /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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3887 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070108/87663439/attachment.bin


More information about the Tinyos-help mailing list