Thanks!

Now its working!

Xavi

On Tue, Apr 15, 2008 at 4:49 PM, Janos Sallai <[EMAIL PROTECTED]>
wrote:

>  Xavier,
>
>
>
> You will need a fairly recent nesC version, as –fnesc-separator was not
> supported prior to version 1.2.8. I have the RPMs for cygwin and for linux
> here:
>
>
> http://www.isis.vanderbilt.edu/projects/NEST/tinyos-2.x-iris/tools/release/external-tools/
>
>
>
> Janos
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Xavier Orduña
> *Sent:* Monday, April 14, 2008 4:22 PM
> *To:* Eric Keller
> *Cc:* tinyos-help
> *Subject:* Re: [Tinyos-help] msp430 tinyos patch
>
>
>
> Below you have the errors I get:
>
> Any proposal?
>
> mkdir -p build/telosb
>     compiling BlinkAppC to a telosb binary
> ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
> -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
> -fnesc-cfile=build/telosb/app.c *-fnesc-separator=__* -board=
> -DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"dexma\"
> -DIDENT_HOSTNAME=\"dextos\" -DIDENT_USER_HASH=0x84ea6c88L
> -DIDENT_UNIX_TIME=0x4803ca5eL -DIDENT_UID_HASH=0xc5facef0L  BlinkAppC.nc -lm
> /tmp/ccJgTLfn.s: Assembler messages:
> /tmp/ccJgTLfn.s:114: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:114: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:118: Error: unknown opcode
> `msp430timercapcomp$0__event__fir'
> /tmp/ccJgTLfn.s:120: Error: unknown pseudo-op:
> `.l__framesize_msp430timercapcomp'
> /tmp/ccJgTLfn.s:121: Error: unknown pseudo-op:
> `.l__frameoffset_msp430timercapcomp'
> /tmp/ccJgTLfn.s:133: Error: expected comma after name `Msp430TimerCapComP'
> in .size directive
> /tmp/ccJgTLfn.s:137: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:137: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:141: Error: unknown opcode
> `msp430timercapcomp$1__event__fir'
> /tmp/ccJgTLfn.s:143: Error: unknown pseudo-op:
> `.l__framesize_msp430timercapcomp'
> /tmp/ccJgTLfn.s:144: Error: unknown pseudo-op:
> `.l__frameoffset_msp430timercapcomp'
> /tmp/ccJgTLfn.s:156: Error: expected comma after name `Msp430TimerCapComP'
> in .size directive
> /tmp/ccJgTLfn.s:160: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:160: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:164: Error: unknown opcode
> `msp430timercapcomp$2__event__fir'
> /tmp/ccJgTLfn.s:166: Error: unknown pseudo-op:
> `.l__framesize_msp430timercapcomp'
> /tmp/ccJgTLfn.s:167: Error: unknown pseudo-op:
> `.l__frameoffset_msp430timercapcomp'
> /tmp/ccJgTLfn.s:179: Error: expected comma after name `Msp430TimerCapComP'
> in .size directive
> /tmp/ccJgTLfn.s:269: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:269: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:273: Error: unknown opcode
> `msp430timerp$1__event__default__'
> /tmp/ccJgTLfn.s:275: Error: unknown pseudo-op:
> `.l__framesize_msp430timerp'
> /tmp/ccJgTLfn.s:276: Error: unknown pseudo-op:
> `.l__frameoffset_msp430timerp'
> /tmp/ccJgTLfn.s:282: Error: expected comma after name `Msp430TimerP' in
> .size directive
> /tmp/ccJgTLfn.s:286: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:286: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:290: Error: unknown opcode `msp430timerp$1__event__fired:'
> /tmp/ccJgTLfn.s:292: Error: unknown pseudo-op:
> `.l__framesize_msp430timerp'
> /tmp/ccJgTLfn.s:293: Error: unknown pseudo-op:
> `.l__frameoffset_msp430timerp'
> /tmp/ccJgTLfn.s:385: Error: expected comma after name `Msp430TimerP' in
> .size directive
> /tmp/ccJgTLfn.s:446: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:446: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:450: Error: unknown opcode `transformalarmc$0__set_alarm:'
> /tmp/ccJgTLfn.s:452: Error: unknown pseudo-op:
> `.l__framesize_transformalarmc'
> /tmp/ccJgTLfn.s:453: Error: unknown pseudo-op:
> `.l__frameoffset_transformalarmc'
> /tmp/ccJgTLfn.s:562: Error: expected comma after name `TransformAlarmC' in
> .size directive
> /tmp/ccJgTLfn.s:566: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:566: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:570: Error: unknown opcode
> `transformcounterc$0__counter__ge'
> /tmp/ccJgTLfn.s:572: Error: unknown pseudo-op:
> `.l__framesize_transformcounterc'
> /tmp/ccJgTLfn.s:573: Error: unknown pseudo-op:
> `.l__frameoffset_transformcounterc'
> /tmp/ccJgTLfn.s:632: Error: expected comma after name `TransformCounterC'
> in .size directive
> /tmp/ccJgTLfn.s:636: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:636: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:640: Error: unknown opcode `msp430timerp$1__timer__get:'
> /tmp/ccJgTLfn.s:642: Error: unknown pseudo-op:
> `.l__framesize_msp430timerp'
> /tmp/ccJgTLfn.s:643: Error: unknown pseudo-op:
> `.l__frameoffset_msp430timerp'
> /tmp/ccJgTLfn.s:657: Error: expected comma after name `Msp430TimerP' in
> .size directive
> /tmp/ccJgTLfn.s:938: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:938: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:942: Error: unknown opcode
> `virtualizetimerc$0__updatefromti'
> /tmp/ccJgTLfn.s:944: Error: unknown pseudo-op:
> `.l__framesize_virtualizetimerc'
> /tmp/ccJgTLfn.s:945: Error: unknown pseudo-op:
> `.l__frameoffset_virtualizetimerc'
> /tmp/ccJgTLfn.s:1031: Error: expected comma after name `VirtualizeTimerC'
> in .size directive
> /tmp/ccJgTLfn.s:1035: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:1035: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:1039: Error: unknown opcode
> `virtualizetimerc$0__firetimers:'
> /tmp/ccJgTLfn.s:1041: Error: unknown pseudo-op:
> `.l__framesize_virtualizetimerc'
> /tmp/ccJgTLfn.s:1042: Error: unknown pseudo-op:
> `.l__frameoffset_virtualizetimerc'
> /tmp/ccJgTLfn.s:1125: Error: expected comma after name `VirtualizeTimerC'
> in .size directive
> /tmp/ccJgTLfn.s:1129: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:1129: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:1133: Error: unknown opcode
> `transformalarmc$0__alarm__starta'
> /tmp/ccJgTLfn.s:1135: Error: unknown pseudo-op:
> `.l__framesize_transformalarmc'
> /tmp/ccJgTLfn.s:1136: Error: unknown pseudo-op:
> `.l__frameoffset_transformalarmc'
> /tmp/ccJgTLfn.s:1166: Error: expected comma after name `TransformAlarmC'
> in .size directive
> /tmp/ccJgTLfn.s:1170: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:1170: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:1174: Error: unknown opcode
> `alarmtotimerc$0__fired__runtask:'
> /tmp/ccJgTLfn.s:1176: Error: unknown pseudo-op:
> `.l__framesize_alarmtotimerc'
> /tmp/ccJgTLfn.s:1177: Error: unknown pseudo-op:
> `.l__frameoffset_alarmtotimerc'
> /tmp/ccJgTLfn.s:1205: Error: expected comma after name `AlarmToTimerC' in
> .size directive
> /tmp/ccJgTLfn.s:1209: Error: unrecognized symbol type ""
> /tmp/ccJgTLfn.s:1209: Error: junk at end of line, first unrecognized
> character is `$'
> /tmp/ccJgTLfn.s:1213: Error: unknown opcode
> `virtualizetimerc$0__timer__start'
> /tmp/ccJgTLfn.s:1215: Error: unknown pseudo-op:
> `.l__framesize_virtualizetimerc'
> /tmp/ccJgTLfn.s:1216: Error: unknown pseudo-op:
> `.l__frameoffset_virtualizetimerc'
> /tmp/ccJgTLfn.s:1253: Error: expected comma after name `VirtualizeTimerC'
> in .size directive
> /tmp/ccJgTLfn.s:1517: Error: bad expression
> /tmp/ccJgTLfn.s:1517: Error: junk at end of line, first unrecognized
> character is `0'
> /tmp/ccJgTLfn.s:1518: Error: bad expression
> /tmp/ccJgTLfn.s:1518: Error: junk at end of line, first unrecognized
> character is `0'
> /tmp/ccJgTLfn.s:1519: Error: bad expression
> /tmp/ccJgTLfn.s:1519: Error: junk at end of line, first unrecognized
> character is `0'
> /tmp/ccJgTLfn.s:1520: Error: bad expression
> /tmp/ccJgTLfn.s:1520: Error: junk at end of line, first unrecognized
> character is `0'
> /tmp/ccJgTLfn.s:1521: Error: bad expression
> /tmp/ccJgTLfn.s:1521: Error: junk at end of line, first unrecognized
> character is `0'
> /tmp/ccJgTLfn.s:1522: Error: bad expression
> /tmp/ccJgTLfn.s:1522: Error: junk at end of line, first unrecognized
> character is `0'
> make: *** [exe0] Error 1
>
>  On Mon, Apr 14, 2008 at 11:12 PM, Xavier Orduña <[EMAIL PROTECTED]>
> wrote:
>
> That sounds nice,
>
> I've tried __ separator (as man nescc proposes) but I still have problems
> while compiling.
>
> Do you have any other proposals?
>
> Eric, do you have more documentation about this bug?
>
> Xavi
>
>
>
> On Mon, Apr 14, 2008 at 9:24 PM, Eric Keller <[EMAIL PROTECTED]> wrote:
>
> Is the hardware multiply bug still there?  It would be nice to have
> that functionality.
> Eric
>
>
> On Mon, Apr 14, 2008 at 2:29 PM, Vlado Handziski
> <[EMAIL PROTECTED]> wrote:
> > With the introduction of the - -fnesc-separator option since nesC
> >  1.2.8, the old $ patching of the msp430 tools is technically not
> >  needed anymore. No additional tinyos specific modifications to the
> >  toolchain are necessary either.
> >
> >  Vlado
> >
> >
> >
> >  On Mon, Apr 14, 2008 at 6:42 PM, Xavier Orduña <[EMAIL PROTECTED]>
> wrote:
> >  > Hi!
> >  >
> >  > I'm porting tinyos to the new msp430F2x1x. I've already compiled the
> msp-gcc
> >  > to support the new microcontroller families but after trying to
> compile some
> >  > applications generated by nesC I found that the symbol $ is added.
> >  >
> >  > After looking a while I've detected that distributed versions of
> msp-gcc
> >  > found in http://www.tinyos.net/dist-1.2.0/tools/ have been already
> patched
> >  > to support some changes introduced by nesC.
> >  >
> >  > Where I can find more documentation about changes made to msp-gcc to
> make
> >  > more easy the adaptation to fully suport the new families?
> >  >
> >  > Thanks
> >  >
> >  > Xavi
> >  >
> >  > --
> >  > www.alcim.net
> >  >  Buscant sempre nous reptes, alguna proposta?
> >  > _______________________________________________
> >  >  Tinyos-help mailing list
> >  >  [email protected]
> >  >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >  >
> >
> >  _______________________________________________
> >  Tinyos-help mailing list
> >  [email protected]
> >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
>   --
>
> www.alcim.net
> Buscant sempre nous reptes, alguna proposta?
>
>
>
>
> --
> www.alcim.net
> Buscant sempre nous reptes, alguna proposta?
>



-- 
www.alcim.net
Buscant sempre nous reptes, alguna proposta?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to