Undefined Reference to PV_getaddr

Thank you both. The target type was the issue. PV_xgetadr works perfectly for me.