[KPhotoAlbum] Error compiling latest snapshot (26/03)

Mark Zealey mspam at zealey.org
Sat Apr 1 13:34:18 BST 2006


Hi there, I don't know what info you want (anything available on request). I'm 
using standard kde 3.5.1 on a gentoo system. I get the following error when 
compiling the latest snapshot. Please keep me CC'd because im not on the 
list.

Ta,

Mark

-----

make[3]: Entering directory 
`/home/mark/compressed/kphotoalbum-2006-03-26-noi18n/src/Viewer'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
-Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -fexceptions  -DQT_NO_CAST_ASCII -DQT_CAST_NO_ASCII -MT 
InfoBox.lo -MD -MP -MF ".deps/InfoBox.Tpo" -c -o InfoBox.lo InfoBox.cpp; \
then mv -f ".deps/InfoBox.Tpo" ".deps/InfoBox.Plo"; else rm -f 
".deps/InfoBox.Tpo"; exit 1; fi
In file included from InfoBox.cpp:135:
InfoBox.moc:22: error: syntax error before `::' token
InfoBox.moc:27: error: syntax error before `::' token
InfoBox.moc:28: error: use of `Viewer' is ambiguous
Viewer.h:37: error:   first declared as `Viewer' here
Viewer.h:43: error:   also declared as `class Viewer::Viewer' here
InfoBox.moc:28: error: syntax error before `::' token
InfoBox.moc:50: error: syntax error before `::' token
InfoBox.moc:59: error: ISO C++ forbids declaration of `metaObj' with no type
InfoBox.moc:67: error: invalid conversion from `QMetaObject*' to `int'
InfoBox.moc:68: error: syntax error before `.' token
InfoBox.moc:72: error: syntax error before `::' token
InfoBox.moc:79: error: syntax error before `::' token
InfoBox.moc:89: error: syntax error before `::' token
InfoBox.moc:95: error: syntax error before `::' token
InfoBox.moc:100: error: syntax error before `::' token
InfoBox.moc:28: warning: `QMetaObjectCleanUp cleanUp_Viewer__InfoBox(...)'
   declared `static' but never defined

-- 

Mark Zealey
http://mark.zealey.org  (Diary at http://mark.zealey.org/diary)




More information about the Kphotoalbum mailing list