This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compilation error partial segment belongs to different memory class

When I am trying to compile my code, i am getting the following error

ERROR L115: PARTIAL SEGMENT BELONGS TO DIFFERENT MEMORY CLASS SEGMENT: ?C_C51STARTUP MODULE: C:\KEIL\C51\LIB\CH51L.LIB (?C_INIT)

can any body explain me why this error and how it can be resolved?