This error indicates that either kgcc was used to compile the driver or a non-matching version of gcc was used.
Check for kgcc:
ls -l /usr/bin/*cc
If kgcc is installed, a quick workaround would be to temporarily link it to gcc:
# cp /usr/bin/kgcc /usr/bin/kgcc.bak
# rm /usr/bin/kgcc
# ln -s /usr/bin/gcc /usr/bin/kgcc
Re-install the driver. Once the driver installation is complete, the kgcc.bak file can be moved back in place.
Matching gcc compiler:
Make sure your gcc compiler matches the kernel compiler:
# more /proc/version
# gcc --version
If not, you will need to upgrade your gcc compiler to match the kernel's compiler verion.