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