Have you correctly set up the environmental variables TOSROOT, TOSDIR etc?

 

From: Neelam Chaubey [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2008 8:18 AM
To: [email protected]
Subject: [Tinyos-help] sudo make micaz sim gives error

 


Hi

 

When i give the command as "sudo make micaz sim" after entering the UDPEcho 

 

[EMAIL PROTECTED]:/opt/tinyos-2.x-contrib/berkeley/b6lowpan/apps/UDPEcho$
sudo make micaz sim

mkdir -p simbuild/micaz

  placing object files in simbuild/micaz

  writing XML schema to app.xml

  compiling UDPEchoC to object file sim.o

ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim
-fnesc-nido-tosnodes=1000 -fnesc-simulate
-fnesc-nido-motenumber=sim_node\(\)   -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-Isimbuild/micaz -DCC2420_DEF_CHANNEL=16 -DCC2420_HW_ACKNOWLEDGEMENTS
-DTOSH_DATA_LENGTH=102 -DIDENT_APPNAME=\"UDPEchoC\"
-DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"xubuntos\"
-DIDENT_USERHASH=0xc1b51b4eL -DIDENT_TIMESTAMP=0x4920fa65L
-DIDENT_UIDHASH=0x3d00820bL -Wno-nesc-data-race UDPEchoC.nc
-fnesc-fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs
-fnesc-dump=tags -fnesc-dumpfile=app.xml

UDPEchoC.nc:23:21: error: 6lowpan.h: No such file or directory

UDPEchoP.nc:23:24: error: IPDispatch.h: No such file or directory

UDPEchoP.nc:24:28: error: router_address.h: No such file or directory

UDPEchoP.nc:25:24: error: lib6lowpan.h: No such file or directory

UDPEchoP.nc:26:16: error: ip.h: No such file or directory

In file included from UDPEchoP.nc:28,

                 from UDPEchoC.nc:29:

UDPReport.h:28: syntax error before `ip_statistics_t'

UDPReport.h:28: warning: no semicolon at end of struct or union

UDPReport.h:29: syntax error before `route'

UDPReport.h:30: syntax error before `icmp'

UDPReport.h:31: syntax error before `udp'

UDPReport.h:32: warning: useless keyword or type name in empty declaration

UDPReport.h:32: warning: empty declaration

UDPEchoP.nc:29:24: error: PrintfUART.h: No such file or directory

In file included from UDPEchoC.nc:29:

In component `UDPEchoP':

UDPEchoP.nc:38: interface UDP not found

In file included from UDPEchoC.nc:29:

UDPEchoP.nc:45: interface Statistics not found

UDPEchoP.nc:45: syntax error before `ip_statistics_t'

UDPEchoP.nc:46: syntax error before `route_statistics_t'

UDPEchoP.nc:47: syntax error before `icmp_statistics_t'

In file included from UDPEchoC.nc:29:

UDPEchoP.nc:55: syntax error before `stats'

UDPEchoP.nc: In function `Boot.booted':

UDPEchoP.nc:63: `IPStats' undeclared (first use in this function)

UDPEchoP.nc:63: (Each undeclared identifier is reported only once

UDPEchoP.nc:63: for each function it appears in.)

UDPEchoP.nc:64: `RouteStats' undeclared (first use in this function)

UDPEchoP.nc:65: `ICMPStats' undeclared (first use in this function)

UDPEchoP.nc:66: implicit declaration of function `printfUART_init'

UDPEchoP.nc:68: `stats' undeclared (first use in this function)

UDPEchoP.nc:71: invalid use of undefined type `struct sockaddr_in6'

UDPEchoP.nc:71: implicit declaration of function `hton16'

UDPEchoP.nc:72: invalid use of undefined type `struct sockaddr_in6'

UDPEchoP.nc:72: `router_address' undeclared (first use in this function)

UDPEchoP.nc: At top level:

UDPEchoP.nc:84: warning: `struct ip_metadata' declared inside parameter list

UDPEchoP.nc:84: warning: its scope is only this definition or declaration,

-- UDPEchoP.nc:89: warning: `struct ip_metadata' declared inside parameter
list

UDPEchoP.nc:89: `recvfrom' is not in interface `Echo'

UDPEchoP.nc: In function `Echo.recvfrom':

UDPEchoP.nc:90: interface has no command or event named `sendto'

UDPEchoP.nc: At top level:

UDPEchoP.nc:94: `ip_statistics_t' undeclared here (not in a function)

UDPEchoP.nc:94: `route_statistics_t' undeclared here (not in a function)

UDPEchoP.nc:95: `icmp_statistics_t' undeclared here (not in a function)

UDPEchoP.nc:95: `udp_statistics_t' undeclared here (not in a function)

UDPEchoP.nc: In function `StatusTimer.fired':

UDPEchoP.nc:105: `stats' undeclared (first use in this function)

UDPEchoP.nc:105: wrong type argument to increment

UDPEchoP.nc:114: wrong type argument to increment

UDPEchoP.nc:117: invalid use of undefined type `struct udp_report'

UDPEchoP.nc:117: `IPStats' undeclared (first use in this function)

UDPEchoP.nc:117: `ip_statistics_t' undeclared (first use in this function)

UDPEchoP.nc:118: invalid use of undefined type `struct udp_report'

UDPEchoP.nc:118: `RouteStats' undeclared (first use in this function)

UDPEchoP.nc:118: `route_statistics_t' undeclared (first use in this
function)

UDPEchoP.nc:119: invalid use of undefined type `struct udp_report'

UDPEchoP.nc:119: `ICMPStats' undeclared (first use in this function)

UDPEchoP.nc:119: `icmp_statistics_t' undeclared (first use in this function)

UDPEchoP.nc:120: invalid use of undefined type `struct udp_report'

UDPEchoP.nc:120: `udp_statistics_t' undeclared (first use in this function)

UDPEchoP.nc:122: interface has no command or event named `sendto'

In component `UDPEchoC':

UDPEchoC.nc: At top level:

UDPEchoC.nc:35: component IPDispatchC not found

UDPShellC.nc:23:21: error: 6lowpan.h: No such file or directory

UDPShellC.nc:24:28: error: StorageVolumes.h: No such file or directory

UDPShellP.nc:23:16: error: ip.h: No such file or directory

UDPShellP.nc:24:24: error: IPDispatch.h: No such file or directory

UDPShellP.nc:25:18: error: ICMP.h: No such file or directory

In file included from UDPShellC.nc:31,

                 from UDPEchoC.nc:50:

In component `UDPShellP':

UDPShellP.nc:38: interface ICMPPing not found

UDPShellP.nc: In function `action_help':

UDPShellP.nc:94: interface has no command or event named `sendto'

UDPShellP.nc: In function `action_echo':

UDPShellP.nc:112: interface has no command or event named `sendto'

UDPShellP.nc: In function `action_ping6':

UDPShellP.nc:116: `ip6_addr_t' undeclared (first use in this function)

UDPShellP.nc:116: syntax error before `dest'

UDPShellP.nc:119: implicit declaration of function `inet6_aton'

UDPShellP.nc: In function `action_uptime':

UDPShellP.nc:188: interface has no command or event named `sendto'

UDPShellP.nc: At top level:

UDPShellP.nc:232: warning: `struct ip_metadata' declared inside parameter
list

UDPShellP.nc:232: `recvfrom' is not in interface `UDP'

UDPShellP.nc: In function `UDP.recvfrom':

UDPShellP.nc:238: sizeof applied to an incomplete type

UDPShellP.nc: At top level:

UDPShellP.nc:249: syntax error before `source'

UDPShellP.nc:249: `pingReply' is not in interface `ICMPPing'

UDPShellP.nc: In function `ICMPPing.pingReply':

UDPShellP.nc:252: `source' undeclared (first use in this function)

UDPShellP.nc:252: subscripted value is neither array nor pointer

UDPShellP.nc:252: subscripted value is neither array nor pointer

UDPShellP.nc:252: subscripted value is neither array nor pointer

UDPShellP.nc:252: subscripted value is neither array nor pointer

UDPShellP.nc:253: subscripted value is neither array nor pointer

UDPShellP.nc:253: subscripted value is neither array nor pointer

UDPShellP.nc:253: subscripted value is neither array nor pointer

UDPShellP.nc:253: subscripted value is neither array nor pointer

UDPShellP.nc:254: subscripted value is neither array nor pointer

UDPShellP.nc:254: subscripted value is neither array nor pointer

UDPShellP.nc:254: subscripted value is neither array nor pointer

UDPShellP.nc:254: subscripted value is neither array nor pointer

UDPShellP.nc:255: subscripted value is neither array nor pointer

UDPShellP.nc:255: subscripted value is neither array nor pointer

UDPShellP.nc:255: subscripted value is neither array nor pointer

UDPShellP.nc:256: `stats' undeclared (first use in this function)

UDPShellP.nc:257: interface has no command or event named `sendto'

UDPShellP.nc: At top level:

UDPShellP.nc:261: `pingDone' is not in interface `ICMPPing'

UDPShellP.nc: In function `ICMPPing.pingDone':

UDPShellP.nc:264: interface has no command or event named `sendto'

In component `UDPShellC':

UDPShellC.nc: At top level:

UDPShellC.nc:36: component ICMPResponderC not found

UDPShellC.nc:37: cannot find `ICMPPing'

UDPShellC.nc:47: cannot find `CounterMilli32C'

In component `UDPEchoC':

UDPEchoC.nc:37: no match

UDPEchoC.nc:38: cannot find `UDP'

UDPEchoC.nc:39: cannot find `UDP'

UDPEchoC.nc:43: cannot find `IPStats'

UDPEchoC.nc:44: cannot find `RouteStats'

UDPEchoC.nc:45: cannot find `ICMPStats'

UDPEchoC.nc:51: cannot find `UDP'

make: *** [sim-exe] Error 1

 

 

can some one please tell me how to eliminate this problem...

 

Thanks in advance....

 

 

Neelam Chaubey
Indrion Technologies

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to