Unity4.5 Giving a False Error and Not giving any advice

I am trying to create a script that will make the camera follow the player, but just on the x and z axis.

Here is the whole script, and the error it gives me:

using UnityEngine;
using System.Collections;

public class FollowPlayer : MonoBehaviour {

	public static Transform myCamera = Camera.main.transform;
	public static GameObject player = GameObject.Find("Player");

	public static float cameraX = Mathf.Round(player.transform.position.x);
	public static float cameraZ = Mathf.Round(player.transform.position.z);

	// Update is called once per frame
	static void Update () {
		myCamera.position += new Vector3 (cameraX, 0, cameraZ);
	}
}

and

I don’t understand what is going on, so any help is appreciated.

Well… you are not allowed to call this function when declaring a variable. Move it to the line after without a variable declaration.
If you are using C#, don’t use it in the constructor or field initializers. Instead, move initialization to the Awake or Start function.

It can hardly more explicit than that…

You have the line in code. You have the function call in the call stack, you have a VERY descriptive comment attached to the error. YOu therefore have everything you need to figure it out by yourself