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.

Gstreamer TI plugin dm3730: undefined symbol

Hello,

I'have a problem with the gstreamer-ti plugin. I'm using ti-dvsdk_dm3730-evm_04_03_00_06, but I also tried with ti-dvsdk_dm3730-evm_4_02_00_06 and ti-dvsdk_omap3530-evm_4_01_00_09 with the same result.

I was able to compile the plugin but when I do:

gst-inspect-0.10 | grep TI

it returns the following message:

(gst-plugin-scanner:262): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstticodecplugin.so': /usr/lib/gstre amer-0.10/libgstticodecplugin.so: undefined symbol: Aenc1_DynamicParams_DEFAULT

I tried to inspect the file “libgstticodecplugin.so” using:

ldd -d /usr/lib/gstreamer-0.10/libgstticodecplugin.so

with the following result:

libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0xb6e02000)

libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0xb6d3d000)

libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6cfe000)

libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6cf4000)

libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6ce8000)

libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6bf1000)

libgstvideo-0.10.so.0 => /usr/lib/libgstvideo-0.10.so.0 (0xb6bd6000)

libgstaudio-0.10.so.0 => /usr/lib/libgstaudio-0.10.so.0 (0xb6b9b000)

libgstpbutils-0.10.so.0 => /usr/lib/libgstpbutils-0.10.so.0 (0xb6b75000)

libgstinterfaces-0.10.so.0 => /usr/lib/libgstinterfaces-0.10.so.0 (0xb6b5f000)

libffi.so.6 => /usr/lib/libffi.so.6 (0xb6b51000)

libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6b28000)

librt.so.1 => /lib/librt.so.1 (0xb6b18000)

libdl.so.2 => /lib/libdl.so.2 (0xb6b0b000)

libpthread.so.0 => /lib/libpthread.so.0 (0xb6aeb000)

libc.so.6 => /lib/libc.so.6 (0xb699a000)

libm.so.6 => /lib/libm.so.6 (0xb68f3000)

/lib/ld-linux.so.3 (0xb6f6a000)

undefined symbol: Aenc1_DynamicParams_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Idec1_DynamicParams_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Capture_Attrs_DM365_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Venc1_Params_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Framecopy_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Aenc1_Params_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Ienc1_Params_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Ienc1_DynamicParams_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Display_Attrs_DM6446_DM355_VID_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Ccv_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Adec1_Params_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: BufferGfx_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Buffer_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Vdec2_DynamicParams_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Venc1_DynamicParams_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Display_Attrs_O3530_VID_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Cpu_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Display_Attrs_DM6467_VID_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Resize_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Idec1_Params_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Vdec2_Params_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Adec1_DynamicParams_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

undefined symbol: Rendezvous_Attrs_DEFAULT (/usr/lib/gstreamer-0.10/libgstticodecplugin.so)

looking into DVSDK folders I found that those symbols are respectively defined as “extern const” in: dmai_2_20_00_15/packages/ti/sdo/dmai/ce/Aenc1.h

dmai_2_20_00_15/packages/ti/sdo/dmai/ce/Idec1.h

dmai_2_20_00_15/packages/ti/sdo/dmai/Capture.h

… (and so on)

What I'm doing wrong?

Googling I was unable to find a solution.

Thanks for your help!

Andrea