If you're getting the wrong version of an interface file
you may be in for more trouble than you like because the
code you want to use may not be written for the platform
you are on... But you can go look in the various platform
specific directories for a ".platform" file, e.g.:
tos/platform/mica2/.platform
(on T1, T2 changed the names some...)
and see what order this define shows:
@commonplatforms = ("mica128", "mica", "avrmote");
and you can also experiment with including the directory
containing the file you really want in the CFLAGS and PFLAGS.
Adding a "-v" to the PFLAGS will also list all the include
paths during the compile.
MS
Kim Noble wrote:
> Thanks Michael,
> That has made a difference - however the compiler reports errors within
> TimeSyncM as it is picking up the wrong version of Timer. How can I
> force the compiler to use the correct Timer interface?
> TIA
> Kim
>
> -----Original Message-----
> From: Michael Schippling [mailto:[email protected]]
> Sent: 07 April 2009 17:58
> To: Kim Noble
> Cc: [email protected]
> Subject: Re: [Tinyos-help] Compilation error - component not found
>
> Try putting that directory in your makefile with:
>
> PFLAGS += -IC:/Crossbow...
>
> (or it might be CFLAGS)
>
> I believe forward slashes '/' are the kind to use.
>
> MS
>
>
> Kim Noble wrote:
>> Apologies if this has been asked before, but I cannot find it on FAQ.
>
>> Why when I include Crossbow's TimeSyncService component, do I get the
>> 'component not found error', when it is installed at
>>
>> C:\Crossbow\cygwin\opt\MoteWorks\tos\lib\TimeSync
>>
>> TIA
>>
>> Kim
>>
>>
>>
>>
>>
>>
>> This email has been scanned for all known viruses by the MessageLabs
>> Email Security System.
>>
>> Systems Engineering & Assessment Ltd - Beckington Castle, 17 Castle
>> Corner, Beckington, Frome, Somerset, BA11 6TA, UK
>> is registered in England and Wales with the company number 2430846.
>>
>> The contents of this email (including any attachments) are
> confidential
>> and may be legally privileged.
>>
>> If you are not the intended recipient of this email any disclosure,
>> copying, distribution or use of its contents is strictly prohibited.
> You
>> should notify the sender immediately and then delete it (including any
>
>> attachments) from your system.
>>
>> Please help out the environment by only printing this e-mail if
>> absolutely necessary - Thank You.
>>
>>
>>
> ------------------------------------------------------------------------
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> This email has been scanned for all known viruses by the MessageLabs
> Email Security System.
>
> Please help out the environment by only printing this e-mail if
> absolutely necessary - Thank You.
>
> This email has been scanned for all known viruses by the MessageLabs Email
> Security System.
>
> Systems Engineering & Assessment Ltd - Beckington Castle, 17 Castle Corner,
> Beckington, Frome, Somerset, BA11 6TA, UK
> is registered in England and Wales with the company number 2430846.
>
> The contents of this email (including any attachments) are confidential and
> may be legally privileged.
>
> If you are not the intended recipient of this email any disclosure, copying,
> distribution or use of its contents is strictly prohibited. You should
> notify the sender immediately and then delete it (including any attachments)
> from your system.
>
> Please help out the environment by only printing this e-mail if absolutely
> necessary - Thank You.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help