bugGnash - The GNU Flash player - Bugs: bug #15912, player.cpp:257: error: invalid use...

 
 

bug #15912: player.cpp:257: error: invalid use of undefined type 'struct gnash::movie_definition'

Submitted by:  Timo Lindfors <lindi>
Submitted on:  Mon 27 Feb 2006 12:26:38 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
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 27 Feb 2006 03:21:44 PM UTC, comment #1:

I just checked in a patch that fixes this. Movie definitions were moved in to a different header file in another checkin yesterday.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 27 Feb 2006 12:26:38 PM UTC, original submission:

Steps to reproduce:
1) cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnash co gnash

2) ./autogen.sh && ./configure --disable-docbook && make

Expected results:
2) gnash should build successfully

Actual results:
2) Build fails with:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../libbase -I../libgeometry -I../server -I./mozilla-sdk -I/usr/include/libxml2 -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin -I/usr/include/mozilla -I/usr/include/mozilla/nspr -I/usr/include/SDL -I/usr/include/SDL -I/usr/X11R6/include -Wall -DPLUGIN_TRACE -DXP_UNIX -DMOZILLA_VERSION=1.7.12 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYP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so -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=1.7 -DMOZILLA_REGION_VERSION=1.7 -DMOZILLA_SKIN_VERSION=1.5 -I.. -I. -I../libbase -I../libgeometry -I../server -I./mozilla-sdk -I/usr/include/libxml2 -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin -I/usr/include/mozilla -I/usr/include/mozilla/nspr -I/usr/include/SDL -I/usr/include/SDL -I/usr/X11R6/include -g -O2 -MT player.lo -MD -MP -MF .deps/player.Tpo -c player.cpp -fPIC -DPIC -o .libs/player.o
./mozilla-sdk/pluginbase.h:35: warning: 'class nsPluginInstanceBase' has virtual functions but non-virtual destructor
player.cpp: In function 'int main_loop(nsPluginInstance*)':
player.cpp:257: error: invalid use of undefined type 'struct gnash::movie_definition'
../server/gnash.h:66: error: forward declaration of 'struct gnash::movie_definition'
player.cpp:272: error: invalid use of undefined type 'struct gnash::movie_definition'
../server/gnash.h:66: error: forward declaration of 'struct gnash::movie_definition'
player.cpp:124: warning: unused variable 'do_loop'
player.cpp:125: warning: unused variable 'sdl_abort'
player.cpp:219: warning: unused variable 'last_logged_fps'
player.cpp: In function 'int playerThread(void*)':
player.cpp:355: warning: unused variable 'retries'
player.cpp: At global scope:
player.cpp:289: warning: 'int runThread(void*)' defined but not used
player.cpp:66: warning: 's_antialiased' defined but not used
player.cpp:67: warning: 's_bit_depth' defined but not used
player.cpp:69: warning: 's_background' defined but not used
player.cpp:70: warning: 's_measure_performance' defined but not used
player.cpp:71: warning: 's_event_thread' defined but not used
make[3]: *** [player.lo] Error 1
make[3]: Leaving directory `/home/lindi/local/gnash/gnash/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lindi/local/gnash/gnash/plugin'
make[1]: *** [all-recursive] Error 1

$ g++ --version
g++ (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) processor
stepping : 2
cpu MHz : 701.604
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1399.19

Timo Lindfors <lindi>

 

(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

 

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

Date Changed By Updated Field Previous Value => Replaced By
Mon 27 Feb 2006 03:21:44 PM UTCrsavoyeStatusNone=>Fixed
  Assigned toNone=>rsavoye
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1