Hi Neelam!
There were so many errors by compiling. Did you follow this step from
the readme?
- Add two environment variables to your startup scripts:
export LOWPAN_ROOT=~/svn/code/b6lowpan/
export TOSMAKE_PATH="$TOSMAKE_PATH $LOWPAN_ROOT/support/make"
Of course you should alter this paths as you these have.
"make install" you mayn't call as user, so call it as superuser:
sudo make install
Best wishes,
Andrey
Neelam Chaubey wrote:
> Hi
>
> Thanks for replying..i did as u said and i got something like this
>
> [EMAIL PROTECTED]:/opt/tinyos-2.1.0/support/sdk/c/sf$ make
>
> make all-am
> make[1]: Entering directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make[1]: Leaving directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
>
> [EMAIL PROTECTED]:/opt/tinyos-2.1.0/support/sdk/c/sf$ make install
>
> make install-am
> make[1]: Entering directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make[2]: Entering directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
> /usr/bin/install -c 'sf' '/usr/local/bin/sf'
> /usr/bin/install: cannot create regular file `/usr/local/bin/sf': Permission
> denied
> make[2]: *** [install-binPROGRAMS] Error 1
> make[2]: Leaving directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make: *** [install] Error 2
>
> [EMAIL PROTECTED]:/opt/tinyos-2.1.0/support/sdk/c/sf$ make install libmote.a
>
> make install-am
> make[1]: Entering directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make[2]: Entering directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
> /usr/bin/install -c 'sf' '/usr/local/bin/sf'
> /usr/bin/install: cannot create regular file `/usr/local/bin/sf': Permission
> denied
> make[2]: *** [install-binPROGRAMS] Error 1
> make[2]: Leaving directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/opt/tinyos-2.1.0/support/sdk/c/sf'
> make: *** [install] Error 2
>
> [EMAIL PROTECTED]:/opt/tinyos-2.1.0/support/sdk/c/sf$
>
>
> On Fri, Oct 3, 2008 at 3:47 PM, alessandro ludovici <
> [EMAIL PROTECTED]> wrote:
>
>> I think you have not the libmote.a
>>
>> go to tinyos-2.1.0/support/sdk/c/sf and type make and then make install
>>
>> 2008/10/3 Neelam Chaubey <[EMAIL PROTECTED]>
>>
>> Hi
>>> Iam trying to implement b6lowpan on tinyos2.1 and simulate in Tossim
>>>
>>> When i typed this command for building a testapp as given in
>>>
>>>
>>> http://smote.cs.berkeley.edu:8000/tracenv/browser/code/b6lowpan/trunk/README
>>>
>>> it shows various interfaces not found, syntax errors and warning..
>>>
>>> [EMAIL
>>> PROTECTED]:/opt/tinyos-2.x-contrib/berkeley/b6lowpan/apps/UDPEcho$make
>>> micaz lowpan
>>> mkdir -p build/micaz
>>> compiling UDPEchoC to a micaz binary
>>> ncc -o build/micaz/main.exe -Os -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 -DCC2420_DEF_CHANNEL=15
>>> -DCC2420_HW_ACKNOWLEDGEMENTS -DTOSH_DATA_LENGTH=102
>>> -DIDENT_APPNAME=\"UDPEchoC\" -DIDENT_USERNAME=\"xubuntos\"
>>> -DIDENT_HOSTNAME=\"xubuntos\" -DIDENT_USERHASH=0xcda68e35L
>>> -DIDENT_TIMESTAMP=0x48e551fcL -DIDENT_UIDHASH=0x6477c7e1L -fnesc-dump=wiring
>>> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
>>> components)' -fnesc-dumpfile=build/micaz/wiring-check.xml UDPEchoC.nc -lm
>>> UDPEchoC.nc:23:21: error: 6lowpan.h: No such file or directory
>>> In component `UDPEchoC':
>>> UDPEchoC.nc:29: component UDPC not found
>>> UDPEchoP.nc:23:24: error: IPDispatch.h: No such file or directory
>>> UDPEchoP.nc:24:16: error: IP.h: No such file or directory
>>> UDPEchoP.nc:25:28: error: router_address.h: No such file or directory
>>> In file included from UDPEchoP.nc:27:
>>> UDPReport.h:25:21: error: 6lowpan.h: No such file or directory
>>> In file included from UDPEchoP.nc:27,
>>> from UDPEchoC.nc:29:
>>> In C file:
>>> UDPReport.h:31: syntax error before `ip_statistics_t'
>>> UDPReport.h:33: syntax error before `icmp'
>>> UDPReport.h:34: syntax error before `udp'
>>> UDPReport.h:35: warning: useless keyword or type name in empty declaration
>>> UDPReport.h:35: warning: empty declaration
>>> UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
>>> In file included from UDPEchoC.nc:29:
>>> In component `UDPEchoP':
>>> UDPEchoP.nc:36: interface UDPSend not found
>>> UDPEchoP.nc:37: interface UDPReceive not found
>>> UDPEchoP.nc:40: interface BufferPool not found
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:44: interface IPPacket not found
>>> UDPEchoP.nc:45: interface BasicPacket not found
>>> UDPEchoP.nc:47: interface Statistics not found
>>> UDPEchoP.nc:47: syntax error before `ip_statistics_t'
>>> UDPEchoP.nc:48: syntax error before `route_statistics_t'
>>> UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:57: syntax error before `stats'
>>> UDPEchoP.nc: In function `Boot.booted':
>>> UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
>>> UDPEchoP.nc:65: (Each undeclared identifier is reported only once
>>> UDPEchoP.nc:65: for each function it appears in.)
>>> UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
>>> UDPReport.h:33: syntax error before `icmp'
>>> UDPReport.h:34: syntax error before `udp'
>>> UDPReport.h:35: warning: useless keyword or type name in empty declaration
>>> UDPReport.h:35: warning: empty declaration
>>> UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
>>> In file included from UDPEchoC.nc:29:
>>> In component `UDPEchoP':
>>> UDPEchoP.nc:36: interface UDPSend not found
>>> UDPEchoP.nc:37: interface UDPReceive not found
>>> UDPEchoP.nc:40: interface BufferPool not found
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:44: interface IPPacket not found
>>> UDPEchoP.nc:45: interface BasicPacket not found
>>> UDPEchoP.nc:47: interface Statistics not found
>>> UDPEchoP.nc:47: syntax error before `ip_statistics_t'
>>> UDPEchoP.nc:48: syntax error before `route_statistics_t'
>>> UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:57: syntax error before `stats'
>>> UDPEchoP.nc: In function `Boot.booted':
>>> UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
>>> UDPEchoP.nc:65: (Each undeclared identifier is reported only once
>>> UDPEchoP.nc:65: for each function it appears in.)
>>> UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
>>> UDPReport.h:33: syntax error before `icmp'
>>> UDPReport.h:34: syntax error before `udp'
>>> UDPReport.h:35: warning: useless keyword or type name in empty declaration
>>> UDPReport.h:35: warning: empty declaration
>>> UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
>>> In file included from UDPEchoC.nc:29:
>>> In component `UDPEchoP':
>>> UDPEchoP.nc:36: interface UDPSend not found
>>> UDPEchoP.nc:37: interface UDPReceive not found
>>> UDPEchoP.nc:40: interface BufferPool not found
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:44: interface IPPacket not found
>>> UDPEchoP.nc:45: interface BasicPacket not found
>>> UDPEchoP.nc:47: interface Statistics not found
>>> UDPEchoP.nc:47: syntax error before `ip_statistics_t'
>>> UDPEchoP.nc:48: syntax error before `route_statistics_t'
>>> UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:57: syntax error before `stats'
>>> UDPEchoP.nc: In function `Boot.booted':
>>> UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
>>> UDPEchoP.nc:65: (Each undeclared identifier is reported only once
>>> UDPEchoP.nc:65: for each function it appears in.)
>>> UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
>>> UDPReport.h:33: syntax error before `icmp'
>>> UDPReport.h:34: syntax error before `udp'
>>> UDPReport.h:35: warning: useless keyword or type name in empty declaration
>>> UDPReport.h:35: warning: empty declaration
>>> UDPEchoP.nc:28:24: error: PrintfUART.h: No such file or directory
>>> In file included from UDPEchoC.nc:29:
>>> In component `UDPEchoP':
>>> UDPEchoP.nc:36: interface UDPSend not found
>>> UDPEchoP.nc:37: interface UDPReceive not found
>>> UDPEchoP.nc:40: interface BufferPool not found
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:44: interface IPPacket not found
>>> UDPEchoP.nc:45: interface BasicPacket not found
>>> UDPEchoP.nc:47: interface Statistics not found
>>> UDPEchoP.nc:47: syntax error before `ip_statistics_t'
>>> UDPEchoP.nc:48: syntax error before `route_statistics_t'
>>> UDPEchoP.nc:49: syntax error before `icmp_statistics_t'
>>> In file included from UDPEchoC.nc:29:
>>> UDPEchoP.nc:57: syntax error before `stats'
>>> UDPEchoP.nc: In function `Boot.booted':
>>> UDPEchoP.nc:65: `IPStats' undeclared (first use in this function)
>>> UDPEchoP.nc:65: (Each undeclared identifier is reported only once
>>> UDPEchoP.nc:65: for each function it appears in.)
>>> UDPEchoP.nc:66: `RouteStats' undeclared (first use in this function)
>>> UDPEchoP.nc:67: `ICMPStats' undeclared (first use in this function)
>>> UDPEchoP.nc:68: implicit declaration of function `printfUART_init'
>>> UDPEchoP.nc:70: `stats' undeclared (first use in this function)
>>> UDPEchoP.nc:73: invalid use of undefined type `struct sockaddr'
>>> UDPEchoP.nc:73: implicit declaration of function `hton16'
>>> UDPEchoP.nc:74: invalid use of undefined type `struct sockaddr'
>>> UDPEchoP.nc:74: `router_address' undeclared (first use in this function)
>>> UDPEchoP.nc: At top level:
>>> UDPEchoP.nc:85: syntax error before `*'
>>> UDPEchoP: `RouteTimer.fired' not implemented
>>> In component `UDPEchoC':
>>> UDPEchoC.nc:43: component IPDispatchC not found
>>> UDPEchoC.nc:34: no match
>>> UDPEchoC.nc:35: cannot find `UDPReceive'
>>> UDPEchoC.nc:36: cannot find `UDPSend'
>>> UDPEchoC.nc:38: no match
>>> UDPEchoC.nc:46: cannot find `UDPSend'
>>> UDPEchoC.nc:47: no match
>>> UDPEchoC.nc:48: no match
>>> UDPEchoC.nc:50: cannot find `IPStats'
>>> UDPEchoC.nc:51: cannot find `RouteStats'
>>> UDPEchoC.nc:52: cannot find `ICMPStats'UDPEchoC.nc:52: cannot find
>>> `ICMPStats'
>>> make: *** [exe0] Error 1
>>>
>>> make: *** [exe0] Error 1
>>>
>>> please tell me what does these error implies and how to eliminate them..
>>>
>>> Thanks in Advance
>>> Neelam Chaubey
>>> :)
>>>
>>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help