There is an asm/cputype.h in the kernel source tree, but it’s apparently not being found – seems like an include directory is not set right in the build or something?
Wondering if anyone has seen this as well or has a hint that would point me in the right direction. I think it’s close, but this one problem is standing in the way of getting NETFILTER support compiled in.
To close the loop on this. I decided to set that build aside and start from scratch with a fresh clone. This time I didn’t checkout any other branch except the 17.06 branch. Instead of doing the menuconfig method of selecting the NETFILTER and IPTABLES family of options as outlined in the instructions, I downloaded the ubuntu_config.dms file and made that my .config.
The build this time went fine and I was able to boot it and get routing/bridging functionality – the iptables error of not being able to load the module obviously went away as well.
So, must have been something related to manually selecting the options in menuconfig. Anyway, thought I would report back the results I’ve had.