← Back to team overview

kaliveda-dev team mailing list archive

[Bug 1236402] Re: error compilation KVBase.cpp: integer constant is too large for ‘long’ type (32-bit machine)

 

** Changed in: kaliveda/1.9
       Status: New => Fix Committed

** Changed in: kaliveda/1.9
     Assignee: (unassigned) => John Frankland (frankland)

-- 
You received this bug notification because you are a member of KaliVeda
Development Team, which is subscribed to KaliVeda.
https://bugs.launchpad.net/bugs/1236402

Title:
  error compilation KVBase.cpp:  integer constant is too large for
  ‘long’ type (32-bit machine)

Status in KaliVeda data analysis framework:
  Fix Committed
Status in KaliVeda 1.8 series:
  Fix Committed
Status in KaliVeda 1.9 series:
  Fix Committed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/kaliveda/+bug/1236402/+subscriptions


References