>
> It looks like it's picking it up (hence the statement that  
> MateTopLevel isn't defined), but there's something wrong with the  
> parentheses. The idea is that \" at the command line should  
> translate to " in the actual define, so you get
>
> "MateTopLevel"
>
> but for some reason that isn't working, so the define is
>
> MateTopLevel
>
> which C doesn't recognize as an OK string (hence, saying it's an  
> undeclared identifier).
>
> Given that Mate doesn't use Ident.h, I'd suggest putting a copy of  
> Ident.h in your app directory and remove the offending line.

Dr. Levis:
What do you mean by removing the offending line? Which file does you
refer to
"Makefile" or "Ident.h."
The Ident.h in my tinyos system has
static const Ident_t G_Ident = {
  unix_time : IDENT_UNIX_TIME,
  user_hash : IDENT_USER_HASH,
  program_name : IDENT_PROGRAM_NAME,
};

Thanks.

Regards,
Hui



On 9/11/2006, "Philip Levis" <[EMAIL PROTECTED]> wrote:

>
>On Sep 11, 2006, at 2:54 PM, Hui KANG wrote:
>
>>
>> Dr. Levis:
>> I installed Mate on tinyos-1.x v 1.1.15. When I make pc for
>> BombillaMica,
>> I have the following error message. I checked out VM and script
>> from CVS.
>> Could you check it? Thanks.
>>
>> In file included from
>> C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/tos.h:190
>> :
>> C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55:
>> `MateTopLevel' unde
>> clared here (not in a function)
>> C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55:
>> initializer
>> element
>>  is not constant
>> C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/system/Ident.h:55: (near
>> initializatio
>> n for `G_Ident.program_name')
>> make: *** [vm_specific/BombillaMicaVMConstants.java] Interrupt
>>
>> Regards,
>> Hui
>
>This thread from July 2005 goes into the problem:
>
>http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-July/
>010483.html
>
>Phil

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to