(I'm using screenshots because I'm running it in a VM and I've not yet figured out an easy way of transferring files between VM and host)
The odd thing is, "make world" in /usr/src works just fine. (That was the first exercise.) As that uses a makefile, it suggests my build environment could be set up wrong. If so, what steps should I take to fix it?
Output of env:
Never mind, it works now. Since I last tried, I've updated GCC, and run make clean in the source tree. I'm not sure which exactly did it, but one of them did.