I was having this issue as well. If you look at the source file at the location of the error, you'll notice its a declaration:
double *_X;
However, I think that some compilers/environments already have _X #defined as something else (in general, its bad practice to make variables with a leading underscore, since those names are technically reserved by the compiler).
Anyways, the solution was to just find/replace _X with another name that isn't reserved (I did X_X, which I think is appropriate :) ). Note that this error is happening in two separate functions, but a global replace over the entire file will work since nothing else should match _X (assuming case-sensitive search).
Cheers,
- Stephen Kiazyk