Compiling iscsitarget modules on 2.6.32-budarin [message #40101] |
Fri, 16 July 2010 13:53 |
glic3rinu
Messages: 16 Registered: January 2009
|
Junior Member |
|
|
Hi!
I spend all day trying to compile the last dev svn iscsitarget module for the last openvz dev kernel, but I can't be able to do that
cd /usr/src/modules/
svn co https://iscsitarget.svn.sourceforge.net/svnroot/iscsitarget iscsitarget
cd iscsitarget/trunk/
make
....
make[1]: Leaving directory `/usr/src/modules/iscsitarget/trunk/usr'
make -C /lib/modules/2.6.32-budarin.1/build SUBDIRS=/usr/src/modules/iscsitarget/trunk/kernel modules
make[1]: Entering directory `/lib/modules/2.6.32-budarin.1/build'
CC [M] /usr/src/modules/iscsitarget/trunk/kernel/tio.o
In file included from include/linux/blkdev.h:6,
from /usr/src/modules/iscsitarget/trunk/kernel/iscsi.h:11,
from /usr/src/modules/iscsitarget/trunk/kernel/tio.c:7:
include/linux/sched.h:50:36: error: asm/param.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:52,
from include/linux/blkdev.h:6,
from /usr/src/modules/iscsitarget/trunk/kernel/iscsi.h:11,
from /usr/src/modules/iscsitarget/trunk/kernel/tio.c:7:
include/linux/types.h:4:23: error: asm/types.h: No such file or directory
In file included from include/linux/types.h:14,
from include/linux/capability.h:16,
from include/linux/sched.h:52,
from include/linux/blkdev.h:6,
from /usr/src/modules/iscsitarget/trunk/kernel/iscsi.h:11,
from /usr/src/modules/iscsitarget/trunk/kernel/tio.c:7:
...
any idea about why those files are not there? (in asm/)
Thanks!!
marc
[Updated on: Fri, 16 July 2010 14:46] Report message to a moderator
|
|
|
|
|
|