Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-24-2010, 09:20 PM
|
#1
|
LQ Newbie
Registered: Mar 2010
Posts: 1
Rep:
|
Linux STREAMS implemention on Red Hat Linux
Hello,
I am migrating solaris (SPARC) application coded in c/c++ to RHEL5 on
x86_64 platform. The solaris application uses transport layer interface (TLI) calls ( i mean STREAMS API's). But the same STREAMS implemention is not there in RHEL. RHEL uses standard BSD socket calls.
I found the open source implementation of Linux STREAMS on net and downloaded the source. I am not able to build it on Linux platform.
My question is:
Can I invest more time in building the linux streams on Linux platform? or Can I rewrite the solaris code with BSD sockets. Customer doesn't want to change the working code as they feel changing code is more risky.
If anybody has built the Linux STREAMS on Linux platform. please share your experience. Do you see any problems using Linux STREAMS on Linux in the long run.
Please share your thoughts and experience on Linux STREAMS - how should i move in. which is right way to go.
Thanks in advance.
prakash
|
|
|
03-25-2010, 11:20 PM
|
#2
|
Member
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 386
Rep: 
|
I think there is only one Linux Streams. I assume it's the one from www.gcom.com
( http://email.gcom.com/home/linux/lis/).
I have LiS-2.19 installed on 20 zLinux (IBM mainframe) servers. It was a prereq for IBM's
Comm Server product. The tarball for installation was supplied by IBM (it didn't come off
the gcom site).
It works. I guess that's all that matters. The install was typical of a mid '90s Linux package.
Why IBM can't package their stuff as RPM's is anyone's guess. ..but I rant.
I needed to install a few rpm's as pre-reqs, some for LiS and some for Comm Server. I think
kernel-devel, GCC and glibc-devel were the ones that LiS needed (over what we have in our
standard build). And it required manually adding a line, "#include <linux/autoconf.h>", to
/usr/src/kernels/2.6.18*/include/linux/module.h.
Much more involved than "yum install".
On the gcom site
Quote:
The LiS-2.18 version described by this documentation is the final version of LiS to be published on the Gcom FTP site. It is possible that others in the LiS community may organize a maintenance method for this package. To be apprised of developments in this area subscribe to the LiS discussion group and watch for announcements.
|
Doesn't really give you a warm fuzzy feeling that it'll always work as you upgrade the OS.
But it might be acceptable as a tactical solution.
Hope this helps.
|
|
|
08-13-2013, 05:56 AM
|
#3
|
LQ Newbie
Registered: Aug 2013
Posts: 1
Rep: 
|
Hi,
Can you please let me know how did you resolved all this issue while installing the LiS in Red Hat Linux?..
I m not able to install the LiS in my RHEL 5 and getting some compilation errors.
Could someone help me to resolve this Urgently?
CC drivers/str/linux/relay.o
In file included from ///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:37,
from ///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/stat.h:6,
from ///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/fs.h:293,
from /usr/src/LiS-2.19/include/sys/LiS/linux-mdep.h:152,
from /usr/src/LiS-2.19/include/sys/LiS/module.h:31,
from /usr/src/LiS-2.19/drivers/str/relay.c:39:
/usr/include/time.h:122: error: redefinition of 'struct timespec'
In file included from ///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/stat.h:6,
from ///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/fs.h:293,
from /usr/src/LiS-2.19/include/sys/LiS/linux-mdep.h:152,
from /usr/src/LiS-2.19/include/sys/LiS/module.h:31,
from /usr/src/LiS-2.19/drivers/str/relay.c:39:
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:44: error: conflicting types for 'dev_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:22: error: previous declaration of 'dev_t' was here
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:49: error: redefinition of typedef 'gid_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:39: error: previous declaration of 'gid_t' was here
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:55: error: redefinition of typedef 'ino_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:23: error: previous declaration of 'ino_t' was here
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:63: error: redefinition of typedef 'mode_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:24: error: previous declaration of 'mode_t' was here
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:68: error: redefinition of typedef 'nlink_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:25: error: previous declaration of 'nlink_t' was here
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:74: error: redefinition of typedef 'off_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:26: error: previous declaration of 'off_t' was here
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/stat.h:82: error: redefinition of typedef 'uid_t'
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/types.h:38: error: previous declaration of 'uid_t' was here
In file included from ///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/fs.h:293,
from /usr/src/LiS-2.19/include/sys/LiS/linux-mdep.h:152,
from /usr/src/LiS-2.19/include/sys/LiS/module.h:31,
from /usr/src/LiS-2.19/drivers/str/relay.c:39:
///usr/src/kernels/2.6.18-238.el5-x86_64/include/linux/stat.h:12:1: warning: "S_IFMT" redefined
from /usr/src/LiS-2.19/drivers/str/relay.c:39:
///usr/src/kernels/2.6.18-238.el5-x86_64/include/asm/compat.h:62: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
make[2]: *** [relay.o] Error 1
make[1]: *** [/usr/src/LiS-2.19/drivers/str/linux/drivers.o] Error 2
make: *** [.config_mk] Error 2
Error in make, buildLiS script aborting
Thanks
Subash P
|
|
|
08-14-2013, 09:10 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,659
|
Quote:
Originally Posted by subashp
Hi,
Can you please let me know how did you resolved all this issue while installing the LiS in Red Hat Linux?..
I m not able to install the LiS in my RHEL 5 and getting some compilation errors. Could someone help me to resolve this Urgently?
|
Don't reopen old threads...this thread has been closed for THREE YEARS, and don't hijack someone elses thread with your own question. Both are against LQ Rules. Open your own thread for your own question.
Second...this is a volunteer forum...this is NOT an 'urgent' issue for anyone here, and asking for 'urgent' help is fairly rude. If you need 'urgent' help, then I suggest you CALL RED HAT SUPPORT, since you're using RHEL, you should be PAYING FOR IT. They're there for you 24/7.
You don't say where you got the code you're trying to compile, if you followed the instructions, or what you're typing in to get the message(s) below, so it's hard to give even a guess. Provide details and we can try to help...but another question would be, why not just install this from the packages via yum??
|
|
|
All times are GMT -5. The time now is 07:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|