|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
When I compile my program, I receive the following fatal error:
C51 FATAL-ERROR - ACTION: ANALYZING DECLARATIONS ERROR: MORE THAN 256 SEGMENTS/PUBLICS C51 TERMINATED.
What does this mean?
This error is output when there are more than 256 global variables or functions in a single source module. The OMF51 object module format is limited to 256 global objects. The limitation is due to size (8-bits) of the symbol name index.
Reduce the number of global variables and functions or move common or related variables into a data structure.
Article last edited on: 2000-07-10 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?