Hi,

Comments inline:

> -----Original Message-----
> From: Swati Baluni [mailto:[email protected]]
> Sent: Wednesday, July 27, 2016 4:45 PM
> To: Mathivanan Naickan Palanivelu
> Cc: [email protected]
> Subject: RE: [users] openSAF Query for Solaris Operating Sytem.
> 
> Hi,
> 
> I have checked with the OpenSAF 4.6.2 version. But still getting the same
> issues.
> 
[Mathi]
Did you mean you are still getting this error ? -cc1: error: unrecognized 
command line option "-std=gnu11

That's not possible. Perhaps you should try after a clean build
$make clean
$make distclean
$./configure....
$make

> Currently the gcc version on my machine is  3.4.3.
> I have tried to upgrade gcc version. Downloaded the gcc from
> https://ftp.gnu.org/gnu/gcc/gcc-4.8.2/ this link.
> But I m unaware of installing gcc on solaris.
> 
> Do you have any link from where we can download the gcc and install in our
> machine?

[Mathi]
Not that I have a direct pointer to, but it depends on your solaris version too 
I guess
You could check
https://gcc.gnu.org/install/prerequisites.html

and Try https://solaris.java.net/#jds-build-solaris-packages

Thanks,
Mathi.

> 
> 
> Regards
> Swati Baluni
> 
> 
> 
> From:        Mathivanan Naickan Palanivelu <[email protected]>
> To:        Swati Baluni <[email protected]>
> Cc:        [email protected]
> Date:        07/27/2016 01:58 PM
> Subject:        RE: [users] openSAF Query for Solaris Operating Sytem.
> ________________________________________
> 
> 
> 
> 
> What is the gcc version(and solaris version) you are using?
> Is it possible to upgrade to gcc 4.8*? I guess gcc 4.8.2 is available for 
> Solaris.
> 
> More comments inline:
> 
> > -----Original Message-----
> > From: Swati Baluni [mailto:[email protected]]
> > Sent: Wednesday, July 27, 2016 1:31 PM
> > To: Mathivanan Naickan Palanivelu
> > Cc: [email protected]
> > Subject: RE: [users] openSAF Query for Solaris Operating Sytem.
> >
> > Hi,
> >
> > Thanks for your kind support.
> >
> > But still we are facing some problem while configuring openSAF.
> >
> > Please find below steps we have carried out to install openSAF on our labs -
> >
> > 1. Downloaded opensaf-5.0.0.tar.gz from the sourceforge.net
> > 2. Then executed " ./configure; make; make install "  .
> >
> > Issues faced till now :-
> >
> > 1. - bash: make : command not found   Solution :set the path (
> > PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin)
> > 2. sed: illegal option -- i    Solution : Removed the -i option from sed
> command
> > in Makefile.in
> [Mathi]
> That is a problem on many machines having old sed versions. Upgrading sed
> should help.
> 
> > 3.  sed 1i"#!/bin/sh" osafdir.conf-t
> >     make: Fatal error: Command failed for target `osafdir.conf'
> >     Solution : 1i not supported in solaris, created temporary file having
> > "#!bin/sh" , appending the content of osafdir.conf-t and then moving
> > temporary file to osafdir-conf-t.
> >
> >
> > Now we are getting below errors:-
> >
> > make: Fatal error: Command failed for target `libopensaf_common_la-
> > ncs_main_pub.lo'
> > make: Fatal error: Command failed for target `all-recursive'
> > cc1: error: unrecognized command line option "-std=gnu11"
> [Mathi]
> OpenSAF was uplifted to be compliant with the C11 and C++11 standards in
> OpenSAF 4.7.
> This build option was introduced in OpenSAF 4.7 and OpenSAF 4.7 onwards
> the minimum
> gcc version to build OpenSAF is gcc 4.8.1.
> 
> Therefore you should upgrade the gcc to atleast gcc 4.8.1.
> The only other option is to use OpenSAF 4.6.2
> (https://sourceforge.net/projects/opensaf/files/releases/opensaf-
> 4.6.2.tar.gz/download)
> until the time you can upgrade to a newer build toolchain for your solaris
> version.
> 
> > cc1: error: unrecognized command line option "-fstack-protector"
> [Mathi]
> This option can be commented(temporarily) if the gcc version is not
> supporting this option.
> This also means you are using a very old version of gcc.
> 
> Mathi.
> 
> > *** Error code 1
> >
> > Could you please help us in resolving these errors so that we can confgure
> > openSAF in our environment.
> >
> > Regards
> > Swati Baluni
> >
> >
> >
> > From:        Mathivanan Naickan Palanivelu <[email protected]>
> > To:        Swati Baluni <[email protected]>, opensaf-
> > [email protected]
> > Date:        07/27/2016 01:07 PM
> > Subject:        RE: [users] openSAF Query for Solaris Operating Sytem.
> > ________________________________________
> >
> >
> >
> > Hi,
> >
> > Please see comments inline:
> >
> > > -----Original Message-----
> > > From: Swati Baluni [mailto:[email protected]]
> > > Sent: Monday, July 25, 2016 4:59 PM
> > > To: [email protected]
> > > Subject: [users] openSAF Query for Solaris Operating Sytem.
> > >
> > > Hello Team,
> > >
> > > I want to implement HA in our project.
> > >
> > > Can we use opensaf in Solaris Operating System? I had gone through the
> > FAQ
> > > and its mentioned over there, that openSAF is HW and OS independent.
> > >
> > That is correct.
> > OpenSAF is LSB compliant and uses posix calls.
> > There are no hardware specific dependencies to build/run OpenSAF.
> >
> > A very old version of OpenSAF (2.0/3.0 perhaps) was ported to Solaris.
> > But OpenSAF 4.* and 5.0 are more truly POSIX compliant and so should
> pose
> > Less problems to build/run in Solaris as long as you have the supported
> > build toolchain and dependent libraries.
> >
> > > Is there any specific tar file for solaris because i have downloaded the
> > > "opensaf-5.0.0.tar" and it contains basically the commands of linux.
> > >
> > > Could you please guide us in understanding and configuring the openSAF
> > for
> > > our environment.
> > Have you been able to build OpenSAF yet?
> > You could share the problems you are facing to this mailing list for 
> > specific
> > guidance.
> >
> > Thanks,
> > Mathi.
> >
> > >
> > > Thanks and Regards
> > > Swati Baluni
> > > =====-----=====-----=====
> > > Notice: The information contained in this e-mail message and/or
> > > attachments to it may contain confidential or privileged information. If
> you
> > > are not the intended recipient, any dissemination, use, review,
> > distribution,
> > > printing or copying of the information contained in this e-mail message
> > > and/or attachments to it are strictly prohibited. If you have received 
> > > this
> > > communication in error, please notify us by reply e-mail or telephone and
> > > immediately and permanently delete the message and any attachments.
> > > Thank you
> > >
> > >
> > > ------------------------------------------------------------------------------
> > > What NetFlow Analyzer can do for you? Monitors network bandwidth
> and
> > > traffic patterns at an interface-level. Reveals which users, apps, and
> > > protocols are consuming the most bandwidth. Provides multi-vendor
> > support
> > > for NetFlow, J-Flow, sFlow and other flows. Make informed decisions
> using
> > > capacity planning reports.http://sdm.link/zohodev2dev
> > > _______________________________________________
> > > Opensaf-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/opensaf-users

------------------------------------------------------------------------------
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to