I'm trying to *cross-compile* Gnash for Angstrom and am stuck with a linking problem that I don't understand.
In gui/ I get the following linker error: ../libmedia/.libs/libgnashmedia.so: undefined reference to `gst_property_probe_get_type' FYI, here is some more build output: -------------------------------------------------------------------- arm-angstrom-linux-gnueabi-g++ -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -I../libltdl -Wl,--as-needed -o .libs/fb-gnash fb_gnash-gnash.o fb_gnash-gui.o fb_gnash-Player.o fb_gnash-NullGui.o fb_gnash-gui_fb.o fb_gnash-fb.o -Wl,--export-dynamic -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib ../libbase/.libs/libltdlc.a -L/home/udo/Nomad/boost_1_38_0/stage/lib ../backend/.libs/libgnashagg.a -L/home/udo/Nomad/agg-2.5/src ../libamf/.libs/libgnashamf.so -L/home/udo/Nomad/giflib-4.1.6/lib/.libs ../libnet/.libs/libgnashnet.so ../libmedia/.libs/libgnashmedia.so ../libcore/.libs/libgnashcore.so /home/udo/Nomad/gnash-trunk-fb/trunk/libnet/.libs/libgnashnet.so -lglib-2.0 /home/udo/Nomad/gnash-trunk-fb/trunk/libamf/.libs/libgnashamf.so /home/udo/Nomad/gnash-trunk-fb/trunk/libbase/.libs/libgnashbase.so -lfreetype -lfontconfig /home/udo/Nomad/gnash-trunk-fb/trunk/libmedia/.libs/libgnashmedia.so -lgstbase-0.10 -lgstpbutils-0.10 -lgstreamer-0.10 /home/udo/Nomad/gnash-trunk-fb/trunk/libsound/.libs/libgnashsound.so -L/home/udo/Nomad/SDL-1.2.8/src/.libs ../libsound/.libs/libgnashsound.so /home/udo/Nomad/SDL-1.2.8/src/.libs/libSDL.so -lXext ../libbase/.libs/libgnashbase.so -ljpeg -lpng /home/udo/Nomad/giflib-4.1.6/lib/.libs/libgif.so -lSM -lICE -lz -lboost_thread-gcc41-mt-1_38 -lboost_date_time-gcc41-mt-1_38 -lpthread -ldl -lagg -lc -lrt -lX11 -lXi -lbz2 -Wl,--rpath -Wl,/usr/local/lib/gnash ../libmedia/.libs/libgnashmedia.so: undefined reference to `gst_property_probe_get_type' ../libmedia/.libs/libgnashmedia.so: undefined reference to `gst_property_probe_probe_and_get_values_name' collect2: ld returned 1 exit status make[4]: *** [fb-gnash] Error 1 make[4]: Leaving directory `/mnt/bigdrive/home/udo/Nomad/gnash-trunk-fb/trunk/gui' -------------------------------------------------------------------- gst_property_probe_get_type() is used nowhere in Gnash so I'm wondering why the linking fails. I get the same error in "utilities/" (tried to avoid the problem by bypassing the build of utilities/). This is Gstreamer version 0.10.13. Anybody has a clue? dumpconfig follows: Building in directories: libbase libamf libnet libmedia libsound libcore backend utilities gui plugin doc po testsuite extensions Some directories may be excluded from the build Linux indunet-srv 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 GNU/Linux arm-angstrom-linux-gnueabi-g++ -v Using built-in specs. Target: arm-angstrom-linux-gnueabi Configured with: /opt/aric/angstrom2007.12/work/i686-armv5te-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.2-r11/gcc-4.1.2/configure --build=i686-linux --host=i686-linux --target=arm-angstrom-linux-gnueabi --prefix=/opt/sdg/angstrom2007.12/sdk --exec_prefix=/opt/sdg/angstrom2007.12/sdk --bindir=/opt/sdg/angstrom2007.12/sdk/bin --sbindir=/opt/sdg/angstrom2007.12/sdk/bin --libexecdir=/opt/sdg/angstrom2007.12/sdk/libexec --datadir=/opt/sdg/angstrom2007.12/sdk/share --sysconfdir=/opt/sdg/angstrom2007.12/sdk/etc --sharedstatedir=/opt/sdg/angstrom2007.12/sdk/share/com --localstatedir=/opt/sdg/angstrom2007.12/sdk/var --libdir=/opt/sdg/angstrom2007.12/sdk/lib --includedir=/opt/sdg/angstrom2007.12/sdk/include --oldincludedir=/opt/sdg/angstrom2007.12/sdk/include --infodir=/opt/sdg/angstrom2007.12/sdk/share/info --mandir=/opt/sdg/angstrom2007.12/sdk/share/man --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --with-local-prefix=/opt/sdg/angstrom2007.12/sdk/local --with-gxx-include-dir=/opt/sdg/angstrom2007.12/sdk/include/c++/4.1.2 --with-float=soft --disable-libssp --with-sysroot=/opt/aric/angstrom2007.12/work/i686-armv5te-sdk-angstrom-linux-gnueabi/gcc-cross-sdk-4.1.2-r11/sysroot --disable-libunwind-exceptions --with-mpfr=/opt/aric/angstrom2007.12/staging/i686-linux --enable-__cxa_atexit Thread model: posix gcc version 4.1.2 CXXFLAGS: -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden Image decoding support... JPEG_CFLAGS is JPEG_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -ljpeg PNG_CFLAGS is PNG_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lpng GIF_CFLAGS is -I/home/udo/Nomad/giflib-4.1.6/lib GIF_LIBS is -L/home/udo/Nomad/giflib-4.1.6/lib/.libs -lgif Audio decoding support... GSTREAMER_CFLAGS is -I/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/gstreamer-0.10 GSTREAMER_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lgstreamer-0.10 GUI Toolkit decoding support... SDL_CFLAGS is -I/home/udo/Nomad/SDL-1.2.8/include SDL_LIBS is -L/home/udo/Nomad/SDL-1.2.8/src/.libs -lSDL X11_CFLAGS is -I/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include X11_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lX11 -lXinerama -lXext -lSM -lICE Support libraries... INCLTDL -I./libltdl LIBLTDL ./libbase/libltdlc.la GLIB_CFLAGS is -I/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/glib-2.0 -I/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib/glib-2.0/include GLIB_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lglib-2.0 Z_CFLAGS is Z_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lz FREETYPE_CFLAGS is -I/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/freetype2 FREETYPE_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lfreetype FONTCONFIG_CFLAGS is FONTCONFIG_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lfontconfig LIBINTL is PTHREAD_CFLAGS is -pthread PTHREAD_LIBS is -L/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib -lpthread CURL_CFLAGS is CURL_LIBS is BOOST_CFLAGS is BOOST_LIBS is -L/home/udo/Nomad/boost_1_38_0/stage/lib -lboost_thread-gcc41-mt-1_38 -lboost_date_time-gcc41-mt-1_38 BOOST_EXTRA_LIBS is -lboost_serialization-gcc41-mt-1_38 Graphics support... AGG_CFLAGS is -I/home/udo/Nomad/agg-2.5/include AGG_LIBS is -L/home/udo/Nomad/agg-2.5/src -lagg A blank value for CFLAGS means the header is installed in the default system header location. All the LIBS should have a legit value Configurable options are: Media handler: gst Renderer engine: agg Supported GUI: FB Extensions added are: fileio Security features enabled are: localconnection Statistics features enabled are: cache KPARTS 3.x (KDE) plugin disabled KPARTS 4.x (KDE) plugin disabled NPAPI (Mozilla) plugin disabled PYTHON support disabled _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev