Hi All
I read TID 7005873 to build a custom block-based Linux kernel driver.
I install a SLES11 SP2 Server (dual Core/2G RAM), which install gcc
compiler and kernel-source.
but when I perform "make" on step-4, I get some error message below
==============
make -C /lib/modules/3.0.13-0.27-default/build M=/source/src modules
make[1]: Entering directory
`/usr/src/linux-3.0.13-0.27-obj/x86_64/default'
make -C ../../../linux-3.0.13-0.27
O=/usr/src/linux-3.0.13-0.27-obj/x86_64/default/. modules
CC [M] /source/src/init.o
In file included from
/usr/src/linux-3.0.13-0.27/include/linux/sysctl.h:936,
from
/usr/src/linux-3.0.13-0.27/include/linux/kmod.h:27,
from
/usr/src/linux-3.0.13-0.27/include/linux/module.h:13,
from /source/src/init.c:27:
/usr/src/linux-3.0.13-0.27/include/linux/rcupdate.h: In function
‘__kfree_rcu’:
/usr/src/linux-3.0.13-0.27/include/linux/rcupdate.h:822: error: size of
array ‘type name’ is negative
make[4]: *** [/source/src/init.o] Error 1
make[3]: *** [_module_/source/src] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/src/linux-3.0.13-0.27-obj/x86_64/default'
make: *** [all] Error 2
====================================

Who had got similar issue ??

wyldkao


--
wyldkao
------------------------------------------------------------------------
wyldkao's Profile: https://forums.netiq.com/member.php?userid=1688
View this thread: https://forums.netiq.com/showthread.php?t=47829