Error using interrupt function from custom library

You haven't posted your handlers, but they must not take any arguments and they must not return anything. See the reference for an example.

Also, attachInterrupt only works with interrupts 0 and 1 on a standard Arduino board.