This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在codec下面自己增加.c .h 问题

Other Parts Discussed in Thread: OMAP3530

在dvsdk的codec下面,如在videnc_copy下面自己增加了.c和 .h文件,然后make可以通过,但到server下面,编译的时候,说找不到函数还是什么的

undefined                        first referenced

symbol                              in file

---------                        ----------------

_my                              /home/omap/omap3530/dvsdk/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/videnc_copy/lib/videnc_copy_dma.a64P

>>   error: relocation overflow occurred at address 0x00000794 in section

           '.text' of input file 'videnc_copy.o64P

           (/home/omap/omap3530/dvsdk/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/codecs/videnc_copy/lib/videnc_copy_dma.a64P)'.  The 29-bit PC-relative displacement 484461664 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. You may need to add a mask to the assembly instruction or use other target specific assembly features if you really only need the lowest 21 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide.

>>   error: symbol referencing errors - 'bin/ti_platforms_evm3530/all.x64P' not

           built

gmake[1]: *** [bin/ti_platforms_evm3530/all.x64P] Error 1

gmake: *** [/home/omap/omap3530/dvsdk/dvsdk_3_00_02_44/codec_engine_2_24/examples/ti/sdo/ce/examples/servers/all_codecs,.executables] Error 2

make: *** [all] Error 2