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 > Opensaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensaf-devel ------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel