Hy, I've installed the TinyOS on a linux machine
and when I compile a program for mica/mica2/micaz I got the same message
listed.
The fact is that I installed the avr-binutils-2.13
too, because I know that the assembler message comes for the dollarsign in the
code that the original assembler couldn't recognize, so we need the avr-binutil
2.13
After the installation (with rpm) I still receive
that assmebler error message.
I tried to install the avr-binutil 2.15 and I don't
receive the assmbler message anymore, but now I receive the
message:
"... -mmcu=atmega128 option
unknown"
Where are I wrong??
There's some particular procedure for install the
avr-binutil 2.13??
I'm using SUSE 10.0 /linux and for install the rpm
I use YaST, but I tried too to install the rpm with the command at the
console.
Thanks in advance.
Ing.Alessandro Balvis
Centro Ricerche ENEL - Pisa
>TinyOS uses a modified avr-as compiler. You can find the avr tool rpms
here:
>http://www.tinyos.net/dist-1.1.0/tools/ >Select either the linux or windows directory and then download the >avr-binutils-1.13.2.1 rpm. >Install with 'rpm -ivh <rpmname>' > >-kw >
> >On 7/14/05, Richie Thomas <rthomas at cs.kent.edu> wrote: > Hi, > I am trying to compile and install blink on mica2 motes. But my make > mica2 gives the following output > > mkdir -p build/mica > compiling Blink to a mica binary > ncc -o build/mica/main.exe -Os -finline-limit=100000 -Wall -Wshadow > -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica > -fnesc-cfile=build/mica/app.c -board=micasb -DIDENT_PROGRAM_NAME="Blink" > -DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107,0" > -DIDENT_USER_ID="rthomas" > -DIDENT_USER_ID_BYTES="114,116,104,111,109,97,115,0" > -DIDENT_HOSTNAME="tuesday.week.cs." > -DIDENT_HOSTNAME_BYTES="116,117,101,115,100,97,121,46,119,101,101,107,46,99,115,46,0" > -DIDENT_USER_HASH=0x8b0db1f2L -DIDENT_UNIX_TIME=0x42d72324L Blink.nc -lm > /tmp/ccOwUaSl.s: Assembler messages: > /tmp/ccOwUaSl.s:10: Error: unknown opcode `disabled' > /tmp/ccOwUaSl.s:12: Error: unrecognized symbol type "" > /tmp/ccOwUaSl.s:12: Error: unknown opcode `disabled' > /tmp/ccOwUaSl.s:13: Error: expected comma after name > `HPLPowerManagementM' in .size directive > /tmp/ccOwUaSl.s:13: Error: unknown opcode `disabled' > /tmp/ccOwUaSl.s:14: Error: unknown opcode `hplpowerma' > /tmp/ccOwUaSl.s:17: Error: unrecognized symbol type "" > /tmp/ccOwUaSl.s:17: Error: unknown opcode `adjustinte' > /tmp/ccOwUaSl.s:18: Error: unknown opcode `timerm' > /tmp/ccOwUaSl.s:22: Error: unknown opcode `mstate' > /tmp/ccOwUaSl.s:23: Error: missing ')' > /tmp/ccOwUaSl.s:23: Error: unknown opcode `mstate' > /tmp/ccOwUaSl.s:24: Error: missing ')' > /tmp/ccOwUaSl.s:24: Error: unknown opcode `mstate' > /tmp/ccOwUaSl.s:25: Error: missing ')' > /tmp/ccOwUaSl.s:25: Error: unknown opcode `mstate' > /tmp/ccOwUaSl.s:32: Error: unknown opcode `mtimerlist' > /tmp/ccOwUaSl.s:33: Error: missing ')' > >
.................................................................
>
> /tmp/ccOwUaSl.s:794: Error: unknown opcode
`queue_head'
> /tmp/ccOwUaSl.s:796: Error: unknown opcode `queue_head' > /tmp/ccOwUaSl.s:798: Error: `,' required > /tmp/ccOwUaSl.s:798: Error: constant value required > /tmp/ccOwUaSl.s:798: Error: garbage at end of line > /tmp/ccOwUaSl.s:798: Error: unknown opcode `queue_head' > /tmp/ccOwUaSl.s:800: Error: `,' required > /tmp/ccOwUaSl.s:800: Error: constant value required > /tmp/ccOwUaSl.s:800: Error: garbage at end of line > /tmp/ccOwUaSl.s:800: Error: unknown opcode `queue_size' > /tmp/ccOwUaSl.s:803: Error: `)' required > /tmp/ccOwUaSl.s:803: Error: unknown opcode `queue' > /tmp/ccOwUaSl.s:804: Error: `)' required > /tmp/ccOwUaSl.s:804: Error: unknown opcode `queue' > /tmp/ccOwUaSl.s:815: Error: unknown opcode `ledson' > /tmp/ccOwUaSl.s:835: Error: `,' required > /tmp/ccOwUaSl.s:835: Error: constant value required > /tmp/ccOwUaSl.s:835: Error: garbage at end of line > /tmp/ccOwUaSl.s:835: Error: unknown opcode `ledson' > /tmp/ccOwUaSl.s:844: Error: expected comma after name `TimerM' in .size > directive > /tmp/ccOwUaSl.s:844: Error: unknown opcode `signalonet' > /tmp/ccOwUaSl.s:844: Error: unknown opcode `signalonet' > make: *** [exe0] Error 1 > > I have installed everything other than tinyos itself from the rpms as > specified in the tinyos documentation at > http://www.tinyos.net/tinyos-1.x/doc/install.html#linux > > But make pc works fine. Can somebody tell me what's going on. > > Thanks in advance > Richie |
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help