hello fellow Linux newbies,
Please help. I have been trying to install IBM communications manager in one of our Linux machines [2.6.32-431.el6.x86_64 running on Red Hat Enterprise Linux Server release 6.5 (Santiago)], and one of the required dependency is to install LiS-2.9.0. I tried following the readme provided by IBM and it was going well until the part where LiS-2.9.0 is supposed to be installed. They provided the path
ftp://ftp.uk.metaswitch.com/pub/LiS/LiS-2.19.0.tgz where to download LiS-2.9.0 plus a patch that is in their installation folders. I have the following errors after applying the patch and running the build script:
CC head/linux/head.o
/usr/src/LiS-2.19/head/head.c: In function ‘lis_strdoioctl’:
/usr/src/LiS-2.19/head/head.c:3903: warning: cast to pointer from integer of different size
/usr/src/LiS-2.19/head/head.c:3931: warning: cast to pointer from integer of different size
CC head/linux/dki.o
CC head/linux/msg.o
CC head/linux/mod.o
CC head/linux/buffcall.o
CC head/linux/mdep.o
In file included from /usr/src/LiS-2.19/head/mdep.c:26:
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_fattach’:
/usr/src/LiS-2.19/head/linux-mdep.c:3062: warning: passing argument 1 of ‘putname’ from incompatible po inter type
///usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/fs.h:2170: note: expected ‘struct filename *’ bu t argument is of type ‘const char *’
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_ioc_fdetach’:
/usr/src/LiS-2.19/head/linux-mdep.c:3258: warning: initialization from incompatible pointer type
/usr/src/LiS-2.19/head/linux-mdep.c:3266: warning: passing argument 1 of ‘putname’ from incompatible po inter type
///usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/fs.h:2170: note: expected ‘struct filename *’ bu t argument is of type ‘char *’
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_fattach_new’:
/usr/src/LiS-2.19/head/linux-mdep.c:3281: warning: initialization from incompatible pointer type
/usr/src/LiS-2.19/head/linux-mdep.c:3324: warning: passing argument 1 of ‘putname’ from incompatible po inter type
///usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/fs.h:2170: note: expected ‘struct filename *’ bu t argument is of type ‘char *’
/usr/src/LiS-2.19/head/linux-mdep.c:3325: warning: assignment from incompatible pointer type
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_fattach_delete’:
/usr/src/LiS-2.19/head/linux-mdep.c:3364: warning: passing argument 1 of ‘putname’ from incompatible po inter type
///usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/fs.h:2170: note: expected ‘struct filename *’ bu t argument is of type ‘const char *’
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_ioctl32_str’:
/usr/src/LiS-2.19/head/linux-mdep.c:4003: warning: cast to pointer from integer of different size
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘_lis_cleanup_module’:
/usr/src/LiS-2.19/head/linux-mdep.c:4233: error: too few arguments to function ‘invalidate_inodes’
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_thread_runqueues’:
/usr/src/LiS-2.19/head/linux-mdep.c:4442: warning: cast from pointer to integer of different size
/usr/src/LiS-2.19/head/linux-mdep.c: In function ‘lis_start_qsched’:
/usr/src/LiS-2.19/head/linux-mdep.c:4571: warning: cast to pointer from integer of different size
make[2]: *** [mdep.o] Error 1
make[1]: *** [/usr/src/LiS-2.19/head/linux/streamshead.o] Error 2
make: *** [.config_mk] Error 2
Error in make, buildLiS script aborting