gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gnash-dev] cross-compiling


From: Sergey Olikh
Subject: RE: [Gnash-dev] cross-compiling
Date: Mon, 14 Jul 2008 18:46:34 +0300

Thank you for your reply Rob, --with-top-level helped me to cope with the 
configuration problems, but I got another one while making the project, 
'configure' is ran as:

./configure \
    --host=mipsel-linux-gnu \
    --disable-klash --disable-plugin --disable-glext --with-x=no --disable-xml 
--disable-sound \
    --enable-gui=fb --enable-renderer=agg \
    --with-top-level=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/


And I get libtool error:


/bin/sh ../libtool --tag=CXX   --mode=link mipsel-linux-gnu-g++  -g -O2 
-pthread -pthread     -W     -Wall     -Wcast-align     -Wcast-qual     
-Wpointer-arith     -Wreturn-type      -fvisibility-inlines-hidden -release 
0.8.3 -L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib/ 
-Wl,--as-needed -o libgnashmedia.la -rpath 
/opt/opt/horizonsemi/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib/gnash 
libgnashmedia_la-AudioDecoderNellymoser.lo 
libgnashmedia_la-AudioDecoderSimple.lo libgnashmedia_la-Util.lo 
libgnashmedia_la-VideoDecoderGst.lo libgnashmedia_la-AudioDecoderGst.lo 
libgnashmedia_la-gstappsink.lo libgnashmedia_la-gstappsrc.lo 
libgnashmedia_la-SoundHandlerGst.lo libgnashmedia_la-GstUtil.lo 
libgnashmedia_la-SoundGst.lo libgnashmedia_la-gstflvdemux.lo 
libgnashmedia_la-gstflvparse.lo libgnashmedia_la-gstbuffersrc.lo  
-L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr//lib -ljpeg  
-L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr//lib -lz  
-L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr//lib -lcurl  -lltdl 
 -L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr//lib 
-lboost_thread-gcc42-mt-1_34_1 -lboost_date_time-gcc42-1_34_1 
-L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr//lib -lpthread  
-L/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr//lib 
-lgstreamer-0.10  -lgstbase-0.10  -lc -lrt -lX11 -lXi -lm
libtool: link: warning: library 
`/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib//libjpeg.la' was 
moved.
libtool: link: warning: library 
`/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib//libcurl.la' was 
moved.
libtool: link: warning: library 
`/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib//libltdl.la' was 
moved.
libtool: link: warning: library 
`/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root/usr/lib//libgstreamer-0.10.la'
 was moved.
grep: /usr/lib/libgobject-2.0.la: No such file or directory
/bin/sed: can't read /usr/lib/libgobject-2.0.la: No such file or directory
libtool: link: `/usr/lib/libgobject-2.0.la' is not a valid libtool archive
make[2]: *** [libgnashmedia.la] Error 1
make[2]: Leaving directory `/home4/sergeyo/software/gnash-0.8.3/libmedia'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home4/sergeyo/software/gnash-0.8.3'
make: *** [all] Error 2

-----Original Message-----
From: Rob Savoye [mailto:address@hidden
Sent: Monday, July 14, 2008 12:33 AM
To: Sergey Olikh
Cc: address@hidden
Subject: Re: [Gnash-dev] cross-compiling

Sergey Olikh wrote:

> Toolchain - /home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc
> Rootfs - /home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root
> CROSS_COMPILE=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc/bin/mipsel-linux-gnu-

> Running - ./configure \ --host=mipsel-linux-gnu \ --disable-klash
> --disable-plugin --disable-glext --with-x=no --disable-xml
> --disable-sound \ --enable-gui=fb --enable-renderer=agg \
> CC=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc/bin/mipsel-linux-gnu-gcc
> \
> CXX=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-gcc/bin/mipsel-linux-gnu-g++
> \ --with-libxml-incl=$CROSS_INC/libxml2
> --with-agg-incl=$CROSS_INC/agg2 \
> --with-gstreamer-incl=$CROSS_INC/gstreamer-0.10
> --with-gstreamer-lib=$CROSS_LIB \ --with-boost-incl=$CROSS_INC/boost
> --with-boost-lib=$CROSS_LIB

   Gnash uses the traditional GNU style of cross compiling as it uses
autoconf. Rather then setting CXX, just add --host mipsel-linux-gnu. You
can also use
--with-top-level=/home4/sergeyo/mipsel-linux-gnu/mipsel-linux-gnu-root
so configure finds your cross environment.

        - rob -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]