[KimDaBa] MD5 sums completed.

Matt matt-lists at comnet.net.nz
Tue Jan 20 08:18:51 GMT 2004


On Tue, 20 Jan 2004 10:38, Jesper K. Pedersen wrote:
> Just a news flash.
> Today I completed the MD5 sum feature we've talked a bit about.
>
> Here is how it works:
> When an image is loaded, its md5 sum is calculated and stored in the
> db. when new images are found it is checked if their md5 sums is
> already in the db, and is that the case, the file is simply assigned
> to that record (ups.... that makes me realize a bug) it should of
> course only be assigned if the original file doesn't exists any more.
>
> Due to some coworkers of mine who is into cryptology, the chances of
> two files having the same MD5 sum is in the order of magnitude of 1
> to 2^64, so I don't think there are any reason to fear that kind of
> problems ;-)
>
> So with this new code you can move your files around inside the
> KimDaBa directory hierarchy.
>
> I've made a new snapshow available which as usually can be downloaded
> from http://ktown.kde.org/kimdaba
>
> Cheers
> Jesper
> _______________________________________________
> KimDaBa mailing list
> KimDaBa at klaralvdalens-datakonsult.se
> http://sulaco.hrhansen.dk/mailman/listinfo/kimdaba

I get the following error when compiling this latest snapshot:

make[3]: Entering directory 
`/home/matt/appdownloads/kimdaba-2004-01-19/kimdaba'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include 
-I/usr/X11R6/include  -I./compat  -DQT_THREAD_SUPPORT  -D_REENTRANT  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION   -MT imagedb.o -MD -MP -MF ".deps/imagedb.Tpo" \
  -c -o imagedb.o `test -f 'imagedb.cpp' || echo './'`imagedb.cpp; \
then mv -f ".deps/imagedb.Tpo" ".deps/imagedb.Po"; \
else rm -f ".deps/imagedb.Tpo"; exit 1; \
fi
imagedb.cpp: In member function `void ImageDB::loadExtraFiles()':
imagedb.cpp:211: error: `wasCanceled' undeclared (first use this 
function)
imagedb.cpp:211: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
imagedb.cpp: In member function `void 
ImageDB::calculateMissingMD5sums(QValueList<ImageInfo*>&)':
imagedb.cpp:387: error: `wasCanceled' undeclared (first use this 
function)
make[3]: *** [imagedb.o] Error 1
make[3]: Leaving directory 
`/home/matt/appdownloads/kimdaba-2004-01-19/kimdaba'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/matt/appdownloads/kimdaba-2004-01-19/kimdaba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/appdownloads/kimdaba-2004-01-19'
make: *** [all] Error 2

Any suggestions?

-- 
Regards

Matt



More information about the Kphotoalbum mailing list