Am 16.11.2009 05:46, schrieb Frankie: > I am sure the plugins are correctly cross compiled, please see below for > the ldd output. > > ****************************************************************** > SHELL=/bin/bash > TERM=linux > QTDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm > OLDPWD=/usr/lib/gstreamer-0.10 > USER=root > GST_PLUGIN_SYSTEM_PATH=/usr/lib/gstreamer-0.10/ > LD_LIBRARY_PATH=/opt/pcscale/lib:/opt/pcscale/wm:/usr/local/Trolltech/QtEmbedded-4.5.3-arm/lib::/usr/lib > > QWS_MOUSE_PROTO=linuxtp:/tmp/ts_data > SEGFAULT_OFFSET=10 > PATH=/usr/sbin:/bin:/usr/bin:/sbin > PWD=/usr/lib > PS1=\n[\u@\h][192.168.30.137][\w]\n> > SHLVL=1 > HOME=/root > QWS_KEYBOARD=None > SCALEMODE=SM5500 > LOGNAME=root > GST_PLUGIN_PATH=/usr/lib/gstreamer-0.10/ > INIPATH=/opt/pcscale/ini > _=/usr/bin/env > > cd /usr/lib/gstreamer-0.10 > ldd libgstaudioresample.so > libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x40024000) > libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 > (0x4007e000) > libm.so.6 => /lib/libm.so.6 (0x40192000) > libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40241000) > libdl.so.2 => /lib/libdl.so.2 (0x4024c000) > libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40257000) > libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x4029a000) > libpthread.so.0 => /lib/libpthread.so.0 (0x402a6000) > librt.so.1 => /lib/librt.so.1 (0x402c1000) > libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x402d0000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x403a6000) > libc.so.6 => /lib/libc.so.6 (0x403b9000) > /lib/ld-linux.so.3 (0x2a000000) > > cd /usr/lib > ldd liboil-0.3.so > libm.so.6 => /lib/libm.so.6 (0x4009d000) > libgmodule-2.0.so.0 (0x4014c000) > libdl.so.2 => /lib/libdl.so.2 (0x40158000) > libgobject-2.0.so.0 (0x40163000) > libgthread-2.0.so.0 (0x401a6000) > libpthread.so.0 => /lib/libpthread.so.0 (0x401b2000) > librt.so.1 => /lib/librt.so.1 (0x401cc000) > libglib-2.0.so.0 (0x401dc000) > libc.so.6 => /lib/libc.so.6 (0x402b2000) > /lib/ld-linux.so.3 (0x2a000000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x403c4000) > These are using liboil, but are not linked against it. Have you modified the build system? Stefan > ******************************************************************** > > Best Regards, > Frankie > > ----- Original Message ----- From: "Stefan Kost" <ensonic at hora-obscura.de> > To: "Frankie" <choon_woon at teraoka.com.sg> > Cc: <gstreamer-embedded at lists.sourceforge.net> > Sent: Friday, November 13, 2009 4:50 AM > Subject: Re: Error running gst-launch > > >> Frankie schrieb: >>> When i run gst-launch playbin, i get the error below. >>> >>> ***************************************************************** >>> >>> gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstaudioresample.so': >>> /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: >>> oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': >>> /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: >>> oil_function_class_ptr_splat_u16_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideoscale.so': >>> /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: >>> oil_function_class_ptr_merge_linear_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvolume.so': >>> /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: >>> oil_function_class_ptr_scalarmultiply_f64_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': >>> /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstgoom.so': >>> /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideobox.so': >>> /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/evms/libe2fsim.1.2.1.so': /usr/lib/evms/libe2fsim.1.2.1.so: >>> undefined symbol: ExtractObject >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstaudioresample.so': >>> /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: >>> oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': >>> /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: >>> oil_function_class_ptr_splat_u16_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideoscale.so': >>> /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: >>> oil_function_class_ptr_merge_linear_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvolume.so': >>> /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: >>> oil_function_class_ptr_scalarmultiply_f64_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': >>> /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstgoom.so': >>> /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideobox.so': >>> /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstaudioresample.so': >>> /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: >>> oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': >>> /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: >>> oil_function_class_ptr_splat_u16_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideoscale.so': >>> /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: >>> oil_function_class_ptr_merge_linear_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvolume.so': >>> /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: >>> oil_function_class_ptr_scalarmultiply_f64_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': >>> /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstgoom.so': >>> /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideobox.so': >>> /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/evms/libe2fsim.1.2.1.so': /usr/lib/evms/libe2fsim.1.2.1.so: >>> undefined symbol: ExtractObject >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstaudioresample.so': >>> /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: >>> oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': >>> /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: >>> oil_function_class_ptr_splat_u16_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideoscale.so': >>> /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: >>> oil_function_class_ptr_merge_linear_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvolume.so': >>> /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: >>> oil_function_class_ptr_scalarmultiply_f64_ns >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': >>> /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstgoom.so': >>> /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init >>> >>> (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin >>> '/usr/lib/gstreamer-0.10/libgstvideobox.so': >>> /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: >>> oil_function_class_ptr_copy_u8 >>> >>> Setting pipeline to PAUSED ... >>> >>> ERROR: Pipeline doesn't want to pause. >>> >>> ERROR: from element /GstPlayBin:playbin0: No URI specified to play from. >>> >>> Additional debug info: >>> >>> gstplaybasebin.c(1660): gen_source_element (): /GstPlayBin:playbin0 >>> >>> Setting pipeline to NULL ... >>> >>> Freeing pipeline ... >>> >>> ***************************************************** >>> >>> I have libiol library in /usr/lib/, anyone know why it cannot find the >>> liboil library >> >> >> are you sure it working (e.g. properly cross compiled). just run ldd >> on a plugin >> that uses liboil and on liboil itself. >> >> Stefan >> >>> >>> Best Regards, >>> Frankie >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Gstreamer-embedded mailing list >>> Gstreamer-embedded at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded >> >> > >