Can't compile 2.6.13-15: can't find ioctl.h
I've been running SuSE 10.1 for a few weeks. Everything OK, except that LAN speed is slow, when using SSH or SCP. So, I decided to download the latest kernel 2.6.13-15 from kernel.com.
After installing the sources, I did the following:
- backed up /boot/vmlinuz
- updated the /usr/src/linux symbolic link to point to /usr/src//src/linux-2.6.13-15/
- updated the /usr/include/linux, /usr/include/asm and /usr/include/scsi symbolic links to point to the respective directories in /usr/src/linux/include
- from /usr/src/linux, execute
I get the following error message:
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
In file included from /usr/include/asm/ioctls.h:4,
/usr/include/asm/ioctl.h:1:31: error: asm-generic/ioctl.h: No such file or directory
make: *** [scripts/kconfig/mconf.o] Error 1
make: *** [xconfig] Error 2
Can anyone explain? I checked the web for this error, but it only appears to have been reported for extremely specific cases.