This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with static variable in the functions.

Hi all.
The source C file is...

=============================
void a(void)
{
static unsigned char var1;
...
switch(var1){
...
}
}
==============================
and the error message is
"error A45 : Undefined Symbol (PASS-2)

I know it is compiled well with C51 and
got a.src file using SRC directive.

but I cant get the a.obj file for assembling it.
I thought it may be the same problem as
'Andrew Neil's Question' in this Disccussion Forum'

How can i do for fixing it.

Thanks. :)