Hi,
I'm starting working in a project about sensor networks and when I try
compile IPBaseStation (last version in cvs) on iris, the compilation
fails with the error below.
It is possible someone give some "lights" about how to solve this problem?
root@ubuntu:/home/carlos/IPBaseStation# make iris blib install
mib510,/dev/ttyUSB0
mkdir -p build/iris
compiling BaseStationC to a iris binary
ncc -o build/iris/main.exe -Os -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DNO_IP_MALLOC -DIEEE154FRAMES_ENABLED
-DIDENT_APPNAME=\"BaseStationC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xa3473ba6L
-DIDENT_TIMESTAMP=0x4d3059cbL -DIDENT_UIDHASH=0x5e9a1276L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/iris/wiring-check.xml BaseStationC.nc -lm
BaseStationP.nc:93:21: error: devconf.h: No such file or directory
BaseStationP.nc:94:24: error: lib6lowpan.h: No such file or directory
In file included from BaseStationC.nc:81:
In component `BaseStationP':
BaseStationP.nc:112: interface IPAddress not found
In file included from BaseStationC.nc:81:
BaseStationP.nc:139: `BLIP_L2_RETRIES' undeclared here (not in a function)
BaseStationP.nc:140: `BLIP_L2_DELAY' undeclared here (not in a function)
BaseStationP.nc:149: syntax error before `*'
BaseStationP.nc: In function `configureReply.runTask':
BaseStationP.nc:180: `reply' undeclared (first use in this function)
BaseStationP.nc:180: (Each undeclared identifier is reported only once
BaseStationP.nc:180: for each function it appears in.)
BaseStationP.nc:180: interface has no command or event named `getShortAddr'
BaseStationP.nc: In function `Boot.booted':
BaseStationP.nc:218: `reply' undeclared (first use in this function)
BaseStationP.nc:218: `config_reply_t' undeclared (first use in this function)
BaseStationP.nc:218: syntax error before `)'
BaseStationP.nc: In function `SerialControl.startDone':
BaseStationP.nc:237: `reply' undeclared (first use in this function)
BaseStationP.nc:237: `CONFIG_ERROR_BOOTED' undeclared (first use in
this function)
BaseStationP.nc: In function `ConfigureReceive.receive':
BaseStationP.nc:424: `config_cmd_t' undeclared (first use in this function)
BaseStationP.nc:424: `cmd' undeclared (first use in this function)
BaseStationP.nc:425: syntax error before `error'
BaseStationP.nc:433: syntax error before `)'
BaseStationP.nc:436: `CONFIG_ECHO' undeclared (first use in this function)
BaseStationP.nc:436: case label does not reduce to an integer constant
BaseStationP.nc:438: `CONFIG_SET_PARM' undeclared (first use in this function)
BaseStationP.nc:438: case label does not reduce to an integer constant
BaseStationP.nc:442: interface has no command or event named `setShortAddr'
BaseStationP.nc:452: `CONFIG_REBOOT' undeclared (first use in this function)
BaseStationP.nc:452: case label does not reduce to an integer constant
BaseStationP.nc:455: `CONFIG_KEEPALIVE' undeclared (first use in this
function)
BaseStationP.nc:455: case label does not reduce to an integer constant
BaseStationP.nc:459: `reply' undeclared (first use in this function)
BaseStationP.nc:459: `error' undeclared (first use in this function)
BaseStationP.nc: In function `ConfigureTimer.fired':
BaseStationP.nc:478: `config_reply_t' undeclared (first use in this function)
In file included from /opt/tinyos-2.1.1/tos/lib/serial/Serial802_15_4C.nc:43,
from BaseStationC.nc:83:
In component `SerialPacketInfo802_15_4P':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In
function `Info.offset':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:38:
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In
function `Info.dataLinkLength':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41:
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:41:
`cc2420_footer_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc: In
function `Info.upperLength':
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44:
`cc2420_header_t' undeclared (first use in this function)
/opt/tinyos-2.1.1/tos/lib/serial/SerialPacketInfo802_15_4P.nc:44:
`cc2420_footer_t' undeclared (first use in this function)
In component `BaseStationC':
BaseStationC.nc: At top level:
BaseStationC.nc:107: component SerialDevConfC not found
BaseStationC.nc:114: component IPAddressC not found
BaseStationC.nc:108: no match
BaseStationC.nc:109: no match
BaseStationC.nc:115: no match
BaseStationC.nc:118: no match
make: ** [exe0] Erro 1
________________________________________________________________________________
COFIDIS Maxicredito. Ate' €10.000 sem burocracias. Resposta on-line!
Clique aqui para saber mais http://www.iol.pt/correio/rodape.php?dst=0802273
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help