Why do I get invalid use of symbol error when assembling PE or object file?
This error happens when value of some relocatable label is used in context, in which assembler cannot guarantee that the value encoded in instruction will be correct after relocating the code. The labels are considered relocatable only with output formats that generate relocation information, which are the object formats and PE (but only in case when the fixups data is included into executable by programmer).
Related Questions
- During installation of the device portion of the software I get error message stating that setup file is invalid and the cab file is not copied to the desktop. Can I fix it?
- What do I do if I get an "Invalid file hash (possible download corruption) -261 error" or "Download Error -228"?
- Why do I get invalid use of symbol error when assembling PE or object file?