winnie 发表于 2009-3-31 15:18:41

用PICC18编译一个程序,出现以下编译错误

Deleting intermediary files... done.
Executing: "C:\PIC18\BIN\PICC18.EXE" -C -E"test.cce" "test.c" -O"test.obj" -Q -MPLAB -18F452
Executing: "C:\PIC18\BIN\PICC18.EXE" -E"test.lde" "E:\MPLAB ide\cui\test\test.obj" -O"test.cof" -O"test.hex" -Q -MPLAB -18F452
Error E:\MPLAB ide\cui\test\test.obj 22 : Fixup overflow referencing psect bigbss (loc 0x54 (0x2A+42), size 1, value 0x5FF)
Error E:\MPLAB ide\cui\test\test.obj 22 : Fixup overflow referencing psect bigbss (loc 0x58 (0x2A+46), size 1, value 0x5FF)
Error E:\MPLAB ide\cui\test\test.obj 22 : Fixup overflow referencing psect bigbss (loc 0x5C (0x2A+50), size 1, value 0x5FE)
BUILD FAILED: Thu Jul 29 15:44:45 2004

winnie 发表于 2009-3-31 15:19:41

fixup overflow referencing * (Linker)
The linker was asked to relocate (fixup) an item that would not fit back into the space after relocation.
For example this will occur if a byte size object is initialized with an address that is bigger than 255.
页: [1]
查看完整版本: 用PICC18编译一个程序,出现以下编译错误