What version of Kickstart do you have?
It sometimes comes up if trying to run a new Workbench library or command on an older Kickstart or an old library/program on a new system.
Check the versions of the files (v39 is WB 3.0, v40 is WB 3.1 and v45 is WB3.5 or 3.9).