Ok the deal is i am trying to comile cluster tools 1.01 (
http://sources.redhat.com/cluster/ .
After a ./configure
make
I had an error about my kernel not supporting modules so i fixed that and now i have another error which i have no clue how to fix. Any help much appreciated...
Code:
In file included from /usr/src/linux-2.4.21-37.EL/include/linux/spinlock.h:56,
from /usr/src/linux-2.4.21-37.EL/include/linux/module.h:11,
from 3w-xxxx.c:172:
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:9: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:9: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/asm/spinlock.h:10: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.21-37.EL/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.21-37.EL/include/linux/list.h:6,
from /usr/src/linux-2.4.21-37.EL/include/linux/module.h:12,
from 3w-xxxx.c:172:
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:61: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:61: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:84: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:84: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:84: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:269: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:269: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:269: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/asm/processor.h:273: warning: parameter names (without types) in function declaration
In file included from 3w-xxxx.c:172:
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:190: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:191: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:192: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:192: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:193: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:193: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: invalid suffix on integer constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: syntax error before numeric constant
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:194: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-37.EL/include/linux/module.h:203: warning: parameter names (without types) in function declaration
make[6]: *** [3w-xxxx_10200033.o] Error 1
make[6]: Leaving directory `/usr/src/linux-2.4.21-37.EL/drivers/addon/3w-xxxx_10200033'
make[5]: *** [_modsubdir_3w-xxxx_10200033] Error 2
make[5]: Leaving directory `/usr/src/linux-2.4.21-37.EL/drivers/addon'
make[4]: *** [_modsubdir_addon] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.21-37.EL/drivers'
make[3]: *** [_mod_drivers] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.21-37.EL'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cluster-1.01.00/cman-kernel/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/cluster-1.01.00/cman-kernel'
make: *** [all] Error 2