compiling gnash version 7,arm compiler,fedora 6

jeson steive8160 at tom.com
Mon Aug 13 03:30:34 CEST 2007




pooja123 wrote:
> 
> 
> when i trying to compile gnash it is giving this error
> 
> when i had given "make" command
> 
> 
> ]$ make
> make all-recursive
> make[1]: Entering directory `/home/saritha/arm/gnash'
> Making all in libbase
> make[2]: Entering directory `/home/saritha/arm/gnash/libbase'
> /bin/sh ../libtool --tag=CXX --mode=link arm_v5t_le-g++ -I.. -I. -I..
> -I../server -I/home/saritha/arm/LibSourceForGnash/png/pnginstall/include
> -I/home/saritha/arm/LibSourceForGnash/curl/curlinstall/include
> -I/home/saritha/arm/LibSourceForGnash/zlib/zlibinstall
> -I/home/saritha/arm/LibSourceForGnash/jpeg/jpeginstall
> -I/home/saritha/arm/LibSourceForGnash/boost -g -O2 -W -Wall -Wcast-align
> -Wcast-qual -Wpointer-arith -Wreturn-type -o libgnashbase.la -rpath
> /home/saritha/arm/gnashinstall/lib config.lo container.lo image.lo
> image_filters.lo jpeg.lo log.lo membuf.lo network.lo postscript.lo rc.lo
> triangulate_float.lo triangulate_sint32.lo tu_file.lo tu_random.lo
> tu_timer.lo tu_types.lo utf8.lo utility.lo curl_adapter.lo
> noseek_fd_adapter.lo zlib_adapter.lo Thread.lo URL.lo
> -L/home/saritha/arm/LibSourceForGnash/jpeg/jpeginstall -ljpeg
> -L/home/saritha/arm/LibSourceForGnash/zlib/zlibinstall -lz
> -L/home/saritha/arm/LibSourceForGnash/curl/curlinstall/lib -lcurl -lrt -lm
> libtool: link: warning: library
> `/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib//libstdc++.la'
> was moved.
> arm_v5t_le-g++ -shared -nostdlib
> /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/crti.o
> /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/crtbeginS.o
> /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/numa-note.o
> .libs/config.o .libs/container.o .libs/image.o .libs/image_filters.o
> .libs/jpeg.o .libs/log.o .libs/membuf.o .libs/network.o .libs/postscript.o
> .libs/rc.o .libs/triangulate_float.o .libs/triangulate_sint32.o
> .libs/tu_file.o .libs/tu_random.o .libs/tu_timer.o .libs/tu_types.o
> .libs/utf8.o .libs/utility.o .libs/curl_adapter.o
> .libs/noseek_fd_adapter.o .libs/zlib_adapter.o .libs/Thread.o .libs/URL.o
> -Wl,--rpath -Wl,/home/saritha/arm/LibSourceForGnash/curl/curlinstall/lib
> -Wl,--rpath
> -Wl,/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib/
> -Wl,--rpath -Wl,/home/saritha/arm/LibSourceForGnash/curl/curlinstal!
>  l/lib -Wl,--rpath
> -Wl,/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib/
> -L/home/saritha/arm/LibSourceForGnash/jpeg/jpeginstall /usr/lib/libjpeg.so
> -L/home/saritha/arm/LibSourceForGnash/zlib/zlibinstall -lz
> -L/home/saritha/arm/LibSourceForGnash/curl/curlinstall/lib
> /home/saritha/arm/LibSourceForGnash/curl/curlinstall/lib/libcurl.so -lrt
> -L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3
> -L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc
> -L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/lib
> -L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/lib
> -L/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib
> /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib//libstdc++.so
> -lm -lc -lgcc_s
> /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-!
>  montavista-linuxeabi/3.4.3/crtendS.o /opt/mv_pro_4.0/montavist!
>  a/pro/de
> vkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/crtn.o
> -Wl,-soname -Wl,libgnashbase.so.0 -o .libs/libgnashbase.so.0.0.0
> /usr/lib/libjpeg.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[2]: *** [libgnashbase.la] Error 1
> make[2]: Leaving directory `/home/saritha/arm/gnash/libbase'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/saritha/arm/gnash'
> make: *** [all] Error 2
> 
> 
> 
> can any one help me how to solve this problem
> 


Hi 

Your jpeg libraries is for PC platform, but not for your arm platform ,you
should confirm the path of jpeg libraries which you compiled for arm.

B regards 

jeson 


I also countered a problem when I cross compile the gnash-0.7.2,the followed
are the infos:

/usr/include/bits/mathinline.h:548: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:548: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:548: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:548: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:548: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:548: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:530: error: impossible constraint in `asm'
/usr/include/bits/mathinline.h:548: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:548: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:548: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:548: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:548: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:548: warning: '__value' might be used
uninitialized in this function
/usr/include/bits/mathinline.h:530: warning: '__value' might be used
uninitialized in this function



More information about the konq-e mailing list