[KPhotoAlbum] New snapshot (maybe the last one)

Constantin Orasan dinel_list at blueyonder.co.uk
Mon Mar 27 23:35:12 BST 2006


Hi,

I tried to compile the snapshot and get the following compilation error:

make[3]: Entering directory `/home/dinel/packages/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.4/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
make[3]: *** [InfoBox.lo] Error 1
make[3]: Leaving directory `/home/dinel/packages/kphotoalbum-2006-03-26-noi18n/src/Viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dinel/packages/kphotoalbum-2006-03-26-noi18n/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dinel/packages/kphotoalbum-2006-03-26-noi18n'
make: *** [all] Error 2

Few details about my computer:

dinel at dinel-home ~/packages/kphotoalbum-2006-03-26-noi18n $ moc -v
Qt Meta Object Compiler version 26 (Qt 3.3.4)

dinel at dinel-home ~/packages/kphotoalbum-2006-03-26-noi18n $ g++ -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

Do you need anything else? Any idea why I get this error?

Thank you,

Dinel

> OK, we are getting close to the final final final final build of KPhotoAlbum, 
> so if you don't want to be stuck with you anti-favorite bug the next year, 
> now would be a good time to download a snapshot and try it really really 
> really good :-)
> 
> Get it from
> http://www.kphotoalbum.org/download-snapshots.htm
> 
> As always, unless I explicit have discarded a bug as something I wont fix at 
> this stage, you should report back to me if you still see old bugs around.
> 
> Enjoy
> Jesper.
> 





More information about the Kphotoalbum mailing list