All channels defined in map.txt must have a corresponding calibration.
C++ index numbering starts at 0 not at 1 as in FORTRAN. Let me repeat since this causes many problems if forgotten. C++ indexing numbering starts at 0 not at 1 as in FORTRAN.
If you are not using ROOT then the flags USEROOT and STANDALONEROOT should be commented out in the Makefile.
If you have RMS DSSD data taken after March 20th 2008 then most likely the new pixie16 readout was used and the flag -Dnewreadout should be set in the Makefile.