[Tinyos-help] Re: Make Micaz/Mica2 Compilation Error

A. Banani ali at banani.de
Sun Feb 18 12:29:47 PST 2007


hi,

my last message seems to got stuck in the mailing-list somehow ...

if you are using avr-gcc 3.4.5, then check if the mac version of gcc 
includes the gcc-dollar patch which could be the source of your problem.

cheers ali
> ------------------------------
>
> Message: 8
> Date: Wed, 14 Feb 2007 06:59:06 -0800 (PST)
> From: Jane <janesjunkbox at yahoo.com>
> Subject: Re: [Tinyos-help] Make Micaz/Mica2 Compilation Error 
> To: tinyos-help at Millennium.Berkeley.EDU
> Message-ID: <553067.53831.qm at web55802.mail.re3.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Did you have exact same error as I did? Tossim worked, so I'd imagine gcc worked fine. I have avr-gcc 3.4.5. Thank you. 
>
> Hi,
>
> last time I checked gcc4 was not working with tinyos-2.x, so you have 
> to 
> stick with the 3.4.6 version.
>
> cheers ....
>   
>> ------------------------------
>>
>> Message: 3
>> Date: Mon, 12 Feb 2007 21:22:12 -0800 (PST)
>> From: Jane <janesjunkbox at yahoo.com>
>> Subject: [Tinyos-help] Make Micaz/Mica2 Compilation Error 
>> To: tinyos-help at Millennium.Berkeley.EDU
>> Message-ID: <504119.9842.qm at web55802.mail.re3.yahoo.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hello everyone,
>>
>> I have Mac OS X 10.4.8, nesc 1.2.8a, TinyOS 2.x, gcc 4.0.1, 
>>     
> avr-libc1.4. I got some errors when I try to compile "make micaz/mica2" (make 
> micaz sim works). Is it a nesC patch problem? If it is, could someone 
> give me a link to the most current patch please? Thank you.
>   
>> YanYan
>>
>> :~/opt/tinyos-2.x/apps/Blink yanyanwang$ make mica2
>> mkdir -p build/mica2
>>     compiling BlinkAppC to a mica2 binary
>> ncc -o build/mica2/main.exe -Os -finline-limit=100000 -Wall -Wshadow 
>>     
> -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=micasb  
> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' 
> -fnesc-dump='referenced(interfacedefs, components)' 
> -fnesc-dumpfile=build/mica2/wiring-check.xml BlinkAppC.nc -lm 
>   
>> In file included from 
>>     
> /Users/yanyanwang/opt/tinyos-2.x/tos/chips/atm128/atm128hardware.h:45,
>   
>>                  from  
>>     
> /Users/yanyanwang/opt/tinyos-2.x/tos/platforms/mica2/hardware.h:50,
>   
>>                  from 
>>     
> /Users/yanyanwang/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41:
>   
> /sw/share/avr/lib/gcc/avr/3.4.5/../../../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.  Use 
> <avr/interrupt.h>."
>   
>> /var/tmp//ccRspPXz.s: Assembler messages:
>> /var/tmp//ccRspPXz.s:10: Error: unknown opcode `atm128powe'
>> /var/tmp//ccRspPXz.s:12: Error: unrecognized symbol type ""
>> /var/tmp//ccRspPXz.s:12: Error: unknown opcode `atm128powe'
>> /var/tmp//ccRspPXz.s:13: Error: expected comma after name `McuSleepC' 
>>     
> in .size directive
>
>  
> ---------------------------------
> The fish are biting.
>  Get more visitors on your site using Yahoo! Search Marketing.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070214/255c218a/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 46, Issue 46
> *******************************************
>
>   


More information about the Tinyos-help mailing list