Compiling error while installing Realtek RTL8111E in 64 bit 13.10. "CONFIG_X86_X32 enabled but no binutils support"

I finally found the cause thanks to this link.

It seems that one shouldn't have spaces in the folder names (containing the driver of course) when building the driver. Replacing the spaces with underscores fixed the issue. I could build just like that. Strange... but it worked!


Compiling drivers involves a kernel header make, which can fail with CONFIG_X86_X32 enabled but no binutils support if the kernel source directory belongs to root and you're running as an unprivileged user. Check in your make output to see if CONFIG_X86_X32 enabled but no binutils support appears in the kernel source directory, in which case try building the kernel sources (or your entire driver source) with sudo make.

Another common cause of CONFIG_X86_X32 enabled but no binutils support is spaces in the compilation directory as mentioned by David Van Huffel or binutils not installed as mentioned by chili555.