bugGnash - The GNU Flash player - Bugs: bug #16646, build failure: gnash.cpp:191:...

 
 

bug #16646: build failure: gnash.cpp:191: error: 'movie_state_e' does not name a type

Submitted by:  Timo Lindfors <lindi>
Submitted on:  Sun 21 May 2006 12:07:27 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: 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.

 

(Jump to the original submission Jump to the original submission)

Wed 24 May 2006 04:14:32 PM UTC, comment #10:

uhh i'm not sure actually if i ran autogen.sh before i saved that output. But what I AM sure of is that i have ran autogen.sh before configure before. The reason i am sure of this is that i am trying to compile with a script which runs ./autogen.sh and ./configure after eachother. When i atatched the ./configure output i just ran ./configure --can't-remember >> configure_output but i'm not sure if i did that after i had deleted and re-uncompressed the directory.

Anyway regardless, whatever you did now, it now works! :D

running cvs today make completed succesfully.

kong kull <nut543>
Wed 24 May 2006 08:05:01 AM UTC, comment #9:

Looking at the configure output it seems you didn't run ./autogen.sh after update, can you confirm ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 23 May 2006 09:50:20 PM UTC, comment #8:

here's the configure output. I just tried installing 1.2.0 of gtkglext from 1.0.6 i think but that didn't work either.

kong kull <nut543>
Tue 23 May 2006 09:28:25 PM UTC, comment #7:

i still get the same error:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../libbase -I../backend -I../libgeometry -I/usr/include -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/libxml2 -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/atk-1.0 -DQT_THREAD_SUPPORT -D_REENTRANT -march=i686 -O2 -pipe -ansi -Wall -MT gnash.o -MD -MP -MF ".deps/gnash.Tpo" -c -o gnash.o gnash.cpp; \
then mv -f ".deps/gnash.Tpo" ".deps/gnash.Po"; else rm -f ".deps/gnash.Tpo"; exit 1; fi
gnash.cpp:191: error: 'movie_state_e' does not name a type
gnash.cpp: In function 'int main(int, char**)':
gnash.cpp:267: error: 'GdkGLConfigMode' was not declared in this scope
gnash.cpp:267: error: expected `;' before 'glcmode'
gnash.cpp:274: error: 'gtk_gl_init' was not declared in this scope
gnash.cpp:275: error: 'gdk_gl_query_version' was not declared in this scope
gnash.cpp:278: error: 'glcmode' was not declared in this scope
gnash.cpp:278: error: 'GDK_GL_MODE_RGB' was not declared in this scope
gnash.cpp:279: error: 'GDK_GL_MODE_DEPTH' was not declared in this scope
gnash.cpp:280: error: 'GDK_GL_MODE_DOUBLE' was not declared in this scope
gnash.cpp:281: error: 'glconfig' was not declared in this scope
gnash.cpp:281: error: 'gdk_gl_config_new_by_mode' was not declared in this scope
gnash.cpp:567: error: 'delete_event' was not declared in this scope
gnash.cpp:569: error: 'key_press_event' was not declared in this scope
gnash.cpp:580: error: 'GDK_GL_RGBA_TYPE' was not declared in this scope
gnash.cpp:580: error: 'gtk_widget_set_gl_capability' was not declared in this scope
gnash.cpp:581: error: 'realize_event' was not declared in this scope
gnash.cpp:583: error: 'configure_event' was not declared in this scope
gnash.cpp:585: error: 'expose_event' was not declared in this scope
gnash.cpp:587: error: 'unrealize_event' was not declared in this scope
gnash.cpp:597: error: 'popup_handler' was not declared in this scope
gnash.cpp:602: error: 'add_menuitems' was not declared in this scope
gnash.cpp:605: error: 'button_press_event' was not declared in this scope
gnash.cpp:607: error: 'button_release_event' was not declared in this scope
gnash.cpp:609: error: 'motion_notify_event' was not declared in this scope
gnash.cpp:851: error: 'movie_menu_state' was not declared in this scope
gnash.cpp:852: error: 'PLAY_MOVIE' was not declared in this scope
gnash.cpp:856: error: 'RESTART_MOVIE' was not declared in this scope
gnash.cpp:859: error: 'STOP_MOVIE' was not declared in this scope
gnash.cpp:862: error: 'PAUSE_MOVIE' was not declared in this scope
gnash.cpp:870: error: 'STEP_BACKWARD' was not declared in this scope
gnash.cpp:874: error: 'STEP_FORWARD' was not declared in this scope
gnash.cpp:878: error: 'JUMP_BACKWARD' was not declared in this scope
gnash.cpp:882: error: 'JUMP_FORWARD' was not declared in this scope
gnash.cpp:887: error: 'QUIT_MOVIE' was not declared in this scope
gnash.cpp:893: error: 'movie_menu_state' was not declared in this scope
gnash.cpp:893: error: 'IDLE_MOVIE' was not declared in this scope
gnash.cpp:905: error: 'glcontext' was not declared in this scope
gnash.cpp:905: error: 'gtk_widget_get_gl_context' was not declared in this scope
gnash.cpp:906: error: 'GdkGLDrawable' was not declared in this scope
gnash.cpp:906: error: 'gldrawable' was not declared in this scope
gnash.cpp:906: error: 'gtk_widget_get_gl_drawable' was not declared in this scope
gnash.cpp:907: error: 'gdk_gl_drawable_gl_begin' was not declared in this scope
gnash.cpp:926: error: 'gdk_gl_drawable_is_double_buffered' was not declared in this scope
gnash.cpp:927: error: 'gdk_gl_drawable_swap_buffers' was not declared in this scope
gnash.cpp:932: error: 'gdk_gl_drawable_gl_end' was not declared in this scope
gnash.cpp: At global scope:
gnash.cpp:183: warning: 's_antialiased' defined but not used
make[2]: *** [gnash.o] Error 1
make[2]: Leaving directory `/home/kris/gnash-cvs/src/gnash-build/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kris/gnash-cvs/src/gnash-build'
make: *** [all] Error 2

kong kull <nut543>
Tue 23 May 2006 08:35:02 PM UTC, comment #6:

I committed a fix for a couple of cases, let me know
if there are still problems, remember to include ./configure output

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 23 May 2006 06:50:45 PM UTC, comment #5:

I've finally installed libgtkglext1-dev to check this.
The macros/gtkglext.m4 file is broken, I'm working on it.
You shouldnt' need the C++ wrapper I was talking about.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 23 May 2006 05:47:30 PM UTC, comment #4:

Maybe you need this:
libgtkglextmm1-dev - C++ wrapper for the OpenGL Extension to GTK (development files)

But I dunno. I'm not installing the packages so that
I can verify things work when those are not available.

Another approach (rather then trial and error) is to
check macros/gtkglext.m4 macro and ./configure output
to see what's seeked.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 23 May 2006 04:58:37 PM UTC, comment #3:

for what it's worth i get the same error.

I'm using archlinux.

kris|~$ pacman -Qs gtkgl

local/gtkglarea 1.2.3-2
GTK/GL Area libraries
local/gtkglext 1.0.6-4
opengl extensions for gtk2
local/gtkglextmm 1.1.0-1
Cpp C++ bindings for gtkglext

So i should have gtkgl no? there is no extra -devel packages in archlinux.

i have two monitors and use qingy not agetty if that matters.

kong kull <nut543>
Mon 22 May 2006 07:12:12 PM UTC, comment #2:

I tried the currenct CVS and got

...
Ogg flags are: default include path
Ogg libs are: -logg
Opengl flags are: default include path
Opengl libs are: -lGL -lGLU
ERROR: No GtkGLext development package installed! You need to have the GtkGLext development package installed to build the GTK gui. Try --with-gui=sdl or install libgtkglext1-dev (using apt-get) or gtkglext-devel (using yum).
Gtk2 flags are: -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
Gtk2 libs are: -lgtk-x11-2.0 -lgdk-x11-2.0
Pango flags are: -I/usr/include/pango-1.0

...

However, I already have libgtkglext1-dev installed:

ii libgtkglext1-dev 1.0.6-2.1+b1 OpenGL Extension to GTK (development files)

Timo Lindfors <lindi>
Mon 22 May 2006 06:02:28 PM UTC, comment #1:

This could be that you don't have libgtkgl installed. Try with current CVS as it should tell you (./autogen.sh; ./configure)
Let me know if this is not the case.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sun 21 May 2006 12:07:27 PM UTC, original submission:

Steps to reproduce:
1) cvs -z3 -d:pserver:anonymous@cvs.gnu.org:/sources/gnash co gnash
2) cd gnash
3) ./autogen.sh
4) ./configure
5) make

Expected results:
5) gnash should build successfully and backend/gnash should be created.

Actual results:
5) Build fails with the following messages:

...
creating libgnashbackend.la
(cd .libs && rm -f libgnashbackend.la && ln -s ../libgnashbackend.la libgnashbackend.la)
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../libbase -I../backend -I../libgeometry -I/usr/include -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/libxml2 -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/atk-1.0 -DQT_THREAD_SUPPORT -D_REENTRANT -g -O2 -ansi -Wall -MT gnash.o -MD -MP -MF ".deps/gnash.Tpo" -c -o gnash.o gnash.cpp; \
then mv -f ".deps/gnash.Tpo" ".deps/gnash.Po"; else rm -f ".deps/gnash.Tpo"; exit 1; fi
gnash.cpp:191: error: 'movie_state_e' does not name a type
gnash.cpp: In function 'int main(int, char**)':
gnash.cpp:267: error: 'GdkGLConfigMode' was not declared in this scope
gnash.cpp:267: error: expected `;' before 'glcmode'
gnash.cpp:274: error: 'gtk_gl_init' was not declared in this scope
gnash.cpp:275: error: 'gdk_gl_query_version' was not declared in this scope
gnash.cpp:278: error: 'glcmode' was not declared in this scope
gnash.cpp:278: error: 'GDK_GL_MODE_RGB' was not declared in this scope
gnash.cpp:279: error: 'GDK_GL_MODE_DEPTH' was not declared in this scope
gnash.cpp:280: error: 'GDK_GL_MODE_DOUBLE' was not declared in this scope
...
[many more errors follow]

I am using debian unstable on x86. Full output from steps 1-5 is attached.

Timo Lindfors <lindi>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #10038:  configure_output added by nut543 (30KiB - application/octet-stream - configure output)
file #10024:  gnash-buildlog-2006-05-20.txt added by lindi (192KiB - text/plain - full output of steps 1-5)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 24 May 2006 06:17:43 PM UTCstrkStatusReady For Test=>Fixed
  Open/ClosedOpen=>Closed
Tue 23 May 2006 09:50:20 PM UTCnut543Attached File-=>Added configure_output, #10038
Mon 22 May 2006 06:02:28 PM UTCstrkStatusNone=>Ready For Test
  Assigned toNone=>strk
Sun 21 May 2006 12:07:27 PM UTClindiAttached File-=>Added gnash-buildlog-2006-05-20.txt, #10024

Back to the top


Powered by Savane 3.1-cleanup1