Hi

I am on a Ubuntu 10.04 system. I have installed the following versions of
the utilities for cross-compiling. binutils 2.23.1 , gcc-4.3.5  and newlib
1.19.0 . And my environment variables are set properly. I am able to
compile for a micaz platform and emulate it on Avrora without any issues.

I am having trouble with the imote2 platform. To the best of my knowledge,
I have followed the instructions on
http://docs.tinyos.net/tinywiki/index.php/IMote2_Compiler#Verification_2
correctly.

I am unable to understand what "Error: symbol .tosstart is in a different
section" means.
Any inputs would be highly appreciated/

Thanks
Bharath







On Tue, May 28, 2013 at 1:19 PM, Eric Decker <[email protected]> wrote:

>
> you need to provide more information.
>
> what system are you hosting on (looks like a LINUX flavor)
>
> Where did you get your toolchains from?
>
> What version of the toolchain do you have installed?
>
> Do you have your environment variables set properly?    See Section 4 of
> 00b_Development_Environment<https://github.com/tp-freeforall/prod/blob/tp-master/00b_Development_Environment>
>
>
>
> The lines I've highlighted below look particularily suspicious.
>
> If you do "make verbose intelmote2"   it might give you more insight.
>
>
>
>
> On Tue, May 28, 2013 at 9:04 AM, Bharath Kumar <[email protected]>wrote:
>
>> Hi
>>
>> I am trying to set up an imote2 toolchain on a 64 bit computer. I have
>> installed all the necessary utilities. I run into the following error when
>> I try to compile the simple Blink app.
>>
>> */home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s:
>> Assembler messages:
>> /home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s:268:
>> Error: symbol .tosstart is in a different section
>> make: *** [exe0] Error 1*
>>
>> I have pasted the whole terminal output below, just in case. I was unable
>> to find any other references online to this problem. I would appreciate it
>> if someone could help me out.
>>
>> bharath@chad-desktop:~/TinyOS/intelmote2/apps$ cd Blink/
>> bharath@chad-desktop:~/TinyOS/intelmote2/apps/Blink$ make intelmote2
>> */home/bharath/TinyOS/intelmote2//support/make/intelmote2.extra:41:
>> warning: overriding commands for target `bytes'
>> /home/bharath/TinyOS/tinyos-2.x//support/make/pxa27x/pxa27x.rules:104:
>> warning: ignoring old commands for target `bytes'
>> /home/bharath/TinyOS/intelmote2//support/make/intelmote2.extra:41:
>> warning: overriding commands for target `bytes'
>> /home/bharath/TinyOS/intelmote2//support/make/intelmote2.extra:41:
>> warning: ignoring old commands for target `bytes'*
>> mkdir -p build/intelmote2
>> echo  -mcpu=iwmmxt -mfpu=softfpa -defsym BOOTLOADER=1
>> /home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s
>> /home/bharath/TinyOS/intelmote2//tos/chips/pxa27x/pxa27x_util.s
>> /home/bharath/TinyOS/intelmote2//tos/chips/pxa27x/mmu_table.s -o
>> build/intelmote2/asms.o
>> -mcpu=iwmmxt -mfpu=softfpa -defsym BOOTLOADER=1
>> /home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s
>> /home/bharath/TinyOS/intelmote2//tos/chips/pxa27x/pxa27x_util.s
>> /home/bharath/TinyOS/intelmote2//tos/chips/pxa27x/mmu_table.s -o
>> build/intelmote2/asms.o
>>     compiling BlinkAppC to a intelmote2 binary
>> ncc -o build/intelmote2/main.exe -Os
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/chips/da9030
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/pxa27x
>> -I/home/bharath/TinyOS/intelmote2//tos/sensorboards/im2cb
>> -I/home/bharath/TinyOS/intelmote2//tos/sensorboards/xbow_cb
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/chips/da9030
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/pxa27x
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/ov7649
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/ov7670
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/chips/da9030
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/pxa27x
>> -I/home/bharath/TinyOS/intelmote2//tos/sensorboards/im2cb
>> -I/home/bharath/TinyOS/intelmote2//tos/sensorboards/xbow_cb
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/chips/da9030
>> -I/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/pxa27x
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/ov7649
>> -I/home/bharath/TinyOS/intelmote2//tos/chips/ov7670 -Wall -Wshadow
>> -Wnesc-all -target=intelmote2 -fnesc-cfile=build/intelmote2/app.c -board=
>> -mcpu=xscale -DDEFINED_TOS_AM_GROUP=0x22 -DBOOTLOADER -DBOOTLOADER
>> -T/home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/tos.x
>> -DSYSTEM_CORE_FREQUENCY=13 -DSYSTEM_BUS_FREQUENCY=13  BlinkAppC.nc -lm
>> /home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s
>> /home/bharath/TinyOS/intelmote2//tos/chips/pxa27x/pxa27x_util.s
>> /home/bharath/TinyOS/intelmote2//tos/chips/pxa27x/mmu_table.s
>> /home/bharath/TinyOS/tinyos-2.x//tos/chips/pxa27x/HplPXA27xInterruptM.nc:
>> In function ‘HplPXA27xInterruptM$allocate’:
>> /home/bharath/TinyOS/tinyos-2.x//tos/chips/pxa27x/HplPXA27xInterruptM.nc:96:12:
>> warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
>>      uint32_t tmp;
>>             ^
>> /home/bharath/TinyOS/tinyos-2.x//tos/chips/pxa27x/HplPXA27xInterruptM.nc:
>> In function ‘HplPXA27xInterruptM$enable’:
>> /home/bharath/TinyOS/tinyos-2.x//tos/chips/pxa27x/HplPXA27xInterruptM.nc:164:12:
>> warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
>>      uint32_t tmp;
>>             ^
>> /home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s:
>> Assembler messages:
>> /home/bharath/TinyOS/intelmote2//tos/platforms/intelmote2/toscrt0.s:268:
>> Error: symbol .tosstart is in a different section
>> make: *** [exe0] Error 1
>>
>>
>> Thanks
>> Bharath
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to