From: Bill R. <ro...@sy...> - 2011-05-28 15:01:32
|
Been struggling with this for quite some time. No net search results, so I am doing something unique and / or stupid. clucene-core-0.9.21b, strigi-0.7.2 Q: Is this the right version combo for KDE-4.6.1? Q: has anyone gotten kde-buildrc script to cross-compile or hints how to do so? Q: Are there some clucene config flags I may have missed to build classes 'lucene::analysis::standard`, 'lucene::store::FSDirectory'? Q: Any clues how to proceed? Code: cd /home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7.2/ src/luceneindexer && /home/rossb/OpenWrt/backfire/staging_dir/toolchain-i386_gcc-4.1.2_glibc-2.6. 1/usr/bin/i486-openwrt-linux-gnu-g++ -Dclucene_EXPORTS -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DHAVE_CONFIG_H -DQT_NO_DEBUG -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -D_UNICODE -D_CL_HAVE_GCC_ATOMIC_FUNCTIONS=1 -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7. 2/src/streamanalyzer -I/home/rossb/OpenWrt/backfire/staging_dir/target-i386_glibc-2.6.1/usr/inclu de/CLucene -I/home/rossb/OpenWrt/backfire/staging_dir/target-i386_glibc-2.6.1/usr/inclu de/CLucene/analysis/standard -I/home/rossb/OpenWrt/backfire/staging_dir/target-i386_glibc-2.6.1/usr/inclu de -I/home/rossb/OpenWrt/backfire/staging_dir/target-i386_glibc-2.6.1/include -I/home/rossb/OpenWrt/backfire/staging_dir/toolchain-i386_gcc-4.1.2_glibc-2. 6.1/usr/include -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fexceptions -Wno-unused-parameter -fvisibility=hidden -fvisibility=default -DNDEBUG -fPIC -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7. 2/src/luceneindexer -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/qt-kde-2011 -04-06/include -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/qt-kde-2011 -04-06/include/QtGui -I/home/rossb/OpenWrt/backfire/staging_dir/target-i386_glibc-2.6.1/usr/inclu de/QtCore -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7. 2 -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7. 2/src/streamanalyzer -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7. 2/src/streams -I/home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7. 2/src/streams/strigi -I/home/rossb/OpenWrt/backfire/staging_dir/target-i386_glibc-2.6.1/usr/inclu de -I/home/rossb/OpenWrt/backfire/staging_dir/toolchain-i386_gcc-4.1.2_glibc-2. 6.1/usr/include -fPIC -o CMakeFiles/clucene.dir/cluceneindexmanager.cpp.o -c /home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7.2/ src/luceneindexer/cluceneindexmanager.cpp Errors. /home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7.2/ src/luceneindexer/cluceneindexmanager.cpp:45: error: 'lucene::analysis::standard' has not been declared /home/rossb/OpenWrt/backfire/build_dir/target-i386_glibc-2.6.1/strigi-0.7.2/ src/luceneindexer/cluceneindexmanager.cpp:46: error: 'lucene::store::FSDirectory' has not been declared .etc I did the obvious of including StandardAnalyzer.h to cluceneindexmanager.cpp and adding include path. No change. Thanks. |