Does the error come up on compilation? Is it possible your RCM3000 program has a “#use” statement that brings in OP72XX.LIB for some reason?
It sounds like the #use statements in your program bring in two different libraries that define the function ledOut(). If you temporarily rename OP72XX.LIB, you’ll see which file in the compilation chain is trying to include it.