Ruben,
Thanks for responding again. Yes, I tried what you suggested. I even realized that my PATH had backslashes instead of forward slashes. I tried each scenario but with the same response. See below for my latest. I am setting these in both the user environment and the system environment to cover all bases. Any other advice will be appreciated. As of 013110 CLASSPATH %CLASSPATH;C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar.;C:\Program Files\Java\jdk1.6.0_06\bin;C:\aspectj1.5\lib\aspectjrt.jar;. PATH C:/cygwin/bin;C:/cygwin/opt/tinyos-2.x/tos;C:/Program Files/ATT/Graphviz/bin;C:/Program Files/ATT/Graphviz/bin/tools;C:/cygwin/opt/jflashmm:$PATH; TOSROOT C:/cygwin/opt/tinyos-2.x TOSDIR $(TOSROOT)/tos/ MAKERULES $(TOSROOT)/support/make/Makerules mkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-mot enumber=sim_node\(\) -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_A M_GROUP=0x22 -finline-limit=100000 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"xxx\" -DIDENT_HOSTNAME=\"xxx\" -DIDENT_USERHASH=0x196aee91L -DIDENT_TIMESTAMP=0x4b65b379L -DIDENT_UIDHASH=0xd4901953L -Wno-nesc-data-race BlinkAppC.nc -fn esc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tag s -fnesc-dumpfile=app.xml Unknown target micaz Known targets for TinyOS directory $(TOSROOT)/tos and the specified include directories are: none. make: *** [sim-exe] Error 2 From: [email protected] [mailto:[email protected]] On Behalf Of Ruben Rios Sent: Sunday, January 31, 2010 7:28 AM To: Jim Voulgarakis Subject: Re: [Tinyos-help] Unknown target micaz...make: *** [sim-exe] Error 2 Hi Jim, Have you tried changing what I told you to see what happens?? The thing is that you're mixing Linux and Windows style path variables within your environment. You should either use TOSROOT as /opt/tinyos-2.x or as C:\cygwin\opt\tinyos-2.x\. This first is in linux (or cygwin) style while the second is Windows style. You should not mix both. In any case, I would recommend you to use the linux style (/opt/tinyos-2.x) as recommended in the tutorial instead of the Windows style. Hope this makes things more clear to you, Ruben 2010/1/30 Jim Voulgarakis <[email protected]> Thanks for responding. I am running cygwin under Windows XP. For my configuration I need the slashes just as they are. See the tutorial below from http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Manual_installation_on_your_host_OS_with_RPMs. Error! Filename not specified. TinyOS 2.x Environment Variable Windows Linux TOSROOT /opt/tinyos-2.x same as in Cygwin TOSDIR $TOSROOT/tos same as in Cygwin CLASSPATH C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;. $TOSROOT/support/sdk/java/tinyos.jar:. MAKERULES $TOSROOT/support/make/Makerules same as in Cygwin PATH†/opt/msp430/bin:/opt/jflashmm:$PATH same as in Cygwin -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ruben Rios Sent: Saturday, January 30, 2010 12:43 PM To: Jim Voulgarakis Cc: [email protected] Subject: Re: [Tinyos-help] Unknown target micaz...make: *** [sim-exe] Error 2 HI Jim, > Known targets for TinyOS directory $(TOSROOT)/tos > and the specified include directories are: > none. It seems that your problem is with the TOSROOT variable. If you look at your environment definitions the TOSROOT is defined using backslashes instead of slashes like any other variables. Look the dfiference > C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C:\Program > Files\Common Files\ArchestrA;C:\cygwin\bin;C:\Program > Files\ATT\Graphviz\bin;C:\Program > Files\ATT\Graphviz\bin\tools;C:\cygwin\opt\jflashmm:$PATH; > > TOSROOT > C:/cygwin/opt/tinyos-2.x/ > This should be something like: C:\cygwin\opt\tinyos-2.x\ Hope this solves your problem. All the best -- Ruben -- Ruben
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
