Build issues: 3.8.0rc1 Kernel with 313.09 driver

Is anyone using the 3.8.0rc1 kernel? I can’t get the nvidia driver to build properly with this kernel, although it works fine with 3.7.0.

I am using DKMS to build under Ubuntu 12.10.

The first error that pops up is in the remap_page_range test in conftest.sh. It cannot find asm/errno.h. It appears that arch/x86/include/asm/errno.h in 3.7 has moved to arch/x86/include/uapi/asm/errno.h in 3.8. I added arch/x86/include/uapi/ to the include file environment variables and then it can find errno.h but there are many other errors that pop up after this in remap_page_range. First is “error: unknown type name ‘__kernel_ino_t’”, a type that appears in posix_types.h which should have been included. I can include more logs, dumps etc if needed.

Anyone else already tackled this?