This mail is mainly for Rob (who will be cross-compiling Gnash for the Trimble Nomad too), but might be useful for anybody who wants to build Gnash for that device.
Last time I tried this, it worked well if you do NOT include any media handler, but that is what I'm trying to do right now (to have audio support). To cross-compile you need the SDK from SDG Systems, which is available online. I used this version: http://developer.sdgsystems.com/sdk/sdk-addon-qtex4.4.2-release1.tgz In the meantime there is a newer one, which I'm testing right now: http://developer.sdgsystems.com/sdk/sdk-addon-qtex4.4.3-release1.tgz The Nomad comes with an (old) GST pre-installed, but some other libs are missing. I downloaded and built them separately (for running Gnash I put the .so files in the same directory, for simplicity): Libs I used: - boost 1.38.0 - GifLib 4.1.6 - AGG 2.5 - SDL 1.2.8 I invoked "configure" with these options: PATH=/opt/sdg/angstrom2007.12/sdk/bin:$PATH \ CC=arm-angstrom-linux-gnueabi-gcc \ GCC=arm-angstrom-linux-gnueabi-gcc \ CXX=arm-angstrom-linux-gnueabi-g++ \ STRIP=arm-angstrom-linux-gnueabi-strip \ LD=arm-angstrom-linux-gnueabi-ld \ CPPFLAGS=-I/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/libxml2 \ ./configure \ --host=arm-linux \ --enable-fps-debug \ --enable-gui=fb \ --with-top-level=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi \ --enable-media=gst \ --with-gstreamer-incl=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/gstreamer-0.10 \ --with-gstreamer-lib=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib \ --enable-extensions=fileio \ --with-boost-incl=../../boost_1_38_0/boost \ --with-boost-lib=../../boost_1_38_0/stage/lib \ --with-gif-incl=../../giflib-4.1.6/lib \ --with-gif-lib=../../giflib-4.1.6/lib/.libs \ --with-agg-incl=../../agg-2.5/include \ --with-agg-lib=../../agg-2.5/src \ --with-sdl-incl=../../SDL-1.2.8/include \ --with-sdl-lib=../../SDL-1.2.8/src/.libs \ --with-glib-lib=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/lib \ --with-glib-incl=/opt/sdg/angstrom2007.12/sdk/arm-angstrom-linux-gnueabi/include/glib-2.0/ Some environment var. might be unnecessary, but they certainly won't harm. Note I have my extra-libs in ../../xxxx as you can see. The folder /opt/sdg/angstrom2007.12/... is forced by the Nomad SDK. Currently some manual patches are necessary to help building Gnash (current trunk). Bug reports are files for this. First, the following define must be removed from gnashconfig.h because the GST version used in the SDK is 0.10.14 and Gnash detects 0.10.15: //#define HAVE_GSTREAMER_0_10_GST_PBUTILS_INSTALL_PLUGINS_H 1 Also, g_strcmp0() is not available and this line must be added to gnashconfig.h: #define g_strcmp0 strcmp Could be that this function is not being used anymore, I didn't check this. Earlier the build filed for the "utilities" directory, so I modify that Makefile to completely skip building it. Finally "make" is invoked this way: PATH=/opt/sdg/angstrom2007.12/sdk/bin:$PATH \ CC=arm-angstrom-linux-gnueabi-gcc \ GCC=arm-angstrom-linux-gnueabi-gcc \ CXX=arm-angstrom-linux-gnueabi-g++ \ STRIP=arm-angstrom-linux-gnueabi-strip \ LD=arm-angstrom-linux-gnueabi-ld \ make Without --enable-media=gst this produced a working Gnash build for the Nomad, altough this was some months ago. Good luck, Udo _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

