gnash
[Top][All Lists]
Advanced

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

[Gnash] Building problems on Debian AMD64


From: Mahesh T. Pai
Subject: [Gnash] Building problems on Debian AMD64
Date: Tue, 14 Feb 2006 17:21:21 +0530
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50

I am trying to build gnash on Debian AMD64 sid/unstable.

I got the  cvs, ran ./autogen.sh, and then  ./configure and then make.
SInce the build pocess exited with some errors, I did `make distclean'
which gave the following error

<output of ./autogen.sh - second run>
$ ./autogen.sh
processing .
Running aclocal -I macros  ...
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
</end>

Here are last few lines of the ./configure command (again second run)

configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbase/Makefile
config.status: creating libgeometry/Makefile
config.status: creating server/Makefile
config.status: creating libamf/Makefile
config.status: creating backend/Makefile
config.status: creating utilities/Makefile
config.status: creating plugin/Makefile
config.status: creating plugin/mozilla-sdk/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/Doxyfile
config.status: creating testsuite/Makefile
config.status: creating testsuite/actionscript.all/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Configurable options are:
        Intel 810 LOD bias hack disabled (default)
        MP3 (libmad) support disabled (default). Use --enable-mp3 to enable
        POSIX Threads support enabled
        Web server support disabled (default)
        DMalloc support disabled (default)
        XML and XMLSocket enabled (default)
        Firefox plugin enabled (default)
        GNOME help disabled (default)
        Unit testing support enabled (default)

Configured paths for x86_64-unknown-linux-gnu are:
        DocBook document processing enabled
        Docbook styles sheets in /usr/share/xml/docbook/stylesheet/nwalsh
        XML flags are: -I/usr/include/libxml2
        XML libs are: -L/usr/lib -lxml2 -lz -lm
        PNG flags are: default include path
        PNG libs are: -lpng
        JPEG flags are: default include path
        JPEG libs are: -ljpeg
        OGG flags are: default include path
        OGG libs are: -logg -logg
        OPENGL flags are: default include path
        Opengl libs are: -lGL -lGLU
        SDL flags are: -I/usr/include/SDL -D_REENTRANT
        SDL libs are: -L/usr/lib -lSDL -lpthread
        SDL_Mixer flags are: -I/usr/include/SDL
        SDL_Mixer libs are: -lSDL_mixer
        Firefox flags are: -I/usr/include/mozilla/java 
-I/usr/include/mozilla/plugin -I/usr/include/mozilla -I/usr/include/mozilla/nspr
        Firefox libs are: -L/usr/lib/mozilla
        Plugin will be installed in /usr/lib/mozilla/plugins
        POSIX Threads flags are: default include path
        POSIX Threads libs are: -lpthreads
        You have all the DocBook2X tools installed.
        You have version 0.8.3 of the DocBook2X tools.

The actual error on running `make' is:


creating libgnashgeo.la
(cd .libs && rm -f libgnashgeo.la && ln -s ../libgnashgeo.la libgnashgeo.la)
make[2]: Leaving directory `/home/paivakil/cvslocal/gnash/libgeometry'
Making all in libamf
make[2]: Entering directory `/home/paivakil/cvslocal/gnash/libamf'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I.. -I. -I../server -Wall  -g -O2 -I/usr/include/SDL -D_REENTRANT -I.. -I. 
-I../server -g -O2 -MT amf.lo -MD -MP -MF ".deps/amf.Tpo" -c -o amf.lo amf.cpp; 
\
        then mv -f ".deps/amf.Tpo" ".deps/amf.Plo"; else rm -f ".deps/amf.Tpo"; 
exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../server -Wall -g -O2 
-I/usr/include/SDL -D_REENTRANT -I.. -I. -I../server -g -O2 -MT amf.lo -MD -MP 
-MF .deps/amf.Tpo -c amf.cpp  -fPIC -DPIC -o .libs/amf.o
amf.cpp: In member function 'int amf::AMF::readElement(void*, void*)':
amf.cpp:128: warning: format '%lld' expects type 'long long int', but argument 
2 has type 'amf::amfnum_t'
amf.cpp:178: warning: format '%lld' expects type 'long long int', but argument 
2 has type 'amf::amfnum_t'
amf.cpp:182: warning: unused variable 'length'
amf.cpp:125: warning: enumeration value 'Unsupported' not handled in switch
amf.cpp:125: warning: enumeration value 'Recordset' not handled in switch
amf.cpp:125: warning: enumeration value 'XMLObject' not handled in switch
amf.cpp:125: warning: enumeration value 'TypedObject' not handled in switch
amf.cpp: In member function 'int amf::AMF::extractElementLength(void*)':
amf.cpp:402: error: cast from 'char*' to 'int' loses precision
amf.cpp:402: error: cast from 'char*' to 'int' loses precision
amf.cpp:420: error: cast from 'char*' to 'int' loses precision
amf.cpp:420: error: cast from 'char*' to 'int' loses precision
amf.cpp:448: error: cast from 'char*' to 'int' loses precision
amf.cpp:448: error: cast from 'char*' to 'int' loses precision
make[2]: *** [amf.lo] Error 1
make[2]: Leaving directory `/home/paivakil/cvslocal/gnash/libamf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paivakil/cvslocal/gnash'
make: *** [all] Error 2

What is wrong here?

gcc version is 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)

I can send the configure.log; but it is 56K. 

-- 
Mahesh T. Pai   ||  http://paivakil.blogspot.com
DICTIONARY, n.  A malevolent literary device for cramping the
  growth of a language and making it hard and inelastic.





reply via email to

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