Version: 3.9.2 (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 4.1.2 20070502 (Red Hat 4.1.2-12) Configuration: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux OS: Linux classes DummyXXXAnalyzer have not a stub for virtual function endAnalysis(). I use strigi version 0.5.5 and have this version of header streamsaxanalyzer.h -------------- virtual void startAnalysis(AnalysisResult*) = 0; /** * Is called when the analysis of a stream is finished. You can do * cleanups here, if necessary. Note: This is also called if, while * parsing the XML document, non-well-formedness is detected. */ virtual void endAnalysis(bool complete) = 0; /** * This is called when an opening XML tag was detected. For documentation -------------- and what I have in kio/kio/dummyanalyzers/dummyanalyzers.cpp class STRIGI_PLUGIN_API DummySaxAnalyzer : public StreamSaxAnalyzer { public: DummySaxAnalyzer() {} const char* name() const { return "DummySaxAnalyzer"; } void startAnalysis(AnalysisResult*) {} bool isReadyWithStream() { return true; } // there must be endAnalysis() stub }; and this error is in DummyLineAnalyzer and in DummyEventAnalyzer Compiler report: dummyanalyzers.cpp: In member function ‘virtual Strigi::StreamSaxAnalyzer* DummySaxAnalyzerFactory::newInstance() const’: dummyanalyzers.cpp:92: error: cannot allocate an object of abstract type ‘DummySaxAnalyzer’ dummyanalyzers.cpp:78: note: because the following virtual functions are pure within ‘DummySaxAnalyzer’: /usr/local/include/strigi/streamsaxanalyzer.h:63: note: virtual void Strigi::StreamSaxAnalyzer::endAnalysis(bool) dummyanalyzers.cpp: In member function ‘virtual Strigi::StreamLineAnalyzer* DummyLineAnalyzerFactory::newInstance() const’: dummyanalyzers.cpp:110: error: cannot allocate an object of abstract type ‘DummyLineAnalyzer’ dummyanalyzers.cpp:95: note: because the following virtual functions are pure within ‘DummyLineAnalyzer’: /usr/local/include/strigi/streamlineanalyzer.h:61: note: virtual void Strigi::StreamLineAnalyzer::endAnalysis(bool) dummyanalyzers.cpp: In member function ‘virtual Strigi::StreamEventAnalyzer* DummyEventAnalyzerFactory::newInstance() const’: dummyanalyzers.cpp:128: error: cannot allocate an object of abstract type ‘DummyEventAnalyzer’ dummyanalyzers.cpp:113: note: because the following virtual functions are pure within ‘DummyEventAnalyzer’: /usr/local/include/strigi/streameventanalyzer.h:38: note: virtual void Strigi::StreamEventAnalyzer::endAnalysis(bool)
Alexander, is that fixed now? I think this was due to some distro packages conflicting with the built ones.
I did not compiled new versions. Now I'm waiting for a RPM-packages for my Fedora ;) But about the trouble. I have downloaded all tarballs, read step-by-step instruction on kde.org, created new user kde-devel and worked with it. I have found function calls, but did not find any function definitions. There is a new version, and release will be soon, and I think this trouble was fixed.
If no further reply, I assume it is working (at least it is here )