gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] Compilation problems


From: stefasab
Subject: [Gnash-dev] Compilation problems
Date: Tue, 4 Aug 2009 09:35:13 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi all,

I'm getting these errors when compiling libcore:

 g++ -DHAVE_CONFIG_H -I. -I.. -I../libamf -I../libnet -I../backend
 -I../libcore/swf -I../libcore/asobj -I../libcore/asobj/flash
 -I../libcore/parser -I../libltdl -I../libcore/vm -I../libbase
 -I../libmedia -I../libsound -I../libamf -pthread
 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
 -I/usr/include/freetype2 -I/home/stefano/include -I../libmedia/ffmpeg
 -I/home/stefano/include -g -O2 -pthread -W -Wall -Wcast-align
 -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused
 -fvisibility-inlines-hidden -MT debugger.lo -MD -MP -MF
 .deps/debugger.Tpo -c debugger.cpp -fPIC -DPIC -o .libs/debugger.o
debugger.cpp: In member function ‘void gnash::Debugger::dumpMovieInfo()’:
debugger.cpp:313: error: invalid use of incomplete type ‘struct 
gnash::Global_as’
./as_value.h:48: error: forward declaration of ‘struct gnash::Global_as’
debugger.cpp: In member function ‘void 
gnash::Debugger::dumpStackFrame(gnash::as_environment&)’:
debugger.cpp:582: error: ‘fn’ was not declared in this scope
debugger.cpp: In member function ‘void* 
gnash::Debugger::lookupSymbol(std::string&)’:
debugger.cpp:702: warning: unused variable ‘vm’
debugger.cpp: In member function ‘void gnash::Debugger::addSymbol(void*, 
std::string)’:
debugger.cpp:720: warning: unused variable ‘vm’
make[2]: *** [debugger.lo] Error 1
make[2]: Leaving directory `/home/stefano/src/gnash/libcore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefano/src/gnash/libcore'
make: *** [all] Error 2

I just updated to the last version, the problems seem to stem from
this:
revno: 11259
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Wed 2009-07-15 12:09:37 +0200
message:
  Fix compiler warnings.
  
  Always pass as Global_as to to_object(). Drop more direct use of
  builtin_function.

but then I wonder why I'm the only one with this issue.

BTW, can you suggest some method for disabling optimization - apart
from manually editing Makefiles and friends? gnash compilation in my
machine is painfully slow, also I would be able to debug the compiled
code.

Regards.




reply via email to

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