[Tinyos-help] Make Micaz/Mica2 Compilation Error
A. Banani
ali at banani.de
Tue Feb 13 00:01:31 PST 2007
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
> /var/tmp//ccRspPXz.s:13: Error: unknown opcode `atm128powe'
> /var/tmp//ccRspPXz.s:14: Error: unknown opcode `mcusleepc'
> /var/tmp//ccRspPXz.s:48: Error: unrecognized symbol type ""
> /var/tmp//ccRspPXz.s:48: Error: unknown opcode `hplcc1000'
> /var/tmp//ccRspPXz.s:48: Error: unknown opcode `write'
> /var/tmp//ccRspPXz.s:49: Error: unknown opcode `hplcc1000p'
> /var/tmp//ccRspPXz.s:49: Error: unknown opcode `hplcc1000'
> /var/tmp//ccRspPXz.s:95: Error: expected comma after name `HplCC1000P' in .size directive
> /var/tmp//ccRspPXz.s:95: Error: unknown opcode `hplcc1000'
> /var/tmp//ccRspPXz.s:95: Error: unknown opcode `write'
> /var/tmp//ccRspPXz.s:95: Error: unknown opcode `hplcc1000'
> /var/tmp//ccRspPXz.s:95: Error: unknown opcode `write'
> /var/tmp//ccRspPXz.s:96: Error: unrecognized symbol type ""
> /var/tmp//ccRspPXz.s:96: Error: junk at end of line, first unrecognized character is `0'
> .
> .
> .
> .
> /var/tmp//ccRspPXz.s:1326: Error: unknown opcode `m_dt'
> /var/tmp//ccRspPXz.s:1327: Error: missing size expression
> /var/tmp//ccRspPXz.s:1327: Error: junk at end of line, first unrecognized character is `0'
> /var/tmp//ccRspPXz.s:1327: Error: unknown opcode `m_oneshot'
> /var/tmp//ccRspPXz.s:1328: Error: missing size expression
> /var/tmp//ccRspPXz.s:1328: Error: junk at end of line, first unrecognized character is `0'
> /var/tmp//ccRspPXz.s:1328: Error: unknown opcode `m_timers'
> make: *** [exe0] Error 1
>
> ---------------------------------
> Don't get soaked. Take a quick peak at the forecast
> with theYahoo! Search weather shortcut.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070212/002774a1/attachment.htm
>
More information about the Tinyos-help
mailing list