Hi all!
I am trying to compile the RssiDemo application. When I compile (make iris
sim) SendingMote application there is no problem, it works fine. But when I
compile RssiBase, I get this output:
mkdir -p build/iris
placing object files in build/iris
writing XML schema to app.xml
compiling RssiBaseAppC to object file sim.o
ncc -c -shared -fPIC -o build/iris/sim.o -g -O0 -tossim
-fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\) -Wall -Wshadow -Wnesc-all -target=iris
-fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22
-finline-limit=100000 -I.. -I../InterceptBase -DRF230_RSSI_ENERGY
-DIDENT_PROGRAM_NAME=\"RssiBaseAppC\" -DIDENT_USER_ID=\"xubuntos\"
-DIDENT_HOSTNAME=\"xubuntos-tinyos\" -DIDENT_USER_HASH=0x00f95284L
-DIDENT_UNIX_TIME=0x48f8530dL -DIDENT_UID_HASH=0x7d07bb58L
-Wno-nesc-data-race RssiBaseAppC.nc -fnesc-dump=components
-fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs
-fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml
In file included from ../InterceptBase/BaseStationC.nc:71,
from RssiBaseAppC.nc:41:
In component `BaseStationP':
../InterceptBase/BaseStationP.nc:47: unknown attribute `safe'
../InterceptBase/BaseStationP.nc:47: empty scalar initializer
../InterceptBase/BaseStationP.nc:47: (near initialization for [EMAIL
PROTECTED]')
In component `BaseStationC':
../InterceptBase/BaseStationC.nc:83: ambiguous match
In file included from RssiBaseC.nc:36,
from RssiBaseAppC.nc:42:
In C file:
ApplicationDefinitions.h:5: syntax error before `<'
ApplicationDefinitions.h:11: nondigits in number and not hexadecimal
ApplicationDefinitions.h:25: syntax error before `<'
ApplicationDefinitions.h:28: syntax error before `<'
ApplicationDefinitions.h:65: nondigits in number and not hexadecimal
ApplicationDefinitions.h:106: nondigits in number and not hexadecimal
ApplicationDefinitions.h:278: character constant too long
ApplicationDefinitions.h:375: malformed floating constant
In file included from RssiBaseAppC.nc:42:
RssiBaseC.nc:55: commands, events or tasks not allowed in C files
RssiBaseC.nc:55: unknown interface `RssiMsgIntercept'
RssiBaseC.nc: In function `RssiMsgIntercept.forward':
RssiBaseC.nc:57: warning: implicit declaration of function `getRssi'
RssiBaseC.nc: In function `getRssi':
RssiBaseC.nc:73: `PacketRSSI' undeclared (first use in this function)
RssiBaseC.nc:73: (Each undeclared identifier is reported only once
RssiBaseC.nc:73: for each function it appears in.)
RssiBaseC.nc: At top level:
RssiBaseC.nc:86: syntax error before `}'
In component `RssiBaseAppC':
RssiBaseAppC.nc:48: component RF230ActiveMessageC not found
RssiBaseAppC.nc:49: cannot find `PacketRSSI'
RssiBaseAppC.nc:55: no match
make: *** [sim-exe] Error 1
I will appreciate any help,
Eva
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help