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

Re: GNash



first of all, use the cvs version
secondly, grab the patch I posted on their bug tracker (else it won't
work on 64 bits)
and finally, the plugin does not work :), but the commandline tool works
pretty fine.

appart from that, it looks promising but it definitely need some work.

Cheers,
Mik

Francisco Gimeno a écrit :
> Hello...
> 
> I have just tried to make a package for the recently released gnash-0.7 ( the 
> GNU Flash player ) with no success.. I'm not used to compile in 64bits 
> platform, so maybe I'm doing something wrong.
> 
> The configure output is the following:
> --------
> Configurable options are:
>         Using POSIX Threads
>         Not building the web server support.
>         Not using the Intel 810 LOD bias hack
>         Using DMalloc, For a list of the command-line options enter: dmalloc 
> --usage
>         Adding XML and XMLSocket
>         Building the Firefox plugin
>         Firefox C flags are: -I/usr/include
>         Firefox libs are: -L${exec_prefix}/lib
> -------------
> 
> and it's failing:
> -----------------
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. . -I.. -Wall 
> -I/usr/include/SDL -D_REENTRANT -I.. . -I.. -g -O2 -MT utility.lo -MD -MP 
> -MF .deps/utility.Tpo -c utility.cpp  -fPIC -DPIC -o .libs/utility.o
> x86_64-linux-gnu-g++: .: linker input file unused because linking not done
> x86_64-linux-gnu-g++: .: linker input file unused because linking not done
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. . -I.. -Wall 
> -I/usr/include/SDL -D_REENTRANT -I.. . -I.. -g -O2 -MT utility.lo -MD -MP 
> -MF .deps/utility.Tpo -c utility.cpp -o utility.o >/dev/null 2>&1
> if /bin/sh ../libtool --mode=compile --tag=CXX x86_64-linux-gnu-g++ 
> -DHAVE_CONFIG_H -I. -I. -I.. -I.. .    -I.. -Wall  -I/usr/include/SDL 
> -D_REENTRANT -I.. .    -I.. -g -O2 -MT zlib_adapter.lo -MD -MP -MF 
> ".deps/zlib_adapter.Tpo" -c -o zlib_adapter.lo zlib_adapter.cpp; \
>         then mv -f ".deps/zlib_adapter.Tpo" ".deps/zlib_adapter.Plo"; else rm 
> -f ".deps/zlib_adapter.Tpo"; exit 1; fi
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. . -I.. -Wall 
> -I/usr/include/SDL -D_REENTRANT -I.. . -I.. -g -O2 -MT zlib_adapter.lo -MD 
> -MP -MF .deps/zlib_adapter.Tpo -c zlib_adapter.cpp  -fPIC -DPIC 
> -o .libs/zlib_adapter.o
> x86_64-linux-gnu-g++: .: linker input file unused because linking not done
> x86_64-linux-gnu-g++: .: linker input file unused because linking not done
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. . -I.. -Wall 
> -I/usr/include/SDL -D_REENTRANT -I.. . -I.. -g -O2 -MT zlib_adapter.lo -MD 
> -MP -MF .deps/zlib_adapter.Tpo -c zlib_adapter.cpp -o zlib_adapter.o 
>> /dev/null 2>&1
> /bin/sh ../libtool --mode=link --tag=CXX x86_64-linux-gnu-g++ 
> -I/usr/include/SDL -D_REENTRANT -I.. .    -I.. -g -O2 -lGL -lGLU -lm 
> -L/usr/lib -lSDL -lpthread  -o libbase.la -rpath /usr/lib  config.lo 
> container.lo demo.lo dlmalloc.lo file_util.lo image.lo image_filters.lo 
> jpeg.lo membuf.lo ogl.lo png_helper.lo postscript.lo triangulate_float.lo 
> triangulate_sint32.lo tu_file.lo tu_file_SDL.lo tu_random.lo tu_timer.lo 
> tu_types.lo utf8.lo utility.lo zlib_adapter.lo
> x86_64-linux-gnu-g++ -shared 
> -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.0.3/crtbeginS.o  .libs/config.o .libs/container.o .libs/demo.o .libs/dlmalloc.o .libs/file_util.o .libs/image.o .libs/image_filters.o .libs/jpeg.o .libs/membuf.o .libs/ogl.o .libs/png_helper.o .libs/postscript.o .libs/triangulate_float.o .libs/triangulate_sint32.o .libs/tu_file.o .libs/tu_file_SDL.o .libs/tu_random.o .libs/tu_timer.o .libs/tu_types.o .libs/utf8.o .libs/utility.o .libs/zlib_adapter.o  
> -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib -L/usr/X11R6/lib 
> -L/usr/share/qt3/lib -lGL -lGLU -L/usr/lib /usr/lib/libSDL.so -lpthread 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../.. -L/lib/../lib64 
> -L/usr/lib/../lib64 -lstdc++ -lm -lc 
> -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.0.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crtn.o  
> -Wl,-soname -Wl,libbase.so.0 -o .libs/libbase.so.0.0.0
> /usr/bin/ld: .libs/dlmalloc.o: relocation R_X86_64_32 against `a local symbol' 
> can not be used when making a shared object; recompile with -fPIC
> .libs/dlmalloc.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libbase.la] Error 1
> make[3]: Leaving directory `/home/kikov/sources/gnash-0.7/libbase'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/kikov/sources/gnash-0.7'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/kikov/sources/gnash-0.7'
> make: *** [build-stamp] Error 2
> debuild: fatal error at line 768:
> dpkg-buildpackage failed!
> ---------------
> 
> I don't know what the ".libs/dlmalloc.o: could not read symbols: Bad value" 
> means.
> 
> Any clue?
> 
> BTW, 
> gcc (GCC) 4.0.3 20060104 (prerelease) (Debian 4.0.2-6)
> ldd (GNU libc) 2.3.5
> GNU ld versión 2.16.91 20051214 Debian GNU/Linux
> 
> 
> Thx.



Reply to: