← Back to team overview

kaliveda-dev team mailing list archive

[Question #236920]: Error when compiling KaliVeda 1.8.10 : integer constant is too large for ‘long’ type

 

New question #236920 on KaliVeda:
https://answers.launchpad.net/kaliveda/+question/236920

Hello,
   I'm trying to install KaliVeda1.8.10 on a scientific linux 5.7, which is  on a virtual machine. 
Here is the gcc compiler version (gcc -v):
gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)
and the linux kernel (uname -r):
2.6.18-274.18.1.el5

Everything goes fine until I type 
make
At this point I get this error message:
Compiling base/KVBase.cpp...
base/KVBase.cpp:1010: error: integer constant is too large for ‘long’ type
base/KVBase.cpp:1011: error: integer constant is too large for ‘long’ type
make[1]: *** [base/KVBase.o] Error 1
make[1]: Leaving directory `/space/KaliVeda-1.8.10-2013-06-17/KVMultiDet'
make: *** [MultiDet] Error 2

I checked in the file and the integer is defined as Long64_t. I don't know how to fix the problem....

Thanks for your help
Paola

-- 
You received this question notification because you are a member of
KaliVeda Development Team, which is an answer contact for KaliVeda.