LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-05-2018, 01:10 AM   #1
bansc2
LQ Newbie
 
Registered: Jul 2018
Posts: 2

Rep: Reputation: Disabled
Question Unable to install Linux Stream package (LiS-2.9.0)


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
 
Old 07-06-2018, 11:36 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
How did the patching go? The compiler has a problem with '/usr/src/LiS-2.19/head/linux-mdep.c' at line 4571, with what it considers invalid casting. You can either try to fix the problem yourself, or call tech support. Red Hat includes free tech support. Perhaps you need to upgrade to the latest version for the IBM program to work correctly.
 
1 members found this post helpful.
Old 07-14-2018, 05:53 AM   #3
bansc2
LQ Newbie
 
Registered: Jul 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
How did the patching go? The compiler has a problem with '/usr/src/LiS-2.19/head/linux-mdep.c' at line 4571, with what it considers invalid casting. You can either try to fix the problem yourself, or call tech support. Red Hat includes free tech support. Perhaps you need to upgrade to the latest version for the IBM program to work correctly.
Thank you for your reply. I used another version of ibm comms manager installer and ut came with a patch for Lis2.9. I’ll close the thread. Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to install Ace-stream gillsman Linux - Newbie 8 01-24-2018 01:34 PM
unable to install package linux-headers-2.6.22-14-generic in mint noushadali Linux - Kernel 1 03-05-2012 07:05 AM
Unable to install python-dev package on 64-bit Ubuntu Linux MahendraL Linux - Newbie 2 05-24-2011 06:05 PM
LXer: When you install Debian without a mirror, you need to edit /etc/apt/sources.lis LXer Syndicated Linux News 0 10-09-2009 08:00 PM
Unable to install package roni_atx Linux - General 3 11-18-2008 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration