HI, you mentioned below that you have done hg clone of opensaf-staging, the file should be found at ../opensaf-staging/osaf/tools/safimm/immcfg/imm_import.cc. Bring this file into your editor and change the two lines as suggested below. Then run make again. /BR HansN On 04/04/14 17:31, Mhmoud Salama wrote: > Thanks for the rapid reply, really appreciate that.. > but what is the imm_import file and where could it be ? > i'm very new to this and openSAF is very important to me as i need it > to develop an HA telecom application, please bear with me and thanks > again. > ------------------------------------------------------------------------ > *From:* Hans Nordebäck <[email protected]> > *To:* Mhmoud Salama <[email protected]>; Zoran Milinkovic > <[email protected]> > *Cc:* "[email protected]" > <[email protected]> > *Sent:* Friday, 4 April 2014, 8:26:22 > *Subject:* Re: [devel] Regarding openSAF 4.4.0 building on CentOS 6.4 > required > Hi, it seems that the constant in: > imm_import line 1933 and 2006 should be 0xffffffffffffffffULL. I think > a ticket should be created for this, bu in the meantime it should work > if you change it. > > /BR HansN > > On 04/04/14 16:58, Mhmoud Salama wrote: > > > ________________________________________________________________________________________________ > > > > I'm trying to install OpenSAF version 4.4.0 as a controller on a > 32-bit CentOS 6.4 OS, > > i have all the required packages and have installed ,configured and > started OpenHPI service. > > > > I follow the instructions in the README file and have run the > following scripts.. > > > ________________________________________________________________________________________________ > > > > =================== > > Using mercurial > > =================== > > > > % hg clone http://hg.code.sf.net/p/opensaf/staging opensaf-staging > > % cd opensaf-staging > > % ./bootstrap.sh > > % ./configure --enable-java --enable-ntf-imcn && make rpm > > > > ======================================================= > > And here is the part of output with an error message > > ======================================================= > > > > make[6]: Entering directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools/safimm/immcfg' > > CC immcfg-immutil.o > > CXX immcfg-imm_import.o > > cc1plus: warnings being treated as errors > > imm_import.cc:1933: error: integer constant is too large for 'long' type > > imm_import.cc:2006: error: integer constant is too large for 'long' type > > make[6]: *** [immcfg-imm_import.o] Error 1 > > make[6]: Leaving directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools/safimm/immcfg' > > make[5]: *** [all-recursive] Error 1 > > make[5]: Leaving directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools/safimm' > > make[4]: *** [all-recursive] Error 1 > > make[4]: Leaving directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0' > > error: Bad exit status from > /root/opensaf-staging/rpms/tmp/rpm-tmp.I2oDaQ (%build) > > > > > > RPM build errors: > > Bad exit status from > /root/opensaf-staging/rpms/tmp/rpm-tmp.I2oDaQ (%build) > > make: *** [rpm] Error 1 > > > > > ================================================================================================ > > > > What am i doing wrong ? Please help ! > > Thanks in advance. > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Opensaf-devel mailing list > > [email protected] > <mailto:[email protected]> > > https://lists.sourceforge.net/lists/listinfo/opensaf-devel > > > >
------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
