If you are going to post code, can you post code that compiles please?
sketch_oct19a.cpp: In function 'void crossFade(int*)':
sketch_oct19a:43: error: 'prevR' was not declared in this scope
sketch_oct19a:44: error: 'prevG' was not declared in this scope
sketch_oct19a:45: error: 'prevB' was not declared in this scope
sketch_oct19a:54: error: 'redVal' was not declared in this scope
sketch_oct19a:55: error: 'grnVal' was not declared in this scope
sketch_oct19a:56: error: 'bluVal' was not declared in this scope
sketch_oct19a:60: error: 'redPin' was not declared in this scope
sketch_oct19a:61: error: 'grnPin' was not declared in this scope
sketch_oct19a:62: error: 'bluPin' was not declared in this scope
sketch_oct19a:66: error: 'fade' was not declared in this scope
sketch_oct19a:74: error: 'DEBUG' was not declared in this scope
sketch_oct19a:76: error: 'loopCount' was not declared in this scope
sketch_oct19a:93: error: 'hold' was not declared in this scope
sketch_oct19a:94: error: expected `}' at end of input
We don't want to guess what your code is, we want to see it.