'identifier' : illegal based allocation
A register variable or automatic (local) variable is declared __based. Only global variables can be declared __based.