When compiling a project in PG5 1.4.300 the error 41: Multi defined symbol appears.

FAQ #100999

The project could be compiled in PG5 1.4.200 without any error. In PG5 1.4.300 an error appears and it is not possible to compile it anymore.

Problem
After a update from PG5 1.4.200 to 1.4.300 the program cannot be compiled anymore. The error 41: Multi defined symbol appears.

Reason
This can happen because PG5 1.4.300 is a bit more restrictive than PG5 1.4.200. If the addressing of symbols has been realised as explained below this error will appear on build:

Symbol       Address
Register1    Register2
Register2    Reg3+3

Solution
It will work again if the definition of Register2 is moved up.

Symbol       Address
Register2    Reg3+3
Register1    Register2

If you need an urgent fix ask the support team for a bugfix. The next patch or the next version of PG5 will contain this correction.

Categories: PG5 1.x

Last update: 30.05.2015 13:42 · First release: 14.08.2008 09:12 · Views: 1'366