gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] gnash build issues


From: David Howe
Subject: [Gnash-dev] gnash build issues
Date: Tue, 21 Nov 2006 09:28:16 +1100
User-agent: Icedove 1.5.0.7 (X11/20061014)

Hi all

I downloaded via cvs gnash on 18/11/06 and after added the suggested libraries tried a build.

my machine: (Debian PPC - testing)
address@hidden:~$ cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1249.999995MHz
revision        : 0.2 (pvr 8003 0102)
bogomips        : 83.20
timebase        : 41620907
platform        : PowerMac
machine         : PowerMac10,1
motherboard     : PowerMac10,1 MacRISC3 Power Macintosh
detected as     : 287 (Mac mini)
pmac flags      : 00000010
L2 cache        : 512K unified
pmac-generation : NewWorld

address@hidden:~$ uname -a
Linux MacMini 2.6.17-2-powerpc #1 Wed Sep 13 16:30:39 CEST 2006 ppc GNU/Linux

The autogen.sh ran without incident (after adding the right libs).

./configure produced this final output:

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
       POSIX Threads support enabled (default)
       Web server support disabled (default)
       DMalloc support disabled (default). Use --enable-dmalloc to enable.
       XML and XMLSocket enabled (default). Use --disable-xml to disable.
       Firefox plugin enabled (default). Use --disable-plugin to disable.
       Konqueror plugin disabled.
       GNOME help disabled (default). Use --enable-ghelp to enable.
       Unit testing support disabled
       Renderer engine: opengl
       GUI: gtk
       Sound handler: none

Configured paths for powerpc-unknown-linux-gnu are:
       DocBook document processing disabled (default)
       XML flags are: -I/usr/include/libxml2
       XML libs are:  -lxml2
       JPEG flags are: default include path
       JPEG libs are: -ljpeg
       OpenGL flags are: default include path
       OpenGL libs are: -lGL -lGLU
GtkGLExt flags are: -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 GtkGLExt libs are: -Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.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 GTK2 flags are: -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 are: -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 flags are: -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include Pango libs are: -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
       GLib flags are: -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
       GLib libs are: -lglib-2.0
ATK flags are: -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
       ATK libs are: -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
       Plugin will be installed in /root/.firefox/plugins
       POSIX Threads lib is:
       This version of libCurl doesn't have RTMP support
       CURL flags are: -I/usr/include
       CURL libs are: -lcurl
       BOOST flags are: -I/usr/include
       BOOST libs are:

I was a little concerned about the lack of a sound handler but....make produced a bigger headache:

MacMini:/home/david/gnash# make
make  all-recursive
make[1]: Entering directory `/home/david/gnash'
Making all in libltdl
make[2]: Entering directory `/home/david/gnash/libltdl'
cd . && /bin/sh /home/david/gnash/libltdl/missing --run autoheader
rm -f stamp-h1
touch config-h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[3]: Entering directory `/home/david/gnash/libltdl'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdl.la -rpath /usr/local/lib -no-undefined -version-info 4:4:1 ltdl.lo -ldl gcc -shared .libs/ltdl.o -ldl -Wl,-soname -Wl,libltdl.so.3 -o .libs/libltdl.so.3.1.4
(cd .libs && rm -f libltdl.so.3 && ln -s libltdl.so.3.1.4 libltdl.so.3)
(cd .libs && rm -f libltdl.so && ln -s libltdl.so.3.1.4 libltdl.so)
ar cru .libs/libltdl.a  ltdl.o
ranlib .libs/libltdl.a
creating libltdl.la
(cd .libs && rm -f libltdl.la && ln -s ../libltdl.la libltdl.la)
make[3]: Leaving directory `/home/david/gnash/libltdl'
make[2]: Leaving directory `/home/david/gnash/libltdl'
Making all in libbase
make[2]: Entering directory `/home/david/gnash/libbase'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT config.lo -MD -MP -MF ".deps/config.Tpo" -c -o config.lo config.cpp; \ then mv -f ".deps/config.Tpo" ".deps/config.Plo"; else rm -f ".deps/config.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT config.lo -MD -MP -MF .deps/config.Tpo -c config.cpp -fPIC -DPIC -o .libs/config.o if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT container.lo -MD -MP -MF ".deps/container.Tpo" -c -o container.lo container.cpp; \ then mv -f ".deps/container.Tpo" ".deps/container.Plo"; else rm -f ".deps/container.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT container.lo -MD -MP -MF .deps/container.Tpo -c container.cpp -fPIC -DPIC -o .libs/container.o if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT image.lo -MD -MP -MF ".deps/image.Tpo" -c -o image.lo image.cpp; \ then mv -f ".deps/image.Tpo" ".deps/image.Plo"; else rm -f ".deps/image.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT image.lo -MD -MP -MF .deps/image.Tpo -c image.cpp -fPIC -DPIC -o .libs/image.o if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT image_filters.lo -MD -MP -MF ".deps/image_filters.Tpo" -c -o image_filters.lo image_filters.cpp; \ then mv -f ".deps/image_filters.Tpo" ".deps/image_filters.Plo"; else rm -f ".deps/image_filters.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT image_filters.lo -MD -MP -MF .deps/image_filters.Tpo -c image_filters.cpp -fPIC -DPIC -o .libs/image_filters.o if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT jpeg.lo -MD -MP -MF ".deps/jpeg.Tpo" -c -o jpeg.lo jpeg.cpp; \ then mv -f ".deps/jpeg.Tpo" ".deps/jpeg.Plo"; else rm -f ".deps/jpeg.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include/libxml2 -I/usr/include -I/usr/include -I../libltdl -g -O2 -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT jpeg.lo -MD -MP -MF .deps/jpeg.Tpo -c jpeg.cpp -fPIC -DPIC -o .libs/jpeg.o
jpeg.cpp:19:21: error: jpeglib.h: No such file or directory
jpeg.cpp:39: error: field 'm_pub' has incomplete type
jpeg.cpp:58: error: 'j_decompress_ptr' has not been declared
jpeg.cpp:64: error: 'boolean' does not name a type
jpeg.cpp:109: error: 'j_decompress_ptr' has not been declared
jpeg.cpp:129: error: 'j_decompress_ptr' has not been declared
jpeg.cpp:155: error: 'JOCTET' does not name a type
jpeg.cpp: In constructor 'jpeg::rw_source::rw_source(tu_file*)':
jpeg.cpp:49: error: 'm_pub' was not declared in this scope
jpeg.cpp:50: error: 'fill_input_buffer' was not declared in this scope
jpeg.cpp:52: error: 'jpeg_resync_to_restart' was not declared in this scope
jpeg.cpp: In static member function 'static void jpeg::rw_source::init_source(int)':
jpeg.cpp:60: error: base operand of '->' is not a pointer
jpeg.cpp: In static member function 'static void jpeg::rw_source::skip_input_data(int, long int)':
jpeg.cpp:113: error: base operand of '->' is not a pointer
jpeg.cpp:119: error: 'class jpeg::rw_source' has no member named 'm_pub'
jpeg.cpp:120: error: 'class jpeg::rw_source' has no member named 'm_pub'
jpeg.cpp:121: error: 'fill_input_buffer' was not declared in this scope
jpeg.cpp:124: error: 'class jpeg::rw_source' has no member named 'm_pub'
jpeg.cpp:125: error: 'class jpeg::rw_source' has no member named 'm_pub'
jpeg.cpp: In member function 'void jpeg::rw_source::discard_partial_buffer()':
jpeg.cpp:149: error: 'm_pub' was not declared in this scope
jpeg.cpp: In function 'void jpeg::setup_rw_source(jpeg_decompress_struct*, tu_file*)': jpeg.cpp:164: error: invalid use of undefined type 'struct jpeg_decompress_struct'
jpeg.h:15: error: forward declaration of 'struct jpeg_decompress_struct'
jpeg.cpp: At global scope:
jpeg.cpp:173: error: field 'm_pub' has incomplete type
jpeg.cpp:190: error: 'j_compress_ptr' has not been declared
jpeg.cpp:199: error: 'boolean' does not name a type
jpeg.cpp:218: error: 'j_compress_ptr' has not been declared
jpeg.cpp:241: error: 'JOCTET' does not name a type
jpeg.cpp: In constructor 'jpeg::rw_dest::rw_dest(tu_file*)':
jpeg.cpp:182: error: 'm_pub' was not declared in this scope
jpeg.cpp:183: error: 'empty_output_buffer' was not declared in this scope
jpeg.cpp:186: error: 'm_buffer' was not declared in this scope
jpeg.cpp: In static member function 'static void jpeg::rw_dest::init_destination(int)':
jpeg.cpp:192: error: base operand of '->' is not a pointer
jpeg.cpp:195: error: 'class jpeg::rw_dest' has no member named 'm_pub'
jpeg.cpp:195: error: 'class jpeg::rw_dest' has no member named 'm_buffer'
jpeg.cpp:196: error: 'class jpeg::rw_dest' has no member named 'm_pub'
jpeg.cpp: In static member function 'static void jpeg::rw_dest::term_destination(int)':
jpeg.cpp:222: error: base operand of '->' is not a pointer
jpeg.cpp:226: error: 'class jpeg::rw_dest' has no member named 'm_pub'
jpeg.cpp:228: error: 'class jpeg::rw_dest' has no member named 'm_buffer'
jpeg.cpp:237: error: base operand of '->' is not a pointer
jpeg.cpp: At global scope:
jpeg.cpp:245: error: variable or field 'setup_rw_dest' declared void
jpeg.cpp:245: error: 'int jpeg::setup_rw_dest' redeclared as different kind of symbol jpeg.cpp:28: error: previous declaration of 'void jpeg::setup_rw_dest(jpeg_compress_struct*, tu_file*)'
jpeg.cpp:245: error: 'j_compress_ptr' was not declared in this scope
jpeg.cpp:245: error: expected primary-expression before '*' token
jpeg.cpp:245: error: 'outstream' was not declared in this scope
jpeg.cpp:258: error: variable or field 'jpeg_error_exit' declared void
jpeg.cpp:258: error: 'j_common_ptr' was not declared in this scope
jpeg.cpp:260: error: expected ',' or ';' before '{' token
jpeg.cpp:267: error: variable or field 'setup_jpeg_err' declared void
jpeg.cpp:267: error: 'jpeg_error_mgr' was not declared in this scope
jpeg.cpp:267: error: 'jerr' was not declared in this scope
jpeg.cpp:269: error: expected ',' or ';' before '{' token
jpeg.cpp:288: error: field 'm_cinfo' has incomplete type
jpeg.cpp:289: error: field 'm_jerr' has incomplete type
jpeg.cpp: In constructor 'jpeg::input_impl::input_impl(tu_file*)':
jpeg.cpp:303: error: 'm_jerr' was not declared in this scope
jpeg.cpp:303: error: 'jpeg::setup_jpeg_err' cannot be used as a function
jpeg.cpp:304: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:307: error: 'jpeg_create_decompress' was not declared in this scope
jpeg.cpp: In constructor 'jpeg::input_impl::input_impl(jpeg::input_impl::SWF_DEFINE_BITS_JPEG2_HEADER_ONLY, tu_file*)':
jpeg.cpp:325: error: 'm_jerr' was not declared in this scope
jpeg.cpp:325: error: 'jpeg::setup_jpeg_err' cannot be used as a function
jpeg.cpp:326: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:329: error: 'jpeg_create_decompress' was not declared in this scope
jpeg.cpp:334: error: 'FALSE' was not declared in this scope
jpeg.cpp:334: error: 'jpeg_read_header' was not declared in this scope
jpeg.cpp: In destructor 'virtual jpeg::input_impl::~input_impl()':
jpeg.cpp:345: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:350: error: 'jpeg_destroy_decompress' was not declared in this scope jpeg.cpp: In member function 'virtual void jpeg::input_impl::discard_partial_buffer()':
jpeg.cpp:359: error: 'm_cinfo' was not declared in this scope
jpeg.cpp: In member function 'virtual void jpeg::input_impl::start_image()':
jpeg.cpp:389: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:391: error: 'FALSE' was not declared in this scope
jpeg.cpp:391: error: 'jpeg_read_header' was not declared in this scope
jpeg.cpp:394: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:394: error: 'jpeg_start_decompress' was not declared in this scope
jpeg.cpp: In member function 'virtual void jpeg::input_impl::finish_image()':
jpeg.cpp:402: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:402: error: 'jpeg_finish_decompress' was not declared in this scope
jpeg.cpp: In member function 'virtual int jpeg::input_impl::get_height() const':jpeg.cpp:411: error: 'm_cinfo' was not declared in this scope jpeg.cpp: In member function 'virtual int jpeg::input_impl::get_width() const':
jpeg.cpp:418: error: 'm_cinfo' was not declared in this scope
jpeg.cpp: In member function 'int jpeg::input_impl::get_components() const':
jpeg.cpp:427: error: 'm_cinfo' was not declared in this scope
jpeg.cpp: In member function 'virtual void jpeg::input_impl::read_scanline(unsigned char*)':
jpeg.cpp:437: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:438: error: 'jpeg_read_scanlines' was not declared in this scope
jpeg.cpp:442: error: 'JCS_GRAYSCALE' was not declared in this scope
jpeg.cpp: At global scope:
jpeg.cpp:485: error: field 'm_cinfo' has incomplete type
jpeg.cpp:486: error: field 'm_jerr' has incomplete type
jpeg.cpp: In constructor 'jpeg::output_impl::output_impl(tu_file*, int, int, int)':
jpeg.cpp:492: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:492: error: 'm_jerr' was not declared in this scope
jpeg.cpp:492: error: 'jpeg_std_error' was not declared in this scope
jpeg.cpp:495: error: 'jpeg_create_compress' was not declared in this scope
jpeg.cpp:501: error: 'JCS_RGB' was not declared in this scope
jpeg.cpp:502: error: 'jpeg_set_defaults' was not declared in this scope
jpeg.cpp:503: error: 'TRUE' was not declared in this scope
jpeg.cpp:503: error: 'jpeg_set_quality' was not declared in this scope
jpeg.cpp:505: error: 'jpeg_start_compress' was not declared in this scope
jpeg.cpp: In destructor 'virtual jpeg::output_impl::~output_impl()':
jpeg.cpp:512: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:512: error: 'jpeg_finish_compress' was not declared in this scope
jpeg.cpp:518: error: 'jpeg_destroy_compress' was not declared in this scope
jpeg.cpp: In member function 'virtual void jpeg::output_impl::write_scanline(unsigned char*)':
jpeg.cpp:525: error: 'm_cinfo' was not declared in this scope
jpeg.cpp:525: error: 'jpeg_write_scanlines' was not declared in this scope
make[2]: *** [jpeg.lo] Error 1
make[2]: Leaving directory `/home/david/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/gnash'
make: *** [all] Error 2

To me it looks like a problem with jpeg.cpp which is part of the gnash set. The error at the top "jpeg.cpp:19:21: error: jpeglib.h: No such file or directory" makes me think the header files for jpeglib are missing, they aren't in libbase and a quick look at my options with debian doesn't reveal a jpeglib but there is a libjpeg62. Will this help?

david




reply via email to

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