bugGnash - The GNU Flash player - Bugs: bug #23833, bzr-head fails to build in...

 
 

bug #23833: bzr-head fails to build in render_handler_cairo.cpp

Submitted by:  Ed Martin <edman007>
Submitted on:  Sun 13 Jul 2008 09:04:20 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 20 Jul 2008 06:30:35 AM UTC, comment #3:

Committed Ed's patch to trunk (rev. 9504)

Sandro Santilli <strk>
Project Member
Fri 18 Jul 2008 10:38:14 AM UTC, comment #2:

I was messing around with it trying to get it to build and found that it only needed a small change to (patch attached), however even with this it does not work with youtube right (maybe do to something else?). it kinda starts playing and the audio works, but i get no video (its stuck at something that looks like how its suppose to look in the end)

(file #16140)

Ed Martin <edman007>
Mon 14 Jul 2008 01:18:55 AM UTC, comment #1:

fallout presumably from recent geometry work.

Bastiaan Jacques <bjacques>
Project MemberIn charge of this item.
Sun 13 Jul 2008 09:04:20 AM UTC, original submission:

configure options:

$ ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/gnash-bzr --enable-gui=gtk --enable-renderer=cairo --enable-jpeg --enable-freetype2 --enable-fontconfig --enable-Xft --enable-gstreamer --enable-media=GST

build error (make -j10, so the gcc commands are out of order):

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/X11R6/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -O3 -fPIC -march=native -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wextra -ansi -fvisibility-inlines-hidden -MT render_handler_cairo.lo -MD -MP -MF .deps/render_handler_cairo.Tpo -c render_handler_cairo.cpp -fPIC -DPIC -o .libs/render_handler_cairo.o
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/X11R6/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -O3 -fPIC -march=native -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wextra -ansi -fvisibility-inlines-hidden -MT PathParser.lo -MD -MP -MF .deps/PathParser.Tpo -c PathParser.cpp -fPIC -DPIC -o .libs/PathParser.o
PathParser.cpp:47: warning: unused parameter 'mat'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/X11R6/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -O3 -fPIC -march=native -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wextra -ansi -fvisibility-inlines-hidden -MT PathParser.lo -MD -MP -MF .deps/PathParser.Tpo -c PathParser.cpp -o PathParser.o >/dev/null 2>&1
render_handler_cairo.cpp:169: warning: unused parameter 'fill_type'
render_handler_cairo.cpp: In member function 'virtual void gnash::render_handler_cairo::begin_display(const gnash::rgba&, int, int, int, int, float, float, float, float)':
render_handler_cairo.cpp:581: error: expected initializer before '<' token
render_handler_cairo.cpp:582: error: 'range' was not declared in this scope
render_handler_cairo.cpp:585: error: 'range' was not declared in this scope
render_handler_cairo.cpp:592: error: 'range' was not declared in this scope
render_handler_cairo.cpp: At global scope:
render_handler_cairo.cpp:661: warning: unused parameter 'masked'
render_handler_cairo.cpp:697: warning: unused parameter 'enable'
make[2]: *** [render_handler_cairo.lo] Error 1
make[2]: Leaving directory `/mnt/ram/gnash-bzr/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/ram/gnash-bzr'
make: *** [all] Error 2

Ed Martin <edman007>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #16140:  gnash-compile-fix-cairo.diff added by edman007 (486B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by edman007 (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 21 Jul 2008 01:58:45 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 20 Jul 2008 06:30:35 AM UTCstrkStatusNone=>Ready For Test
    Fri 18 Jul 2008 10:38:14 AM UTCedman007Attached File-=>Added gnash-compile-fix-cairo.diff, #16140
    Mon 14 Jul 2008 01:18:55 AM UTCbjacquesAssigned toNone=>bjacques

    Back to the top


    Powered by Savane 3.1-cleanup1