Hi all,

I am trying to use CPU profiling in PowerTossim that comes with
tinyos-1.1.15Dec2005cvs on Linux by following the instructions available at
http://www.eecs.harvard.edu/~shnayder/ptossim/install.html#cpu. However, I
cannot seem to get my application compiled and transformed with
Cilly and was wondering if anyone has experienced this and may offer some
help. The basic PowerTossim is working properly for me.

I am attaching the output errors.


[EMAIL PROTECTED]:~/tinyos/my-apps/TestNonLinMin/PowerTossimBB$ source
~/.bashrc-1.x/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/compile.pl
Use of uninitialized value in string eq at
/opt/tinyos-1.x/tools/scripts/PowerTOSSIM/compile.pl
line 14.
mkdir -p build/pc
   compiling MyApplicationC to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000
-fnesc-simulate -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-$
   compiled MyApplicationC to build/pc/main.exe
mkdir -p build/mica2
   compiling MyApplicationC to a mica2 binary
ncc -o build/mica2/main.exe -O0 -g -fnesc-no-inline -finline-limit=100000
-Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2
-fnesc-cfile=$
   compiled MyApplicationC to build/mica2/main.exe
           7116 bytes in ROM
            104 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
   writing TOS image

/opt/tinyos-1.x/tos/platform/pc/dbg.c:107: Warning: Inconsistent storage
specification for dbg_help. Previous declaration: /opt/tinyos-1.x
/tos/types/dbg.h:88

/opt/tinyos-1.x/tos/platform/pc/dbg.c:58: Warning: Inconsistent storage
specification for dbg_add_mode. Previous declaration: /opt/tinyos-1.x
/tos/types/dbg.h:85

/opt/tinyos-1.x/tos/platform/pc/dbg.c:84: Warning: Inconsistent storage
specification for dbg_add_modes. Previous declaration: /opt/tinyos-1.x
/tos/types/dbg.h:86

/opt/tinyos-1.x/tos/platform/pc/dbg.c:93: Warning: Inconsistent storage
specification for dbg_init. Previous declaration: /opt/tinyos-1.x
/tos/types/dbg.h:87

/opt/tinyos-1.x/tos/platform/pc/dbg.c:54: Warning: Inconsistent storage
specification for dbg_set. Previous declaration: /opt/tinyos-1.x
/tos/types/dbg.h:90

/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:405: Error: cabs2cil: castTo
float [10] -> float [10]

error in doExp (Errormsg.Error)

/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:405: Error: Expected lval for
ADDROF. Got Const(0)

error in doExp (Errormsg.Error)

Error: Cabs2cil has some errors
cilly error
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to