I have linux-2.6.30.3 on the plug with the Jaunty file system. I have a 2 1/2 inch 250GB USB hard drive from which I boot. I want to install the iSCSI initiator supplied by
http://linux-iscsi.sourceforge.net/. I compile the kernel and modules on the plug. When I try to compile iSCSI I get the following:
root@ubuntu:/usr/src/iscsi/linux-iscsi-3.6.3# make TOPDIR=/usr/src/kernel/linux-
2.6.30.3/
Note: using kernel source from /usr/src/kernel/linux-2.6.30.3/ containing
kernel version 2.6.30.3
Note: using kernel config from /usr/src/kernel/linux-2.6.30.3//.config
gcc -DMODULE -DLINUX=1 -Iinclude -Idriver/include -Icommon/auth -Icommon/login
-Imisc/include -I/usr/src/kernel/linux-2.6.30.3//include -I/usr/src/kernel/linux
-2.6.30.3//drivers/scsi -MMD -c -o /usr/src/iscsi/linux-iscsi-3.6.3/Linux-armv5
tel/kobj/driver/iscsi.o driver/iscsi.c
In file included from driver/iscsi.c:22:
include/linux/config.h:1:2: error: #error "Compilation aborted. Please read the
FAQ for linux-libc-headers package."
include/linux/config.h:2:2: error: #error "(can be found at
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
In file included from include/linux/module.h:9,
from driver/iscsi.c:24:
include/linux/sched.h:12:22: warning: asm/page.h: No such file or directory
Apparently there is some problem with the header files. When I go to the website recommended by the error messages I find FAQs, but none of them seem to help solve the errors. Can anyone shed some light on the issue?
Wes