在做个项目,其中涉及到davinci集成ccs下编译的lib库,我是在ti提供的scale例子下进行的修改。可以实现arm与dsp的简单通信,为了测试集成算法的情况,我需要添加codecl算法库。我在server目录下的link.cmd文件下进行添加库,我做了。但是其他的bld,xdc等文件我没改动。现在的问题是只要我调用库中的函数,集成codec server就出错。我估计是我配置文件的问题,再一个是不是scale这个例子不能添加自己的库?已经困扰很多天了,一直无法解决,求解.........
undefined first referenced
symbol in file
--------- ----------------
_InitTest /mnt/sda3/wangyanlong_extend/dvsdk_1_40_02_33/dm6467_dvsdk_combos_1_17/packages/ti/sdo/codecs/scale/lib/scale_ti.a64P
>> error: relocation overflow occurred at address 0x0000004c in section
'.text' of input file 'ImgProcTest.o64P
(/mnt/sda3/wangyanlong_extend/dvsdk_1_40_02_33/dm6467_dvsdk_combos_1_17/packages/ti/sdo/codecs/scale/lib/scale_ti.a64P)'. The 29-bit PC-relative displacement 471294248 at this location is too large to fit into the 21-bit PC-Relative field; the destination address is too far away from the instruction.