"C:/CCStudio_v3.3PLA/C6000/csl/include/csl.h", line 177: warning: relocation
type is static base-relative, but references symbol "_handle" defined in
section ".handle"; references to section ".handle" are not relative to any
static base, so this relocation cannot be performed (type = 'R_C60BASE'
(80), file =
"F:\\DSP\\XXX\\HYDM642_CCD_LCD(global)20150817\\Debug\\dm642main.obj",
offset = 0x00000698, section = ".text")
"C:/CCStudio_v3.3PLA/C6000/csl/include/csl.h", line 177: warning: relocation
type is static base-relative, but references symbol "_pBuf" defined in
section ".pBuf"; references to section ".pBuf" are not relative to any
static base, so this relocation cannot be performed (type = 'R_C60BASE'
(80), file =
"F:\\DSP\\XXX\\HYDM642_CCD_LCD(global)20150817\\Debug\\dm642main.obj",
offset = 0x000006a4, section = ".text")
warning: output file "./Debug/HYDM642_CCD_LCD.out" cannot be loaded and run on
a target system
将allocate分配到内存空间修改 成全局的,并在SECTION声明,就成了这样???
这是什么错误,该怎样修该???
Tony Tang:
代码是怎么写的?估计是C语言的问题吧。