You are describing ‘normal’ compiler errors, for which you need to do the usual diagnostics.
The form type error on a /copy line will mean missing lines, so fix that.
Does the referenced source exist?
Is it where the source line states it to be?
Is its library in the compile time library list.
Did you lose it in the upgrade?
Look at the intermediate source and report (option on the compile command)
When you have all the source of the code, in the locations coded, then it will compile, other bugs excepted.