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 engine)undefined reference to `G711ENC_SUN_IG711ENC' with building the example codes.

Hi all,

As a newcomer here, I was trying to build the example codes in Codec Engine as in dvsdk_2_00_00_22/codec_engine_2_23_01.  I built the code following the process described here:dvsdk_2_00_00_22/codec_engine_2_23_01/examples/build_instructions.html. Sure, that was the docs file.

 

I did everything as told but got the following error:

# lnkv5T bin/evmDM6446/app_local.xv5T ...

/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc    -o bin/evmDM6446/app_local.xv5T package/cfg/bin/evmDM6446/app_local/main_native.ov5T package/cfg/bin/evmDM6446/app_local/app.ov5T package/cfg/bin/evmDM6446/app_local_xv5T.ov5T  package/cfg/bin/evmDM6446/app_local_xv5T.xdl   -L/opt/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linux-gnueabi/lib -lpthread 

package/cfg/bin/evmDM6446/app_local_xv5T.ov5T:(.data.rel+0x34): undefined reference to `G711ENC_SUN_IG711ENC'

collect2: ld returned 1 exit status

gmake[1]: *** [bin/evmDM6446/app_local.xv5T] Error 1

gmake: *** [/home/pheobe/project/examples/ti/sdo/ce/examples/apps/speech,.executables] Error 2

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/pheobe/project/examples/ti/sdo/ce/examples/apps/speech'

make: *** [all] Error 2

------------------------------------------------------------------------------------------------------------
I was buiding it for Dm6446 and got no clue what is going wrong. I' m sure i've got codec compiled and there is /home/pheobe/project/examples/ti/sdo/ce/examples/codecs/imgdec_copy/lib/imgdec_copy.a64P and other things like this. I wonder why they doesn't link together.

I tried to compile only image_copy app and got :
 lnkv5T bin/evmDM6446/app_local.xv5T ...
/opt/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc    -o bin/evmDM6446/app_local.xv5T package/cfg/bin/evmDM6446/app_local/main_native.ov5T package/cfg/bin/evmDM6446/app_local/app.ov5T package/cfg/bin/evmDM6446/app_local_xv5T.ov5T  package/cfg/bin/evmDM6446/app_local_xv5T.xdl   -L/opt/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linux-gnueabi/lib -lpthread 
package/cfg/bin/evmDM6446/app_local_xv5T.ov5T:(.data.rel+0x34): undefined reference to `IMGDECCOPY_TI_IMGDECCOPY'
package/cfg/bin/evmDM6446/app_local_xv5T.ov5T:(.data.rel+0x5c): undefined reference to `IMGENCCOPY_TI_IMGENCCOPY'
collect2: ld returned 1 exit status
could anyone give me some clue? any advice is welcome. Thanks in advance.