[Tinyos-help] Unable to compile - assembler problem, unknown opcodes

Marco Langerwisch marco.langerwisch at web.de
Fri Feb 8 07:16:46 PST 2008


Ok, I solved the problem. I simply used a wrong version of the avr-binutils.
Unforunately, another error has occured, I will open a new thread for that.

Marco Langerwisch schrieb:
> Hello,
> 
> I'm trying to compile my first program for mica2 mote. Following 
> packages are installed:
> - tinyos-tools-1.2.4-3
> - nesc-1.2.8a-1
> - tinyos-2.0.2-2
> - avr packages that come with Ubuntu Gutsy
> 
> apps/Blink: 'make mica2' results in:
> 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 
> -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"marco\" 
> -DIDENT_HOSTNAME=\"herri\" -DIDENT_USER_HASH=0x6354b898L 
> -DIDENT_UNIX_TIME=0x47ac64f4L -DIDENT_UID_HASH=0xb6af1b45L 
> -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' 
> -fnesc-dump='referenced(interfacedefs, components)' 
> -fnesc-dumpfile=build/mica2/wiring-check.xml BlinkAppC.nc -lm
> /tmp/cc4UDvrC.s: Assembler messages:
> /tmp/cc4UDvrC.s:48: Error: unknown opcode `outgoingby'
> /tmp/cc4UDvrC.s:124: Error: junk at end of line, first unrecognized 
> character is `0'
> /tmp/cc4UDvrC.s:124: Error: unknown opcode `base'
> /tmp/cc4UDvrC.s:125: Error: missing ')'
> /tmp/cc4UDvrC.s:125: Error: junk at end of line, first unrecognized 
> character is `0'
> /tmp/cc4UDvrC.s:125: Error: unknown opcode `base'
> /tmp/cc4UDvrC.s:126: Error: missing ')'
> /tmp/cc4UDvrC.s:126: Error: junk at end of line, first unrecognized 
> character is `0'
> /tmp/cc4UDvrC.s:126: Error: unknown opcode `base'
> /tmp/cc4UDvrC.s:127: Error: missing ')'
> /tmp/cc4UDvrC.s:127: Error: junk at end of line, first unrecognized 
> character is `0'
> /tmp/cc4UDvrC.s:127: Error: unknown opcode `base'
> 
> and so on...
> 
> What's wrong?
> 
> Thank you,
> Marco
> 



-- 
. Marco Langerwisch, B.Sc.
. ICQ 48125065
. www.web96.de


More information about the Tinyos-help mailing list