[Tinyos-help] Make Micaz/Mica2 Compilation Error
Pablo Gil Montaño
pgilmon at yahoo.es
Sun Feb 25 11:25:29 PST 2007
Hi,
if it's a problem related with the dollar sign, perhaps adding this in your 'Makelocal' or 'Makerules' file would help:
OPTFLAGS := -Wa,--allow-dollars
If you have other OPTFLAGS defined you might have to add something so that they are not lost, but I'm not familiarized with Make and I don't know exactly how to do it.
Regards,
Pablo
----- Mensaje original ----
De: Ali Banani <ali.banani at fh-basys.de>
Para: tinyos-help at Millennium.Berkeley.EDU
Enviado: miércoles, 14 de febrero, 2007 18:17:55
Asunto: Re: [Tinyos-help] Make Micaz/Mica2 Compilation Error
you might want to check if the avr-gcc 3.4.5 for mac os includes the
dollar-sign patch, which could be the source for the errors.
>
>
> 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
> *******************************************
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070225/acbbccd3/attachment.htm
More information about the Tinyos-help
mailing list