Hello,
I am trying to use BLIP with telosb motes. When I type:
'/opt/tinyos-2.x-contrib/berkeley/blip/apps/IPBaseStation$ make telosb blip'
it fails with the same errors guoyuehua.cool had. I have checked the
TOSMAKE_PATH but I already had it the way Steve suggested.
I've been searching the web for an answer to this problem for days, but to
no avail. I downloaded the latest version through cvs and I can compile
Blink and other apps that don't need "blip" written at the end when
compiling.
My environment is set up like this:
TOSROOT="/opt/tinyos-2.x"
TOSDIR="$TOSROOT/tos"
CLASSPATH="$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar:."
MAKERULES="$TOSROOT/support/make/Makerules"
LOWPAN_ROOT="/opt/tinyos-2.x-contrib/berkeley/blip"
TOSMAKE_PATH="$LOWPAN_ROOT/support/make"
PYTHONPATH="$TOSROOT/support/sdk/python"
JAVAXROOT="/usr/lib/jvm/java-6-sun"
JDKROOT="/usr/lib/jvm/java-6-sun"
LD_LIBRARY_PATH="/usr/lib/jvm/java-6-sun/jre/lib/i386"
PATH="$PATH:/usr/msp430/bin"
export TOSROOT
export TOSDIR
export CLASSPATH
export MAKERULES
export LOWPAN_ROOT
export TOSMAKE_PATH
export PYTHONPATH
export JAVAXROOT
export JDKROOT
export LD_LIBRARY_PATH
export PATH
#Extend path for java
type java >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre
--java`:$PATH
type javac >/dev/null 2>/dev/null || PATH=`/usr/local/bin/locate-jre
--javac`:$PATH
echo $PATH | grep -q /usr/local/bin || PATH=/usr/local/bin:$PATH
Thank you in advance,
Sergio
> I bet it's because of TOSMAKE_PATH; I've seen this happen sometimes if the
> env file is sourced twice.
>
> One fix is, in the README I say to set the variable like this:
> export TOSMAKE_PATH="$LOWPAN_ROOT/support/make $TOSMAKE_PATH"
>
> You might change that to just:
> export TOSMAKE_PATH="$LOWPAN_ROOT/support/make"
>
> This will probably not break anything, unless you are setting TOSMAKE_PATH
> in other places.
>
> Steve
>
> 2008/9/24 guoyuehua.cool <guoyuehua.cool at 163.com>
>
>>
>>
>> hi steve:
>>
>> Firstly thank you for your reply.I would like to run IPv6 stack on
the
>> micaz.I just read the document "code/b6lowpan/trunk/README" ,are there
any
>> other installation document of a more detailed instrument.
>>
>> I has comment out the component CounterMilli32C and the related
>> progress.but the bugs is as following:
>>
>> UDPShellP.nc: In function `action_uptime':
>> UDPShellP.nc:183: Uptime.get not connected
>>
>>
>> I guess the UDPEcho is just the test app,i do not have the necessary
to
>> establish this build .so i build the IEEE802.15.4 bridge to my computer
as
>> the readme document ,the command line is "make micaz lowpan",but the bugs
is
>> as following.
>>
>> /tmp/ccg57vZ8.o: In function `getLowpanPayload':
>> lib6lowpan.c:(.text+0x0): multiple definition of `getLowpanPayload'
>> /tmp/cc2mzkKh.o:lib6lowpan.c:(.text+0x0): first defined here
>> /tmp/ccg57vZ8.o: In function `getHeaderBitmap':
>> lib6lowpan.c:(.text+0x26): multiple definition of `getHeaderBitmap'
>> /tmp/cc2mzkKh.o:lib6lowpan.c:(.text+0x26): first defined here
>> /tmp/ccg57vZ8.o: In function `setupHeaders':
>> lib6lowpan.c:(.text+0xb6): multiple definition of `setupHeaders'
>> /tmp/cc2mzkKh.o:lib6lowpan.c:(.text+0xb6): first defined here
>> /tmp/ccg57vZ8.o: In function `hasMeshHeader':
>> lib6lowpan.c:(.text+0x13e): multiple definition of `hasMeshHeader
.
.
.
>> /tmp/ccwc2cwx.o: In function `table_map':
>> table.c:(.text+0x82): multiple definition of `table_map'
>> /tmp/ccbv6MlZ.o:table.c:(.text+0x82): first defined here
>> make: *** [exe0] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help