Hi,

The error vanishes after:
sudo port install msp430-libc

Hope this is complete for archive purpose.

-Xiaohui

On Thu, Dec 27, 2012 at 11:25 AM, Xiaohui Liu <xiao...@wayne.edu> wrote:

> Hi,
>
> I upgraded msp430-gcc it to 4.6.3 and got the *"two source files
> specified"* compilation error witnessed 
> here<http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2011-November/052858.html>.
> Then I upgraded nesc from 1.3.0 to 1.3.3 as suggested, and I'm getting the
> following error.
> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/msp430hardware.h:43:26:
> error: legacymsp430.h: No such file or directory*
> *In file included from
> /Users/xiaohui/Dropbox/tinyos-2.1.2/tos/platforms/telosb/hardware.h:4,*
> *                 from
> /Users/xiaohui/Dropbox/tinyos-2.1.2/tos/system/SchedulerBasicP.nc:52,*
> *                 from
> /Users/xiaohui/Dropbox/tinyos-2.1.2/tos/system/TinySchedulerC.nc:51:*
> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/msp430hardware.h:
> In function `__nesc_disable_interrupt':*
> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/msp430hardware.h:393:
> warning: implicit declaration of function `dint'*
> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/msp430hardware.h:
> In function `__nesc_enable_interrupt':*
> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/msp430hardware.h:399:
> warning: implicit declaration of function `eint'*
>
> Any idea? Thank all for your reply.
>
> -Xiaohui
>
> On Wed, Dec 26, 2012 at 6:24 PM, Eric Decker <cire...@gmail.com> wrote:
>
>>
>> You need to get the current msp430-gcc available on macports.   It is
>> 4.6.3
>>
>> On Wed, Dec 26, 2012 at 1:28 PM, Xiaohui Liu <xiao...@wayne.edu> wrote:
>>
>>> Hi everyone,
>>>
>>> After I upgraded from TinyOS 2.1.1 to TinyOS 2.1.2 by replacing the 
>>> distributed
>>> source 
>>> file<http://code.google.com/p/tinyos-main/source/browse/#svn%2Ftrunk>,
>>> the following error prompts when I compile:
>>> *WARNING: Minimum recommended msp430-gcc version for this TinyOS
>>> release is 4.6.3!!!*
>>> *...*
>>> *In component `McuSleepC':*
>>> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/McuSleepC.nc: In
>>> function `getPowerState':*
>>> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/McuSleepC.nc:77:
>>> `TACCTL0' undeclared (first use in this function)*
>>> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/McuSleepC.nc:77:
>>> (Each undeclared identifier is reported only once*
>>> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/McuSleepC.nc:77:
>>> for each function it appears in.)*
>>>
>>> However, msp-gcc version is shown as 3.2.3. Can you please advise what
>>> other changes are necessary to complete the upgrade? Thanks in advance.
>>>
>>>
>>> --
>>> -Xiaohui Liu
>>> TelosB
>>> OS X 10.6.8
>>> TinyOS 2.1.2
>>> www.cs.wayne.edu/xliu/
>>>
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help@millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>
>> --
>> Eric B. Decker
>> Senior (over 50 :-) Researcher
>>
>>
>
>
> --
> -Xiaohui Liu
> TelosB
> TinyOS 2.1.2
> www.cs.wayne.edu/xliu/
>



-- 
-Xiaohui Liu
TelosB
TinyOS 2.1.2
www.cs.wayne.edu/xliu/
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to