I am trying to use the PV_getaddr function from the Sys_Lib, but I get “Undefined Reference to PV_getaddr” when I compile.
Things I have tried:
Update library versions
Delete the sys_lib and re-add it
Uninstall and Reinstall AS 4.9 (SP 4.9.6.42)
The sys_lib is in CPU.sw for my hardware configuration, and the editor recognizes the function. My project otherwise compiles, and I don’t use the sys_lib for anything else.
It looks like that function is only valid for SG3 Systems according to this help page. Since you are using Automation Studio 4.9 I would assume that your CPU is SG4.