[KPhotoAlbum] cannot compile 3-14 snapshot

Scott Lair plair at mailzone.com
Tue Mar 14 06:38:52 GMT 2006


Having trouble compiling the 3-14-2006 snapshot.

This is on a slackware 10.1 system.

configure worked ok, but not make......hmmm.  I'm no programmer, sorry

/usr/lib/qt/bin/moc ./InfoBox.h -o InfoBox.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I./.. -I/opt/kde/include -I/usr/lib/qt/include 
-I/usr/X11R6/include   -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
InfoBox.h:25: error:   first declared as `Viewer' here
../Viewer/Viewer.h:43: error:   also declared as `class Viewer::Viewer' here
InfoBox.moc:28: error: parse 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
make[3]: *** [InfoBox.lo] Error 1
make[3]: Leaving directory 
`/usr/src/tar/kphotoalbum-2006-03-14-noi18n/src/Viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/tar/kphotoalbum-2006-03-14-noi18n/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/tar/kphotoalbum-2006-03-14-noi18n'
make: *** [all] Error 2

let me know,

thanks,

scott lair




More information about the Kphotoalbum mailing list