float ShadowObject::light_x, ShadowObject::light_y, ShadowObject::light_z;
where did you get that code? It looks like an attempt to expand the source code into the more verbose form, forgetting to change one character. But the code I have is not in that form, have you downloaded it from sourceforge? And are you sure you haven't replaced or modified any file?