Can not compile some shaders

I get Shader Compile Error, for a lot of tests with Blur or Dof.
Mac Book Pro first Gen
ATY,RadeonX1600

Is there a different function I can try or a resource I can use to try and hack in ati versions?

uniform sampler2D bgl_RenderedTexture;

float samples[] ={
0.0222244,0.0378346,0.0755906,0.1309775,0.1756663,
0.1974126,
0.1756663,0.1309775,0.0755906,0.0378346,0.0222244
};


void main()
{
		vec4 sum = vec4(0);
		vec2 texcoord = vec2(gl_TexCoord[0]);
		int j;
		int i;


		for( i= -5 ;i < 5; i++)
		{
			for( j= -5 ;j < 5; j++)
			{
				sum += texture2D(bgl_RenderedTexture, texcoord + vec2(j, i)*0.002) * samples[j+5];
			}
		}


		gl_FragColor = sum*0.10;
}