bugGnash - The GNU Flash player - Bugs: bug #25675, Gnash do not compile with...

 
 

bug #25675: Gnash do not compile with --enable-media=none

Submitted by:  Christer Corneliusson <coypu>
Submitted on:  Mon 23 Feb 2009 01:43:12 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: trunkStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 23 Feb 2009 07:56:45 PM UTC, comment #3:

Thanks :)
Now its compiles :D

Christer Corneliusson <coypu>
Mon 23 Feb 2009 04:17:41 PM UTC, comment #2:

Chris, this is ready for test. Note that you'll get many failures on 'make check' due to the lack of a sound handler not always being intercepted by the testing framework.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Mon 23 Feb 2009 02:54:33 PM UTC, comment #1:

The compile error is:

make[2]: Entering directory `/home/christec/bzr/trunk/libsound'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../libbase -I../libcore -I../libmedia -pthread -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -MT libgnashsound_la-sound_handler_sdl.lo -MD -MP -MF .deps/libgnashsound_la-sound_handler_sdl.Tpo -c -o libgnashsound_la-sound_handler_sdl.lo `test -f 'sdl/sound_handler_sdl.cpp' || echo './'`sdl/sound_handler_sdl.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libbase -I../libcore -I../libmedia -pthread -g -O2 -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -MT libgnashsound_la-sound_handler_sdl.lo -MD -MP -MF .deps/libgnashsound_la-sound_handler_sdl.Tpo -c sdl/sound_handler_sdl.cpp -fPIC -DPIC -o .libs/libgnashsound_la-sound_handler_sdl.o
In file included from sdl/sound_handler_sdl.cpp:28:
sdl/sound_handler_sdl.h:29:23: error: SDL_audio.h: No such file or directory
sdl/sound_handler_sdl.cpp:39:17: error: SDL.h: No such file or directory
In file included from sdl/sound_handler_sdl.cpp:28:
sdl/sound_handler_sdl.h:50: error: ‘SDL_AudioSpec’ does not name a type
sdl/sound_handler_sdl.h:91: error: ‘Uint8’ has not been declared
sdl/sound_handler_sdl.cpp: In member function ‘void gnash::sound::SDL_sound_handler::initAudio()’:
sdl/sound_handler_sdl.cpp:82: error: ‘audioSpec’ was not declared in this scope
sdl/sound_handler_sdl.cpp:85: error: ‘AUDIO_S16SYS’ was not declared in this scope
sdl/sound_handler_sdl.cpp:98: error: ‘SDL_OpenAudio’ was not declared in this scope
sdl/sound_handler_sdl.cpp:101: error: ‘SDL_GetError’ was not declared in this scope
sdl/sound_handler_sdl.cpp: In destructor ‘virtual gnash::sound::SDL_sound_handler::~SDL_sound_handler()’:
sdl/sound_handler_sdl.cpp:145: error: ‘SDL_PauseAudio’ was not declared in this scope
sdl/sound_handler_sdl.cpp:155: error: ‘SDL_CloseAudio’ was not declared in this scope
sdl/sound_handler_sdl.cpp: In member function ‘void gnash::sound::SDL_sound_handler::write_wave_header(std::ofstream&)’:
sdl/sound_handler_sdl.cpp:296: error: ‘audioSpec’ was not declared in this scope
sdl/sound_handler_sdl.cpp:296: error: ‘AUDIO_S16SYS’ was not declared in this scope
sdl/sound_handler_sdl.cpp: In member function ‘virtual void gnash::sound::SDL_sound_handler::fetchSamples(int16_t*, unsigned int)’:
sdl/sound_handler_sdl.cpp:344: error: ‘SDL_PauseAudio’ was not declared in this scope
sdl/sound_handler_sdl.cpp: At global scope:
sdl/sound_handler_sdl.cpp:350: error: ‘Uint8’ has not been declared
sdl/sound_handler_sdl.cpp: In member function ‘virtual void gnash::sound::SDL_sound_handler::mix(int16_t, int16_t, unsigned int, float)’:
sdl/sound_handler_sdl.cpp:378: error: ‘Uint8’ was not declared in this scope
sdl/sound_handler_sdl.cpp:378: error: ‘out’ was not declared in this scope
sdl/sound_handler_sdl.cpp:378: error: expected type-specifier before ‘Uint8’
sdl/sound_handler_sdl.cpp:378: error: expected `>' before ‘Uint8’
sdl/sound_handler_sdl.cpp:378: error: expected `(' before ‘Uint8’
sdl/sound_handler_sdl.cpp:378: error: expected primary-expression before ‘>’ token
sdl/sound_handler_sdl.cpp:378: error: expected `)' before ‘;’ token
sdl/sound_handler_sdl.cpp:379: error: ‘in’ was not declared in this scope
sdl/sound_handler_sdl.cpp:379: error: expected type-specifier before ‘Uint8’
sdl/sound_handler_sdl.cpp:379: error: expected `>' before ‘Uint8’
sdl/sound_handler_sdl.cpp:379: error: expected `(' before ‘Uint8’
sdl/sound_handler_sdl.cpp:379: error: expected primary-expression before ‘>’ token
sdl/sound_handler_sdl.cpp:379: error: expected `)' before ‘;’ token
sdl/sound_handler_sdl.cpp:382: error: ‘SDL_MIX_MAXVOLUME’ was not declared in this scope
sdl/sound_handler_sdl.cpp:382: error: ‘SDL_MixAudio’ was not declared in this scope
sdl/sound_handler_sdl.cpp: In member function ‘virtual void gnash::sound::SDL_sound_handler::plugInputStream(std::auto_ptr<gnash::sound::InputStream>)’:
sdl/sound_handler_sdl.cpp:395: error: ‘SDL_PauseAudio’ was not declared in this scope
make[2]: *** [libgnashsound_la-sound_handler_sdl.lo] Error 1
make[2]: Leaving directory `/home/christec/bzr/trunk/libsound'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/christec/bzr/trunk'
make: *** [all] Error 2

Christer Corneliusson <coypu>
Mon 23 Feb 2009 01:43:12 PM UTC, original submission:

Gnash compiles with:
./configure --enable-gui=gtk

but not with:
./configure --enable-gui=gtk --enable-media=none

after the the summary of the compile script is:

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
MIT-SHM X extension support disabled (default). Use --enable-mit-shm to enable.
POSIX Threads support enabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
NPAPI plugin enabled (default). Use --disable-npapi to disable.
NPAPI plugin will be installed in /home/christec/.mozilla/plugins
KPARTS 3.x plugin disabled.
KPARTS 4.x plugin disabled.
GNOME help disabled (default). Use --enable-ghelp to enable.
Building Cygnal media server disabled.
Building the Flash debugger is disabled.
Top level for cross compiling support files is:
Enabling security features: localconnection
Enabling statistics collecting for: cache
GUI toolkits supported: gtk
Renderers supported: agg
Media handler: none
Using SDL for sound handling
Using sysv mode for shared memory

Configured paths for i686-pc-linux-gnu are:
DocBook document processing disabled (default)
JPEG flags are: default include path
JPEG libs are: -ljpeg
GIF flags are: default include path
GIF libs are: -lgif
PNG flags are: default include path
PNG libs are: -lpng12
GTK2 flags are: -I/usr/local/include/atk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
GTK2 libs are: -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -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 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -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/local/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 -lglib-2.0
POSIX Threads flags are: -pthread
POSIX Threads lib is: -lpthread
CURL flags are: default include path
CURL libs are: -lcurl
Speex flags are:
Speex libs are: -lspeex
AGG Pixel format is: all
AGG flags are: -I/usr/include/agg2
AGG libs are: -lagg_pic -lagg_pic
BOOST flags are:
BOOST libs are: -lboost_thread-gcc42-mt-1_34_1 -lboost_date_time-gcc42-1_34_1
BOOST Extra libs are: -lboost_serialization-gcc42-1_34_1
MING flags are -I/usr/include
MING libs are -L/usr/lib -lming
MING version code is 00030000
MAKESWF is /usr/bin/makeswf
MTASC is /usr/bin/mtasc
MTASC CLASSPATH is /usr/share/mtasc/std
HAXE is /usr/bin/haxe
HAXE CLASSPATH is /usr/share/haxe/
SWFMILL is /usr/bin/swfmill
SWFC is /usr/bin/swfc
PYTHON is /usr/bin/python
PERL is /usr/bin/perl
CSOUND is /usr/bin/csound
Z flags are: default include path
Z libs are: -lz
FreeType flags are: -I/usr/include/freetype2
FreeType libs are: -lfreetype -lz
Fontconfig flags are:
Fontconfig libs are: -lfontconfig
DEJAGNU's runtest is /usr/bin/runtest

WARNING: without --enable-docbook we will use the cached
documentation files included in the gnash distribution.
If you change files in doc/C, you should --enable-docbook.
WARNING: You have an older version of Ming installed and will not
be able to run all of the tests in Gnash testsuite.
Install the latest version from http://www.libming.org

Gnash should still compile even with these warnings.
If it doesn't, report the warnings as a bug.

I use Ubuntu intrepid

Christer Corneliusson <coypu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Updated the item)
  • -unavailable- added by coypu (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Feb 2009 08:45:37 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 23 Feb 2009 04:17:41 PM UTCstrkStatusIn Progress=>Ready For Test
    Mon 23 Feb 2009 03:18:25 PM UTCstrkStatusNone=>In Progress
      Assigned toNone=>strk

    Back to the top


    Powered by Savane 3.1-cleanup1