Hi,

After days of struggling to implement TinyOS both on Ubuntu and windows
(cygwin), I can finally run Blink app successfully (In Ubuntu at least).
However I need help on a specific case. I am getting the same error on both
Ubuntu and windows.

Please could you look at the output below (I know it is long, sorry) and
just throw and idea what the heck is wrong with this ilqeAppC?

Thanks,

/opt/tinyos-2.x/apps/CompSimStudy--Scenario1
$ make micaz sim-cygwin
mkdir -p build/micaz
    compiling ilqeAppC to a micaz binary
ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -
target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP
=0x22 --param max-inline-insns-single=100000 -DPACKET_LINK
-DIDENT_APPNAME=\"ilq
eAppC\" -DIDENT_USERNAME=\"ualtun\" -DIDENT_HOSTNAME=\"TRISTN0TR0800\"
-DIDENT_U
SERHASH=0xd7b2e519L -DIDENT_TIMESTAMP=0x4d9312b7L
-DIDENT_UIDHASH=0x09f00060L -f
nesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(i
nterfacedefs, components)' -fnesc-dumpfile=build/micaz/wiring-check.xml
ilqeAppC
.nc -lm
In file included from ilqeAppC.nc:32:
MsgStructure.h:23: syntax error before `float_t'
MsgStructure.h:23: warning: no semicolon at end of struct or union
MsgStructure.h:30: syntax error before `}'
MsgStructure.h:30: warning: type defaults to `int' in declaration of
`neighbor_e
ntry'
MsgStructure.h:30: warning: data definition has no type or storage class
In file included from ilqeAppC.nc:47:
In component `ilqeC':
ilqeC.nc:36: syntax error before `NeighborTable'
ilqeC.nc: In function `initNeighbor':
ilqeC.nc:65: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:65: (Each undeclared identifier is reported only once
ilqeC.nc:65: for each function it appears in.)
ilqeC.nc:65: subscripted value is neither array nor pointer
ilqeC.nc:66: subscripted value is neither array nor pointer
ilqeC.nc:67: subscripted value is neither array nor pointer
ilqeC.nc:68: subscripted value is neither array nor pointer
ilqeC.nc:70: subscripted value is neither array nor pointer
ilqeC.nc:71: subscripted value is neither array nor pointer
ilqeC.nc: In function `initNeighbor2':
ilqeC.nc:77: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:77: subscripted value is neither array nor pointer
ilqeC.nc:78: subscripted value is neither array nor pointer
ilqeC.nc: In function `computelinkquality':
ilqeC.nc:86: implicit declaration of function `printf'
ilqeC.nc:86: implicit declaration of function `sim_time_string'
ilqeC.nc:89: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:89: subscripted value is neither array nor pointer
ilqeC.nc:89: subscripted value is neither array nor pointer
ilqeC.nc:93: subscripted value is neither array nor pointer
ilqeC.nc:93: subscripted value is neither array nor pointer
ilqeC.nc:93: subscripted value is neither array nor pointer
ilqeC.nc:97: subscripted value is neither array nor pointer
ilqeC.nc:98: subscripted value is neither array nor pointer
ilqeC.nc:100: subscripted value is neither array nor pointer
ilqeC.nc:100: subscripted value is neither array nor pointer
ilqeC.nc:101: subscripted value is neither array nor pointer
ilqeC.nc:105: subscripted value is neither array nor pointer
ilqeC.nc:106: subscripted value is neither array nor pointer
ilqeC.nc:107: subscripted value is neither array nor pointer
ilqeC.nc:110: subscripted value is neither array nor pointer
ilqeC.nc:117: subscripted value is neither array nor pointer
ilqeC.nc:118: subscripted value is neither array nor pointer
ilqeC.nc:123: subscripted value is neither array nor pointer
ilqeC.nc:123: subscripted value is neither array nor pointer
ilqeC.nc:137: subscripted value is neither array nor pointer
ilqeC.nc:138: subscripted value is neither array nor pointer
ilqeC.nc:140: subscripted value is neither array nor pointer
ilqeC.nc:140: subscripted value is neither array nor pointer
ilqeC.nc:141: subscripted value is neither array nor pointer
ilqeC.nc: In function `updatelinkmetric':
ilqeC.nc:152: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:152: subscripted value is neither array nor pointer
ilqeC.nc:153: subscripted value is neither array nor pointer
ilqeC.nc:155: subscripted value is neither array nor pointer
ilqeC.nc:158: subscripted value is neither array nor pointer
ilqeC.nc:159: subscripted value is neither array nor pointer
ilqeC.nc:160: subscripted value is neither array nor pointer
ilqeC.nc:160: wrong type argument to increment
ilqeC.nc:161: subscripted value is neither array nor pointer
ilqeC.nc:162: subscripted value is neither array nor pointer
ilqeC.nc:163: subscripted value is neither array nor pointer
ilqeC.nc:164: subscripted value is neither array nor pointer
ilqeC.nc:165: subscripted value is neither array nor pointer
ilqeC.nc:165: subscripted value is neither array nor pointer
ilqeC.nc:165: subscripted value is neither array nor pointer
ilqeC.nc:166: subscripted value is neither array nor pointer
ilqeC.nc: In function `sendMessage':
ilqeC.nc:181: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:181: subscripted value is neither array nor pointer
ilqeC.nc:183: subscripted value is neither array nor pointer
ilqeC.nc: In function `computelinkquality2':
ilqeC.nc:195: implicit declaration of function `printf'
ilqeC.nc:195: implicit declaration of function `sim_time_string'
ilqeC.nc:198: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:198: subscripted value is neither array nor pointer
ilqeC.nc:199: subscripted value is neither array nor pointer
ilqeC.nc:203: subscripted value is neither array nor pointer
ilqeC.nc:203: subscripted value is neither array nor pointer
ilqeC.nc:209: subscripted value is neither array nor pointer
ilqeC.nc:210: subscripted value is neither array nor pointer
ilqeC.nc:212: subscripted value is neither array nor pointer
ilqeC.nc:212: subscripted value is neither array nor pointer
ilqeC.nc:213: subscripted value is neither array nor pointer
ilqeC.nc:217: subscripted value is neither array nor pointer
ilqeC.nc:218: subscripted value is neither array nor pointer
ilqeC.nc:220: subscripted value is neither array nor pointer
ilqeC.nc:220: subscripted value is neither array nor pointer
ilqeC.nc:221: subscripted value is neither array nor pointer
ilqeC.nc: In function `updatelinkmetric2':
ilqeC.nc:232: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:232: subscripted value is neither array nor pointer
ilqeC.nc:234: subscripted value is neither array nor pointer
ilqeC.nc:235: subscripted value is neither array nor pointer
ilqeC.nc: In function `Boot.booted':
ilqeC.nc:247: `NeighborTable' undeclared (first use in this function)
ilqeC.nc:247: subscripted value is neither array nor pointer
ilqeC.nc:248: subscripted value is neither array nor pointer
ilqeC.nc:249: subscripted value is neither array nor pointer
ilqeC.nc:250: subscripted value is neither array nor pointer
ilqeC.nc:251: subscripted value is neither array nor pointer
ilqeC.nc:252: subscripted value is neither array nor pointer
ilqeC.nc:253: subscripted value is neither array nor pointer
ilqeC.nc:254: subscripted value is neither array nor pointer
ilqeC.nc:255: subscripted value is neither array nor pointer
ilqeC.nc:256: subscripted value is neither array nor pointer
ilqeC.nc:257: subscripted value is neither array nor pointer
ilqeC.nc:258: subscripted value is neither array nor pointer
ilqeC.nc:259: subscripted value is neither array nor pointer
ilqeC.nc:260: subscripted value is neither array nor pointer
ilqeC.nc: In function `AMSend.sendDone':
ilqeC.nc:284: interface has no command or event named `getRtxCount'
ilqeC.nc: In function `Receive.receive':
ilqeC.nc:299: interface has no command or event named `getSnr'
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"*** L
OW POWER COMMUNICATIONS DISABLED ***"
/opt/tinyos-2.x/tos/chips/cc2420/link/PacketLinkC.nc:38:2: warning: #warning
"**
* USING PACKET LINK LAYER"
make: *** [exe0] Error 1


UMUT ALTUN
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to