(This answer doesn't contain a working solution, but see the end of the post for details we found out while investigating.)
The instruction mentions "Linux 2.6", which is ages old—the current version is 4.5.2. I wouldn't expect this driver to work.
The second point is: drivers that aren't part of Linux are usually of inferior quality and lack support. So again, don't expect much.
The error you're seeing is actually quite benign: "
__DATE__ macro" is just a marker in the code that gets substituted with compilation date. It breaks reproducibility, i.e. two separate compilations of the same source won't necessary result in the same binary (because compilation dates might differ.) This is a problem if you care about security, but at the moment, you have bigger things to tackle as driver doesn't compile at all.
Note: gcc-4.9 enabled date-time warning by default, so any software that uses
-Werror flag and contains
__TIME__ macro(s) now fails to build.
Things we tried that didn't work:
-Wno-error=date-time: commands like
CFLAGS="-Wno-error=date-time" sudo -E make didn't affect the error at all;
find -type f -print0 | xargs -0 sed -i 's/-Werror//g' to remove the offending flag from all Makefiles didn't affect the error either (yes, we ran
make clean before rebuilding).