Tue 17 Apr 2007 12:06:16 AM UTC, comment #1:
Make dumpconfig, as requested by rsavoye:
darkapostrophe@kobra:~/downloads/gnash$ make dumpconfig
Building in directories: libltdl libbase libgeometry libamf server backend utilities gui testsuite po plugin cygnal
Some directories may be excluded from the build
Linux kobra 2.6.20.4-kobra #1 SMP Thu Mar 29 00:33:45 CEST 2007 x86_64 GNU/Linux
g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Image decoding support...
JPEG_CFLAGS is
JPEG_LIBS is -L/usr/lib64 -ljpeg
PNG_CFLAGS is
PNG_LIBS is
Audio decoding support...
FFMPEG_CFLAGS is -I/usr/include/ffmpeg
FFMPEG_LIBS is -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control
OGG_CFLAGS is
OGG_LIBS is
GUI Toolkit decoding support...
SDL_CFLAGS is -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
SDL_LIBS is -lSDL
GTK2_CFLAGS is -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
GTK2_LIBS is -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
PANGO_CFLAGS is -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
PANGO_LIBS is -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
ATK_CFLAGS is -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
ATK_LIBS is -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
X11_CFLAGS is
X11_LIBS is -lX11
Support libraries...
INCLTDL
LIBLTDL -lltdl
GLIB_CFLAGS is -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GLIB_LIBS is -lglib-2.0
Z_CFLAGS is
Z_LIBS is -L/usr/lib64 -lz
LIBXML_CFLAGS is -I/usr/include/libxml2
LIBXML_LIBS is -lxml2
PTHREAD_CFLAGS is -pthread
PTHREAD_LIBS is -L/usr/lib64 -lpthread
CURL_CFLAGS is
CURL_LIBS is -L/usr/lib -lcurl
BOOST_CFLAGS is
BOOST_LIBS is -L/usr/lib64 -lboost_thread -lboost_date_time
MTASC /usr/bin/mtasc
MTASC CLASSPATH /usr/bin/std
Graphics support...
CAIRO_CFLAGS is -DPNG_NO_MMX_CODE -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12
CAIRO_LIBS is -lcairo
AGG_CFLAGS is -I/usr/include/agg2
AGG_LIBS is -lagg_pic
A blank value for CFLAGS means the header is installed in the
default system header location. All the LIBS should have a
legit value
Configurable options are:
Media handler: ffmpeg
Renderer engine: agg
GUI: gtk2
|
Mon 16 Apr 2007 10:56:38 PM UTC, original submission:
Hello.
Not long ago (a few days ago or so), I updated my ffmpeg, following which Gnash refuses to compile.
I'm running an AMD64 Debian 4.0 system with kernel 2.6.20.4. I asked on IRC, and bjacques told me to post it here.
--
Dark Apostrophe (Feel free to contact me on IRC)
ffmpeg -version
FFmpeg version SVN-r8732, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --enable-gpl --enable-pp --enable-libmp3lame --disable-libgsm --enable-libogg --enable-libtheora --enable-libvorbis --enable-x264 --enable-xvid --disable-v4l --disable-v4l2 --disable-ipv6 --enable-pthreads
libavutil version: 49.4.0
libavcodec version: 51.40.3
libavformat version: 51.12.1
built on Apr 14 2007 20:43:34, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
ffmpeg SVN-r8732
libavutil 3212288
libavcodec 3352579
libavformat 3345409
The gnash compile options were:
./configure --disable-klash --enable-renderer=Agg --enable-media=ffmpeg --enable-write
The error:
/usr/include/agg2/agg_gradient_lut.h:213: warning: 'end' may be used uninitialized in this function
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -o libgnashbackend.la -rpath /usr/local/lib -avoid-version render_handler_tri.lo render_handler_agg.lo sound_handler.lo sound_handler_sdl.lo ../libbase/libgnashbase.la ../server/libgnashserver.la -lglib-2.0 -L/usr/lib64 -ljpeg -L/usr/lib64 -lz -lSDL -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib64 -lpthread -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -lagg_pic -lrt -lX11 -lXi -lm
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtbeginS.o .libs/render_handler_tri.o .libs/render_handler_agg.o .libs/sound_handler.o .libs/sound_handler_sdl.o -Wl,--rpath -Wl,/home/darkapostrophe/downloads/gnash/libbase/.libs -Wl,--rpath -Wl,/home/darkapostrophe/downloads/gnash/server/.libs -Wl,--rpath -Wl,/usr/local/lib ../libbase/.libs/libgnashbase.so ../server/.libs/libgnashserver.so -L/usr/lib64 /usr/lib/libjpeg.so /usr/lib/libSDL.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lpthread -ldts -lavformat -lavcodec -lz /usr/lib/libmp3lame.so -lxvidcore -lx264 -ldl /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -lavutil /usr/lib/libtheora.so /usr/lib/libogg.so -ldc1394_control -lagg_pic -lrt -lX11 -lXi -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crtn.o -pthread -march=athlon64 -Wl,-soname -Wl,libgnashbackend.so -o .libs/libgnashbackend.so
creating libgnashbackend.la
(cd .libs && rm -f libgnashbackend.la && ln -s ../libgnashbackend.la libgnashbackend.la)
make[2]: Leaving directory `/home/darkapostrophe/downloads/gnash/backend'
Making all in utilities
make[2]: Entering directory `/home/darkapostrophe/downloads/gnash/utilities'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libgeometry -I../libbase -I../server -I../server/parser -I../server/vm -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o parser.cpp; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libgeometry -I../libbase -I../server -I../server/parser -I../server/vm -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT processor.o -MD -MP -MF ".deps/processor.Tpo" -c -o processor.o processor.cpp; \
then mv -f ".deps/processor.Tpo" ".deps/processor.Po"; else rm -f ".deps/processor.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../libgeometry -I../libbase -I../server -I../server/parser -I../server/vm -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT dumpshm.o -MD -MP -MF ".deps/dumpshm.Tpo" -c -o dumpshm.o dumpshm.cpp; \
then mv -f ".deps/dumpshm.Tpo" ".deps/dumpshm.Po"; else rm -f ".deps/dumpshm.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -lltdl -lxml2 -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -L/usr/lib -lcurl -L/usr/lib64 -lboost_thread -lboost_date_time -L/usr/lib64 -lpthread -o gparser -export-dynamic parser.o ../server/libgnashserver.la ../server/asobj/libgnashasobjs.la ../server/vm/libgnashvm.la ../server/parser/libgnashparser.la ../server/parser/libgnashparser.la ../server/asobj/libgnashasobjs.la ../libbase/libgnashbase.la ../libamf/libgnashamf.la -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -lglib-2.0 -lltdl "-dlopen" self -lrt -lX11 -lXi -lm
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -lltdl -lxml2 -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -L/usr/lib -lcurl -L/usr/lib64 -lboost_thread -lboost_date_time -L/usr/lib64 -lpthread -o dumpshm dumpshm.o ../server/libgnashserver.la ../server/asobj/libgnashasobjs.la ../server/vm/libgnashvm.la ../server/parser/libgnashparser.la ../server/parser/libgnashparser.la ../server/asobj/libgnashasobjs.la ../libbase/libgnashbase.la ../libamf/libgnashamf.la -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -lglib-2.0 -lrt -lX11 -lXi -lm
mkdir .libs
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -lltdl -lxml2 -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -L/usr/lib -lcurl -L/usr/lib64 -lboost_thread -lboost_date_time -L/usr/lib64 -lpthread -o gprocessor -export-dynamic processor.o ../server/libgnashserver.la ../server/asobj/libgnashasobjs.la ../server/vm/libgnashvm.la ../server/parser/libgnashparser.la ../server/parser/libgnashparser.la ../server/asobj/libgnashasobjs.la ../libbase/libgnashbase.la ../libamf/libgnashamf.la -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -ldts -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lz -lmp3lame -lxvidcore -lx264 -ldl -ltheora -lvorbisenc -lavutil -lvorbis -lm -logg -lavutil -ltheora -logg -ldc1394_control -lglib-2.0 -lltdl "-dlopen" self -lrt -lX11 -lXi -lm
g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -o .libs/dumpshm dumpshm.o /usr/lib/libltdl.so /usr/lib/libxml2.so -L/usr/lib /usr/lib/libcurl.so -L/usr/lib64 -lboost_thread -lboost_date_time -lpthread ../server/.libs/libgnashserver.so ../server/vm/.libs/libgnashvm.so ../server/parser/.libs/libgnashparser.so ../server/asobj/.libs/libgnashasobjs.so ../libbase/.libs/libgnashbase.so ../libamf/.libs/libgnashamf.so -ldts -lavformat -lavcodec -lz /usr/lib/libmp3lame.so -lxvidcore -lx264 -ldl /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -lavutil /usr/lib/libtheora.so /usr/lib/libogg.so -ldc1394_control /usr/lib/libglib-2.0.so -lrt -lX11 -lXi -lm -Wl,--rpath -Wl,/usr/local/lib
rm -f .libs/gparser.nm .libs/gparser.nmS .libs/gparser.nmT
creating .libs/gparserS.c
(cd .libs && gcc -g -O2 -c -fno-builtin "gparserS.c")
rm -f .libs/gparserS.c .libs/gparser.nm .libs/gparser.nmS .libs/gparser.nmT
g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -o .libs/gparser parser.o .libs/gparserS.o -Wl,--export-dynamic /usr/lib/libxml2.so -L/usr/lib /usr/lib/libcurl.so -L/usr/lib64 -lboost_thread -lboost_date_time -lpthread ../server/.libs/libgnashserver.so ../server/vm/.libs/libgnashvm.so ../server/parser/.libs/libgnashparser.so ../server/asobj/.libs/libgnashasobjs.so ../libbase/.libs/libgnashbase.so ../libamf/.libs/libgnashamf.so -ldts -lavformat -lavcodec -lz /usr/lib/libmp3lame.so -lxvidcore -lx264 -ldl /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -lavutil /usr/lib/libtheora.so /usr/lib/libogg.so -ldc1394_control /usr/lib/libglib-2.0.so /usr/lib/libltdl.so -lrt -lX11 -lXi -lm -Wl,--rpath -Wl,/usr/local/lib
rm -f .libs/gprocessor.nm .libs/gprocessor.nmS .libs/gprocessor.nmT
creating .libs/gprocessorS.c
(cd .libs && gcc -g -O2 -c -fno-builtin "gprocessorS.c")
rm -f .libs/gprocessorS.c .libs/gprocessor.nm .libs/gprocessor.nmS .libs/gprocessor.nmT
g++ -g -O2 -pthread -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -o .libs/gprocessor processor.o .libs/gprocessorS.o -Wl,--export-dynamic /usr/lib/libxml2.so -L/usr/lib /usr/lib/libcurl.so -L/usr/lib64 -lboost_thread -lboost_date_time -lpthread ../server/.libs/libgnashserver.so ../server/vm/.libs/libgnashvm.so ../server/parser/.libs/libgnashparser.so ../server/asobj/.libs/libgnashasobjs.so ../libbase/.libs/libgnashbase.so ../libamf/.libs/libgnashamf.so -ldts -lavformat -lavcodec -lz /usr/lib/libmp3lame.so -lxvidcore -lx264 -ldl /usr/lib/libvorbisenc.so /usr/lib/libvorbis.so -lavutil /usr/lib/libtheora.so /usr/lib/libogg.so -ldc1394_control /usr/lib/libglib-2.0.so /usr/lib/libltdl.so -lrt -lX11 -lXi -lm -Wl,--rpath -Wl,/usr/local/lib
.../server/asobj/.libs/libgnashasobjs.so: ./server/asobj/.libs/libgnashasobjs.so: undefined reference to `avcodec_decode_audio2'
undefinedcollect2: ld returned 1 exit status
reference to `avcodec_decode_audio2'
collect2: ld returned 1 exit status
make[2]: *** [gparser] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [dumpshm] Error 1
../server/asobj/.libs/libgnashasobjs.so: undefined reference to `avcodec_decode_audio2'
collect2: ld returned 1 exit status
make[2]: *** [gprocessor] Error 1
make[2]: Leaving directory `/home/darkapostrophe/downloads/gnash/utilities'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darkapostrophe/downloads/gnash'
make: *** [all] Error 2
|