Seems to be some comparability with linking against your library when using autoconf as autoconf defines VERSION.
In file pch.h on lines 106
// pdfile versions
const int VERSION = 4;
Its bad practice to declare a constant as common as VERSION without even doing a #ifdef before.
My suggestion would be to rename VERSION to PDFILE_VERSION.