Hi All,
I got some warnings when I compile my DSPLINK project.
"C:/ti/bios_5_42_01_09/packages/ti/bios/include/gbl.h", line 33: warning #17003-D: relocation from function "GBL_getProcId" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "./tskMessage.obj", offset = 0x00000000, section = ".text")
return (GBL_procId);
^
"C:/ti/bios_5_42_01_09/packages/ti/bios/include/gbl.h", line 34: warning #17009-D: relocation type is static base-relative, but references symbol "_MSGQ_ATTRS" defined in section ".const"; references to section ".const" are not relative to any static base, so this relocation cannot be performed (type = 'R_C60BASE' (80), file = "./tskMessage.obj", offset = 0x000000dc, section = ".text")
}
^
"C:/ti/bios_5_42_01_09/packages/ti/bios/include/gbl.h", line 34: warning #17003-D: relocation from function "TSKMESSAGE_create" to symbol "_numTransfers" overflowed; the 16-bit relocated address 0x8345 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "./tskMessage.obj", offset = 0x00000178, section = ".text")
}
^
"C:/ti/bios_5_42_01_09/packages/ti/bios/include/gbl.h", line 34: warning #17009-D: relocation type is static base-relative, but references symbol "_TSK_timerSem" defined in section ".far"; references to section ".far" are not relative to any static base, so this relocation cannot be performed (type = 'R_C60BASE' (80), file = "./tskMessage.obj", offset = 0x0000031c, section = ".text")
}
^
"../trox_gpio.c", line 182: warning #17003-D: relocation from function "init_trox_gpio" to symbol "_gpio_pins" overflowed; the 17-bit relocated address 0x10220 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "./trox_gpio.obj", offset = 0x00000190, section = ".text")
GPIO_setDir(gpio_banks[20],gpio_pins[20],GPIO_INPUT);
^
"../trox_gpio.c", line 183: warning #17003-D: relocation from function "init_trox_gpio" to symbol "_gpio_pins" overflowed; the 17-bit relocated address 0x10224 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "./trox_gpio.obj", offset = 0x000001ac, section = ".text")
GPIO_setDir(gpio_banks[21],gpio_pins[21],GPIO_OUTPUT);
^
"../trox_gpio.c", line 184: warning #17003-D: relocation from function "init_trox_gpio" to symbol "_gpio_pins" overflowed; the 17-bit relocated address 0x10228 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "./trox_gpio.obj", offset = 0x000001c8, section = ".text")
GPIO_setDir(gpio_banks[22],gpio_pins[22],GPIO_INPUT); // Solenoid trigger - input for switch triggering
^
"../main.c", line 348: warning #17003-D: relocation from function "main" to symbol "_numTransfers" overflowed; the 16-bit relocated address 0x8345 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "./main.obj", offset = 0x000000d8, section = ".text")
}
^
"../main.c", line 348: warning #17009-D: relocation type is static base-relative, but references symbol "_trace" defined in section ".log"; references to section ".log" are not relative to any static base, so this relocation cannot be performed (type = 'R_C60BASE' (80), file = "./main.obj", offset = 0x00000140, section = ".text")
}
^
"../main.c", line 348: warning #17009-D: relocation type is static base-relative, but references symbol "_trace" defined in section ".log"; references to section ".log" are not relative to any static base, so this relocation cannot be performed (type = 'R_C60BASE' (80), file = "./main.obj", offset = 0x00000180, section = ".text")
}
^
"src/knl/knl_ipos.c", line 35 (approximate): warning #17003-D: relocation from function "KNL_ipost" to symbol "_KNL_wFlag" overflowed; the 16-bit relocated address 0x82cc is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<knl_ipos.o674>", offset = 0x00000054, section = ".bios")
"src/knl/knl_ipos.c", line 35 (approximate): warning #17003-D: relocation from function "KNL_ipost" to symbol "_KNL_wFlag" overflowed; the 16-bit relocated address 0x82cc is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<knl_ipos.o674>", offset = 0x00000070, section = ".bios")
"src/knl/knl_run.c", line 102 (approximate): warning #17003-D: relocation from function "KNL_run" to symbol "_KNL_wFlag" overflowed; the 16-bit relocated address 0x82cc is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<knl_run.o674>", offset = 0x00000004, section = ".bios")
"src/knl/knl_run.c", line 102 (approximate): warning #17003-D: relocation from function "KNL_run" to symbol "_KNL_wFlag" overflowed; the 16-bit relocated address 0x82cc is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<knl_run.o674>", offset = 0x00000010, section = ".bios")
"src/knl/knl_run.c", line 129 (approximate): warning #17003-D: relocation from function "KNL_run" to symbol "_KNL_wFlag" overflowed; the 16-bit relocated address 0x82cc is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<knl_run.o674>", offset = 0x0000010c, section = ".bios")
"src/knl/knl_run.c", line 129 (approximate): warning #17003-D: relocation from function "KNL_run" to symbol "_KNL_wFlag" overflowed; the 16-bit relocated address 0x82cc is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<knl_run.o674>", offset = 0x00000118, section = ".bios")
"src/msgq/msgq_init.c", line 36 (approximate): warning #17003-D: relocation from function "MSGQ_init" to symbol "_runFlag$1" overflowed; the 16-bit relocated address 0x8342 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_init.o674>", offset = 0x00000004, section = ".sysinit")
"src/msgq/msgq_init.c", line 36 (approximate): warning #17003-D: relocation from function "MSGQ_init" to symbol "_runFlag$1" overflowed; the 16-bit relocated address 0x8342 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_init.o674>", offset = 0x00000024, section = ".sysinit")
"src/msgq/msgq_locate.c", line 44 (approximate): warning #17003-D: relocation from function "MSGQ_locate" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_locate.o674>", offset = 0x00000038, section = ".bios")
"src/msgq/msgq_locate.c", line 79 (approximate): warning #17003-D: relocation from function "MSGQ_locate" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_locate.o674>", offset = 0x000000b0, section = ".bios")
"src/msgq/msgq_locatelocal.c", line 182 (approximate): warning #17003-D: relocation from function "MSGQ_locateLocal" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_locatelocal.o674>", offset = 0x0000004c, section = ".bios")
"src/msgq/msgq_open.c", line 76 (approximate): warning #17003-D: relocation from function "MSGQ_open" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_open.o674>", offset = 0x00000078, section = ".bios")
remark #10205-D: automatic RTS selection: linking in "rts6740.lib" in place of index library "libc.a"
"src/msgq/msgq_put.c", line 47 (approximate): warning #17003-D: relocation from function "MSGQ_put" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_put.o674>", offset = 0x0000000c, section = ".bios")
"src/msgq/msgq_release.c", line 40 (approximate): warning #17003-D: relocation from function "MSGQ_release" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_release.o674>", offset = 0x00000000, section = ".bios")
"src/msgq/msgq_stup.c", line 34 (approximate): warning #17003-D: relocation from function "MSGQ_startup" to symbol "_runFlag$1" overflowed; the 16-bit relocated address 0x8343 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_stup.o674>", offset = 0x00000004, section = ".bios")
"src/msgq/msgq_stup.c", line 34 (approximate): warning #17003-D: relocation from function "MSGQ_startup" to symbol "_runFlag$1" overflowed; the 16-bit relocated address 0x8343 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_stup.o674>", offset = 0x00000028, section = ".bios")
"src/msgq/msgq_stup.c", line 34 (approximate): warning #17003-D: relocation from function "MSGQ_startup" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_stup.o674>", offset = 0x00000030, section = ".bios")
"./messagecfg.cmd", line 375: remark #10191-D: object ".printf" is not allocated, but is being placed as part of allocated object "GROUP_1"
.printf (COPY): {}
"src/msgq/msgq_stup.c", line 45 (approximate): warning #17003-D: relocation from function "MSGQ_startup" to symbol "_GBL_procId" overflowed; the 16-bit relocated address 0x81e6 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<msgq_stup.o674>", offset = 0x000000a8, section = ".bios")
"src/pool/pool_init.c", line 29 (approximate): warning #17003-D: relocation from function "POOL_init" to symbol "_runFlag$1" overflowed; the 16-bit relocated address 0x8344 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<pool_init.o674>", offset = 0x00000004, section = ".sysinit")
"src/pool/pool_init.c", line 29 (approximate): warning #17003-D: relocation from function "POOL_init" to symbol "_runFlag$1" overflowed; the 16-bit relocated address 0x8344 is too large to encode in the 15-bit unsigned field (type = 'R_C60BASE' (80), file = "C:/ti/bios_5_42_01_09/packages/ti/bios/lib/bios.a674<pool_init.o674>", offset = 0x00000028, section = ".sysinit")
Any ideas? THX in advance.