|
From: | ON JJ |
Subject: | [Gnash-dev] cross compile gnash error |
Date: | Mon, 15 Mar 2010 08:49:25 +0000 |
I am trying to cross compile gnash I use this setting to configure sudo ./configure --prefix=/opt/crosstool/ --host=arm-linux --libdir=/opt/crosstool/lib --includedir=/opt/crosstool/include --disable-plugins --disable-debugger --disable-glext --disable-klash --disable-cygnal --disable-menus --disable-rpath --disable-shared --enable-static --with-top-level=/opt/crosstool/ --enable-gui=sdl --enable-renderer=agg --with-agg-incl=/opt/crosstool/include/agg --with-agg-lib=/opt/crosstool/lib --with-libxml-incl=/opt/crosstool/include/libxml2 --with-libxml-lib=/opt/crosstool/lib --with-sdl-incl=/opt/crosstool/include/SDL/ --with-sdl-lib=/opt/crosstool/lib --with-boost-incl=/opt/crosstool/include/boost-1_34_1 --with-boost-lib=/opt/crosstool/lib --with-z-incl=/opt/crosstool/include --with-z-lib=/opt/crosstool/lib --with-curl-incl=/opt/crosstool/include --with-curl-lib=/opt/crosstool/lib --with-jpeg-incl=/opt/crosstool/include --with-jpeg-lib=/opt/crosstool/lib --with-png-incl=/opt/crosstool/include/libpng12 --with-png-lib=/opt/crosstool/lib --with-gstreamer-incl=/opt/crosstool/include/gstreamer-0.10 --with-gstreamer-lib=/opt/crosstool/lib --with-glib-incl=/opt/crosstool/include/glib-2.0 --with-glib-lib=/opt/crosstool/lib --with-gif-incl=/opt/crosstool/include/ --with-gif-lib=/opt/crosstool/lib --with-freetype-incl=/opt/crosstool/include/freetype2 --with-freetype-lib=/opt/crosstool/lib --with-fontconfig-incl=/opt/crosstool/include --with-fontconfig-lib=/opt/crosstool/lib --with-glext-incl=/opt/crosstool/include/ --with-glext-lib=/opt/crosstool/lib/gettext --with-speex-incl=/opt/crosstool/include/speex --with-speex-lib=/opt/crosstool/lib CFLAGS="-I/opt/crosstool/include" CXXFLAGS="-I/opt/crosstool/include" CPPFLAGS="-I/opt/crosstool/include" but i get this message WARNING: without --enable-docbook we will use the cached documentation files included in the gnash distribution. If you change files in doc/C, you should --enable-docbook. WARNING: You need the gettext package installed to use translations. Required for building a package or 'make distcheck' Install it from http://www.gnu.org/software/gettext/ or .deb users: apt-get install gettext or .rpm users: yum install gettext Because i don't want the doc, i ignore the first warring. But, i had cross compile gettext in /opt/crosstool, and i had set --with-top-level=/opt/crosstool/ , why can't configure it? Is my setting error? In configure -help, i can't find any setting about gettext So, I ignore all the warring, try to make it, but i get this error Making all in libbase make[2]: Entering directory `/home/jjon/Desktop/gnash-0.8.5/libbase' /bin/bash ../libtool --tag=CXX --mode=compile arm-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/opt/crosstool/lib/gnash/plugins\" -DSYSCONFDIR=\"/opt/crosstool/etc\" -I../libnet -I../libamf -I../libcore -I../libcore/swf -pthread -I/opt/crosstool/include/libpng12 -I/opt/crosstool/include -I/opt/crosstool/include/gstreamer-0.10 /opt/crosstool/include -I/opt/crosstool/include -I/opt/crosstool/include -I/opt/crosstool/include/boost-1_34_1 -I../libltdl -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c -o libgnashbase_la-extension.lo `test -f 'extension.cpp' || echo './'`extension.cpp libtool: compile: arm-linux-g++ -DHAVE_CONFIG_H -I. -I.. -DPLUGINSDIR=\"/opt/crosstool/lib/gnash/plugins\" -DSYSCONFDIR=\"/opt/crosstool/etc\" -I../libnet -I../libamf -I../libcore -I../libcore/swf -pthread -I/opt/crosstool/include/libpng12 -I/opt/crosstool/include -I/opt/crosstool/include/gstreamer-0.10 /opt/crosstool/include -I/opt/crosstool/include -I/opt/crosstool/include -I/opt/crosstool/include/boost-1_34_1 -I../libltdl -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT libgnashbase_la-extension.lo -MD -MP -MF .deps/libgnashbase_la-extension.Tpo -c extension.cpp -o libgnashbase_la-extension.o arm-linux-g++: /opt/crosstool/include: linker input file unused because linking not done cc1plus: /opt/crosstool/include: No such file or directory cc1plus: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [libgnashbase_la-extension.lo] Error 1 make[2]: Leaving directory `/home/jjon/Desktop/gnash-0.8.5/libbase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jjon/Desktop/gnash-0.8.5' make: *** [all] Error 2 Did i missing some setting? Please tell me how to slove this error Thank you Hotmail: Powerful Free email with security by Microsoft. Get it now. |
[Prev in Thread] | Current Thread | [Next in Thread] |