Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 User Manual

Product codes
SW006021-1
Page of 518
Error and Warning Messages
 2012 Microchip Technology Inc.
DS52053B-page 421
(485) unknown "with" psect referenced by psect "*" 
(Linker)
The specified psect has been placed with a psect using the psect with flag. The psect 
it has been placed with does not exist, for example:
psect starttext,class=CODE,with=rext
    ; was that meant to be with text?
(486) psect "*" selector value redefined 
(Linker)
The selector value for this psect has been defined more than once.
(487) psect "*" type redefined: */* 
(Linker)
This psect has had its type defined differently by different modules. This probably 
means you are trying to link incompatible object modules, i.e., linking 386 flat model 
code with 8086 real mode code.
(488) psect "*" memory space redefined: */* 
(Linker)
A global psect has been defined in two different memory spaces. Either rename one of 
the psects or, if they are the same psect, place them in the same memory space using 
the space psect flag, for example:
psect spdata,class=RAM,space=0
  ds 6
; elsewhere:
psect spdata,class=RAM,space=1
(489) psect "*" memory delta redefined: */* 
(Linker)
A global psect has been defined with two different delta values, for example:
psect final,class=CODE,delta=2
finish:
; elsewhere:
psect final,class=CODE,delta=1
(490) class "*" memory space redefined: */* 
(Linker)
A class has been defined in two different memory spaces. Either rename one of the 
classes or, if they are the same class, place them in the same memory space.
(491) can’t find 0x* words for psect "*" in segment "*" 
(Linker)
One of the main tasks the linker performs is positioning the blocks (or psects) of code 
and data that is generated from the program into the memory available for the target 
device. This error indicates that the linker was unable to find an area of free memory 
large enough to accommodate one of the psects. The error message indicates the 
name of the psect that the linker was attempting to position and the segment name 
which is typically the name of a class which is defined with a linker -A option. 
Section 5.15.2 “Compiler-Generated Psects” lists each compiler-generated psect 
and what it contains. Typically psect names which are, or include, text relate to pro-
gram code. Names such as bss or data refer to variable blocks. This error can be due 
to two reasons.
First, the size of the program or the program’s data has exceeded the total amount of 
space on the selected device. In other words, some part of your device’s memory has 
completely filled. If this is the case, then the size of the specified psect must be 
reduced.