[Tinyos-help] replacing the tos tree

Alexandre Buist abuist at newtraxtech.com
Mon Mar 31 15:28:39 PDT 2008


I pasted the msp430 chip folder and files (from a cvs download) over the
original msp430 chip in my Tos tree to undo some changes, sadly, nothing
compiles anymore. See error below.

 

I tried to reinstall the tree in cygwin using the rpm
tinyos-2.0.2-2.cygwin.noarch.rpm
<http://www.tinyos.net/dist-2.0.0/tinyos/windows/tinyos-2.0.2-2.cygwin.noarc
h.rpm>  -ivh but it says it's already installed!

Anyone knows how to replace the problematic files with a fresh Tinyos tree
or how to correct these error.

 

Thanks,

 

$ make mb201

mkdir -p build/mb201

    compiling BlinkAppC to a mb201 binary

ncc -o build/mb201/main.exe -Os -O -mdisable-hwmul -fnesc-separator=__
-Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -mdisable-hwm

ul -target=mb201 -fnesc-cfile=build/mb201/app.c -board=
-DIDENT_PROGRAM_NAME=\"BlinkAppC\" -DIDENT_USER_ID=\"AlexandreBuist\"
-DIDENT_H

OSTNAME=\"AlexB\" -DIDENT_USER_HASH=0x77f6b41bL
-DIDENT_UNIX_TIME=0x47f15be2L -DIDENT_UID_HASH=0x67fe6c77L  BlinkAppC.nc -lm

In file included from
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:65,

                 from
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33,

                 from /opt/tinyos-2.x/tos/platforms/newtrax/PlatformC.nc:12,

                 from /opt/tinyos-2.x/tos/system/MainC.nc:50,

                 from BlinkAppC.nc:16:

In component `Msp430TimerP':

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc: In function
`Timer.get':

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:60: implicit
declaration of function `TCAST'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:60: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:61: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:66: implicit
declaration of function `TCAST'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:66: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc: In function
`Timer.isOverflowPending':

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:72: implicit
declaration of function `TCAST'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:72: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc: In function
`Timer.clearOverflow':

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:77: implicit
declaration of function `TCAST'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:77: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:77: syntax error
before `)'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc: In function
`Timer.setMode':

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:82: implicit
declaration of function `TCAST'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:82: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc: In function
`Timer.getMode':

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:87: implicit
declaration of function `TCAST'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:87: syntax error
before `volatile'

/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerP.nc:87: syntax error
before `)'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080331/773f41db/attachment-0001.html


More information about the Tinyos-help mailing list