Mihir,

 

I suspect that you don’t have the correct toolchain. Make sure that the version 
of avr-as on the path is from the avr-binutils package that comes with the 
tinyos toolchain, and not from the one that comes with RH9.

 

Janos

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mihir patel
Sent: Friday, May 16, 2008 2:35 AM
To: [email protected]
Subject: [Tinyos-help] Error while compiling for mica2 platform in linux

 

Hi, I'm a student of SVNIT,Surat

>

> I have tiny os 1.1.0

> installed on Red Hat 9, with all the correct versions of tools

> installed. toscheck runs perfect without any errors or warnings. I am

> trying to compile Blink application supplied with it. "make pc" runs

> without any problems. it creates exe file.

>

> when I run make mica2, I get

> the following errors, bunch of them, i listed only some lines. Please

> give me an idea of what could be the problem. I carefully checked the

> paths, rpms, etc.

>

> ************************************************************************

>

>    compiling Blink to a mica2
 binary

>

> ncc -o build/mica2/main.exe -Os -

> board=micasb -target=mica -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-

> all -finline-limit=100000 -fnesc-cfile=build/mica/app.c Blink.nc -lm

>

> /tmp/cc5Jiuyc.s: Assembler messages:

> /tmp/cc5Jiuyc.s:10: Error: unknown

> opcode `disabled'

> /tmp/cc5Jiuyc.s:12: Error: unrecognized symbol type

> ""

> /tmp/cc5Jiuyc.s:12: Error: unknown opcode `disabled'

>

> /tmp/cc5Jiuyc.

> s:13: Error: expected comma after name `HPLPowerManagementM' in .size

> directive

>

> /tmp/cc5Jiuyc.s:13: Error: unknown opcode `disabled'




_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to