[Tinyos-help] Error TOSSIM [sim-exe] Error 2

Latro 2000 latro2000 at hotmail.com
Wed Jun 6 11:31:07 PDT 2007


Hello.
When I try to compile Blink Application to TOSSIM, I get the error showed 
below. It seems I have an environment variable wrong, but I was looking for 
it, so, It seems ok. I'm using tinyos 2.0.1, Win XP SP2 + Cygwin.

TOSROOT=/opt/tinyos-2.x
TOSDIR=/opt/tinyos-2.x/tos
MAKERULES=/opt/tinyos-2.x/support/make/Makerules
CLASSPATH='C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar;.'
PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/
cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Archivos de 
programa/Java/jdk1.6.0_01/bin:/cygdrive/c/Archivos de 
programa/Java/jdk1.6.0_01/jre
/bin:/cygdrive/c/Archivos de programa/QuickTime/QTSystem/:/opt/msp430/bin'

$ ncc --version
ncc: 1.2.1
nescc: 1.2.8a
gcc: gcc (GCC) 3.3.3 (cygwin special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'll appreciate your help.

cheers, Latro

++++++++++++++++++++++++++++++++++++++++++++++++++
Bruno at tinyos /opt/tinyos-2.x/apps/Blink
$ make telosb sim
mkdir -p build/telosb
  placing object files in build/telosb
  writing XML schema to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -DUSE_DL_IMPORT -fpic  -o build/telosb/sim.o -g -O0 -O -tossim 
-fnesc-nid
o-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\)   
-mdisable-
hwmul -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb 
-fnesc-cf
ile=build/telosb/app.c -board=  -Wno-nesc-data-race BlinkAppC.nc   
-fnesc-dump=c
omponents -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs 
-fnes
c-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
Unknown target telosb
Known targets for TinyOS directory /opt/tinyos-2.x/tos
and the specified include directories are:
  eyesIFXv1 eyesIFXv2 intelmote2 mica2 mica2dot micaz null telosa telosb 
tinynod
e
make: *** [sim-exe] Error 2
+++++++++++++++++++++++++++++++++++

_________________________________________________________________
Llamadas gratis de PC a PC con Windows Live Messenger en Prodigy/MSN 
www.prodigy.msn.com



More information about the Tinyos-help mailing list