Fri 08 Dec 2006 07:00:57 PM UTC, original submission:
Hello,
I'm trying to build klash, but get 2 compilation-errors.
I'm building in 64bit-mode. I have kde 3.5.5 and gcc 4.1.2 installed. I'm running archlinux for x86-64.
I separated the errors by empty lines above and below them:
/bin/sh ../../libtool --tag=CXX --mode=link g++ -march=x86-64 -O2 -pipe -m3dnow -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -o libklashpart.la -rpath /usr/lib/kde3 -avoid-version -L/opt/kde/lib -L/opt/qt/lib -R /usr/lib -R /opt/kde/lib -R /opt/qt/lib klash_part.lo -lrt -lX11 -lXi -lm
g++ -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/crtbeginS.o .libs/klash_part.o -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/opt/kde/lib -Wl,--rpath -Wl,/opt/qt/lib -L/opt/kde/lib -L/opt/qt/lib -lrt -lX11 -lXi -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../crtn.o -march=x86-64 -m3dnow -march=athlon64 -Wl,-soname -Wl,libklashpart.so -o .libs/libklashpart.so
creating libklashpart.la
(cd .libs && rm -f libklashpart.la && ln -s ../libklashpart.la libklashpart.la)
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -I../../server -I../../server/parser -I../../server/asobj -I../../server/vm -I../../libbase -I../../libgeometry -I../../backend -I/usr/include/libxml2 -I/opt/kde/include -I/opt/qt/include -I/opt/kde/include/kio -DUSE_KDE -DQT_THREAD_SUPPORT -march=x86-64 -O2 -pipe -m3dnow -D_REENTRANT -march=x86-64 -O2 -pipe -m3dnow -march=athlon64 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT klash-klash.o -MD -MP -MF ".deps/klash-klash.Tpo" -c -o klash-klash.o `test -f 'klash.cpp' || echo './'`klash.cpp; \
then mv -f ".deps/klash-klash.Tpo" ".deps/klash-klash.Po"; else rm -f ".deps/klash-klash.Tpo"; exit 1; fi
/opt/qt/include/qtextstream.h: In constructor 'QTextIStream::QTextIStream(const QString*)':
/opt/qt/include/qtextstream.h:201: warning: cast from type 'const QString' to type 'QString' casts away constness
/opt/qt/include/qevent.h: In member function 'int QIMEvent::selectionLength() const':
/opt/qt/include/qevent.h:493: warning: cast from type 'const QIMComposeEvent' to type 'QIMComposeEvent' casts away constness
/opt/qt/include/qwidget.h: In member function 'void QWidget::constPolish() const':
/opt/qt/include/qwidget.h:883: warning: cast from type 'const QWidget* const' to type 'QWidget*' casts away constness
klash.cpp: At global scope:
klash.cpp:205: warning: unused parameter 'event'
klash.cpp:231: warning: unused parameter 'movie'
klash.cpp: In function 'int main(int, char**)':
klash.cpp:521: error: 'set_current_root' is not a member of 'gnash'
klash.cpp:604: error: cannot convert 'gnash::movie_root' to 'gnash::sprite_instance' in assignment
klash.cpp:645: warning: possible problem detected in invocation of delete operator:
klash.cpp:429: warning: 'render' has incomplete type
../../server/gnash.h:76: warning: forward declaration of 'struct gnash::render_handler'
klash.cpp:645: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
klash.cpp:248: warning: unused variable 'app'
klash.cpp:262: warning: unused variable 'ticks'
klash.cpp:533: warning: unused variable 'last_logged_fps'
/opt/qt/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>::duplicate(const type*, uint) [with type = char]':
/opt/qt/include/qcstring.h:252: instantiated from here
/opt/qt/include/qmemarray.h:85: warning: cast from type 'const char' to type 'char' casts away constness
/opt/qt/include/qmemarray.h: In member function 'int QMemArray<type>::find(const type&, uint) const [with type = char]':
/opt/qt/include/qstring.h:897: instantiated from here
/opt/qt/include/qmemarray.h:92: warning: cast from type 'const char' to type 'char' casts away constness
make[4]: *** [klash-klash.o] Error 1
make[4]: Leaving directory `/home/michel/archlinux-packages/gnash/src/gnash-build/plugin/klash'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/michel/archlinux-packages/gnash/src/gnash-build/plugin/klash'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/michel/archlinux-packages/gnash/src/gnash-build/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/michel/archlinux-packages/gnash/src/gnash-build'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
Greetings,
Michel
|