Well ... it looks like I was working with old data. At least, the kernel seems to compile OK with the official Makefile and gcc 2.96.69. I won't know if it works, though, until I get back home (since my day job is working with Microsoft Access, my boss frowns on Linux work done at the office).