blcr make error with linux kernel 2.4.2?

From: tingyu (tz9_at_msstate.edu)
Date: Sun Nov 23 2003 - 21:01:01 PST


Hi guys,
Just got the blcr module and try to install it into our cluster. I am
using Radhat Linux 7.1
with Kernel 2.4.2 and gcc 2.96. Configure step is ok, when "make", I got
errors as below:

/*********************** begin of text**************
[root@vortal0 blcr-0.2.0]# make
make all-recursive
make[1]: Entering directory `/home/tz9/blcr-0.2.0'
Making all in man
make[2]: Entering directory `/home/tz9/blcr-0.2.0/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tz9/blcr-0.2.0/man'
Making all in include
make[2]: Entering directory `/home/tz9/blcr-0.2.0/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/tz9/blcr-0.2.0/include'
Making all in cr_module
make[2]: Entering directory `/home/tz9/blcr-0.2.0/cr_module'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
-I../vmadump -I/usr/src/linux-2.4.2/include -D__KERNEL__ -DMODULE -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -g -O2
-MT cr_async.o -MD -MP -MF ".deps/cr_async.Tpo" \
-c -o cr_async.o `test -f 'cr_async.c' || echo './'`cr_async.c; \
then mv -f ".deps/cr_async.Tpo" ".deps/cr_async.Po"; \
else rm -f ".deps/cr_async.Tpo"; exit 1; \
fi
cr_async.c: In function `cr_phase1_release':
cr_async.c:53: warning: implicit declaration of function
`list_for_each_safe'
cr_async.c:53: parse error before `{'
cr_async.c:50: warning: `cr_task' might be used uninitialized in this
function
cr_async.c: At top level:
cr_async.c:61: parse error before `do'
make[2]: *** [cr_async.o] Error 1
make[2]: Leaving directory `/home/tz9/blcr-0.2.0/cr_module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tz9/blcr-0.2.0'
make: *** [all] Error 2

/******************* end of text ***********/

Could anybody give me some suggestion? Seems I HAVE TO update the kernel
to 2.4.20?

Thanks a lot!


Tingyu
Nov 22, 2003