当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : conflicting declaration 'typedef double float_t'是什么错误
帖子发表于 : 2010-06-15 13:20 

注册: 2010-06-14 10:55
帖子: 1
送出感谢: 0 次
接收感谢: 0 次
在linux下面编译Clucene,发现错误,Make之后的文件如下,有人可以帮忙解释一下错误原因么?

g++34 -c CLMonolithic.cpp -I /home/cx/ii/ii/src
In file included from /home/cx/ii/ii/src/CLucene/StdHeader.h:201,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:7,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/config/compiler.h:198: error: conflicting declaration 'typedef double float_t'
/usr/include/bits/mathdef.h:36: error: 'float_t' has a previous declaration as `typedef long double float_t'
/home/cx/ii/ii/src/CLucene/config/compiler.h:198: error: declaration of `typedef double float_t'
/usr/include/bits/mathdef.h:36: error: conflicts with previous declaration `typedef long double float_t'
/home/cx/ii/ii/src/CLucene/config/compiler.h:198: error: declaration of `typedef double float_t'
/usr/include/bits/mathdef.h:36: error: conflicts with previous declaration `typedef long double float_t'
In file included from /home/cx/ii/ii/src/CLucene/StdHeader.h:441,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:7,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/LuceneThreads.h:27:4: #error A valid thread library was not found
In file included from /home/cx/ii/ii/src/CLucene/StdHeader.h:441,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:7,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/LuceneThreads.h:34: error: ISO C++ forbids declaration of `_LUCENE_THREADMUTEX' with no type
/home/cx/ii/ii/src/CLucene/LuceneThreads.h:34: error: expected `;' before '*' token
/home/cx/ii/ii/src/CLucene/LuceneThreads.h:37: error: expected `)' before '&' token
In file included from /home/cx/ii/ii/src/CLucene/StdHeader.h:445,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:7,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/util/VoidList.h:24: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/StdHeader.h:446,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:7,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/util/VoidMap.h:28: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/store/Directory.h:18,
from /home/cx/ii/ii/src/CLucene/index/IndexReader.h:14,
from /home/cx/ii/ii/src/CLucene/search/Sort.h:14,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:10,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/store/IndexInput.h:32: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/index/IndexReader.h:14,
from /home/cx/ii/ii/src/CLucene/search/Sort.h:14,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:10,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/store/Directory.h:41: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/index/IndexReader.h:15,
from /home/cx/ii/ii/src/CLucene/search/Sort.h:14,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:10,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/store/FSDirectory.h:88: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/index/FieldInfo.h:14,
from /home/cx/ii/ii/src/CLucene/index/FieldInfos.h:19,
from /home/cx/ii/ii/src/CLucene/index/TermVector.h:14,
from /home/cx/ii/ii/src/CLucene/index/IndexReader.h:18,
from /home/cx/ii/ii/src/CLucene/search/Sort.h:14,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:10,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/util/StringIntern.h:31: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/index/IndexReader.h:18,
from /home/cx/ii/ii/src/CLucene/search/Sort.h:14,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:10,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/index/TermVector.h:255: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/search/Sort.h:14,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:10,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/index/IndexReader.h:112: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.h:19,
from /home/cx/ii/ii/src/CLucene/StdHeader.cpp:13,
from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.h:28: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from CLMonolithic.cpp:13:
/home/cx/ii/ii/src/CLucene/StdHeader.cpp:46:4: warning: #warning "==================Hashing not available or is disabled! CLucene may run slower than optimal =================="
In file included from CLMonolithic.cpp:19:
/home/cx/ii/ii/src/CLucene/config/gunichartables.cpp:132:3: warning: #warning "===== Using internal character function ====="
In file included from CLMonolithic.cpp:26:
/home/cx/ii/ii/src/CLucene/config/threads.cpp: In copy constructor `lucene::util::mutexGuard::mutexGuard(const lucene::util::mutexGuard&)':
/home/cx/ii/ii/src/CLucene/config/threads.cpp:15: error: `mrMutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/config/threads.cpp:15: error: (Each undeclared identifier is reported only once for each function it appears in.)
/home/cx/ii/ii/src/CLucene/config/threads.cpp: At global scope:
/home/cx/ii/ii/src/CLucene/config/threads.cpp:17: error: expected `)' before '&' token
/home/cx/ii/ii/src/CLucene/config/threads.cpp:17: error: expected `,' or `;' before '&' token
/home/cx/ii/ii/src/CLucene/config/threads.cpp: In destructor `lucene::util::mutexGuard::~mutexGuard()':
/home/cx/ii/ii/src/CLucene/config/threads.cpp:24: error: `mrMutex' undeclared (first use this function)
In file included from CLMonolithic.cpp:35:
/home/cx/ii/ii/src/CLucene/index/CompoundFile.cpp: In member function `virtual void lucene::index::CompoundFileReader::CSInputStream::readInternal(uint8_t*, int32_t)':
/home/cx/ii/ii/src/CLucene/index/CompoundFile.cpp:23: error: 'class lucene::store::IndexInput' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/index/CompoundFile.cpp: In member function `virtual void lucene::index::CompoundFileReader::close()':
/home/cx/ii/ii/src/CLucene/index/CompoundFile.cpp:110: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/CompoundFile.cpp: In member function `virtual lucene::store::IndexInput* lucene::index::CompoundFileReader::openInput(const char*)':
/home/cx/ii/ii/src/CLucene/index/CompoundFile.cpp:120: error: `THIS_LOCK' undeclared (first use this function)
In file included from /home/cx/ii/ii/src/CLucene/store/TransactionalRAMDirectory.h:10,
from /home/cx/ii/ii/src/CLucene/index/IndexWriter.h:18,
from /home/cx/ii/ii/src/CLucene/index/DocumentWriter.cpp:11,
from CLMonolithic.cpp:36:
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.h: At global scope:
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.h:121: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/index/SegmentHeader.h:21,
from /home/cx/ii/ii/src/CLucene/index/IndexWriter.h:20,
from /home/cx/ii/ii/src/CLucene/index/DocumentWriter.cpp:11,
from CLMonolithic.cpp:36:
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:37: error: `_LUCENE_THREADID_TYPE' was not declared in this scope
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:38: error: `CLuceneThreadIdCompare' is not a member of `lucene::util'
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:38: error: `CLuceneThreadIdCompare' is not a member of `lucene::util'
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:39: error: `_LUCENE_THREADID_TYPE' was not declared in this scope
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:39: error: template argument 1 is invalid
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:39: error: template argument 1 is invalid
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:39: error: template argument 3 is invalid
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:39: error: template argument 4 is invalid
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:39: error: ISO C++ forbids declaration of `enumerators' with no type
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:40: error: `_LUCENE_THREADMUTEX' does not name a type
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.h:52: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from /home/cx/ii/ii/src/CLucene/index/DocumentWriter.cpp:11,
from CLMonolithic.cpp:36:
/home/cx/ii/ii/src/CLucene/index/IndexWriter.h:76: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from CLMonolithic.cpp:40:
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::_IndexWriter(bool)':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:115: error: 'class lucene::store::Directory' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::close()':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:195: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `int32_t lucene::index::IndexWriter::docCount()':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:227: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::addDocument(lucene::document::Document*, lucene::analysis::Analyzer*)':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:274: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::optimize()':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:299: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `char* lucene::index::IndexWriter::newSegmentName()':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:318: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::mergeSegments(uint32_t)':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:426: error: 'class lucene::store::Directory' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::addIndexes(lucene::store::Directory**)':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:534: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp: In member function `void lucene::index::IndexWriter::addIndexes(lucene::index::IndexReader**)':
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:567: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexWriter.cpp:590: error: 'class lucene::store::Directory' has no member named 'THIS_LOCK'
In file included from CLMonolithic.cpp:41:
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp: In static member function `static lucene::index::IndexReader* lucene::index::IndexReader::open(lucene::store::Directory*, bool)':
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:89: error: 'class lucene::store::Directory' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp: In member function `void lucene::index::IndexReader::setNorm(int32_t, const wchar_t*, uint8_t)':
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:223: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp: In member function `void lucene::index::IndexReader::deleteDocument(int32_t)':
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:324: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp: In member function `virtual void lucene::index::IndexReader::commit()':
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:342: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:346: error: 'class lucene::store::Directory' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp: In member function `void lucene::index::IndexReader::undeleteAll()':
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:366: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp: In member function `void lucene::index::IndexReader::close()':
/home/cx/ii/ii/src/CLucene/index/IndexReader.cpp:419: error: `THIS_LOCK' undeclared (first use this function)
In file included from CLMonolithic.cpp:42:
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp: In member function `virtual int32_t lucene::index::MultiReader::numDocs()':
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp:90: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp: In member function `virtual uint8_t* lucene::index::MultiReader::norms(const wchar_t*)':
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp:115: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp: In member function `virtual void lucene::index::MultiReader::norms(const wchar_t*, uint8_t*)':
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp:137: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp: In member function `virtual void lucene::index::MultiReader::doClose()':
/home/cx/ii/ii/src/CLucene/index/MultiReader.cpp:217: error: `THIS_LOCK' undeclared (first use this function)
In file included from CLMonolithic.cpp:47:
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp: In member function `virtual void lucene::index::SegmentReader::doDelete(int32_t)':
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp:316: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp: In member function `virtual lucene::document::Document* lucene::index::SegmentReader::document(int32_t)':
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp:416: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp: In member function `virtual bool lucene::index::SegmentReader::isDeleted(int32_t)':
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp:441: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp: In member function `virtual void lucene::index::SegmentReader::norms(const wchar_t*, uint8_t*)':
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp:527: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp: In member function `virtual uint8_t* lucene::index::SegmentReader::norms(const wchar_t*)':
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp:564: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp: In member function `void lucene::index::SegmentReader::closeNorms()':
/home/cx/ii/ii/src/CLucene/index/SegmentReader.cpp:670: error: 'class lucene::util::CLHashMap<const wchar_t*, lucene::index::SegmentReader::Norm*, lucene::util::Compare::TChar, lucene::util::Equals::TChar, lucene::util::Deletor::Dummy, lucene::util::Deletor::Dummy>' has no member named 'THIS_LOCK'
In file included from CLMonolithic.cpp:54:
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp: In constructor `lucene::index::TermInfosReader::TermInfosReader(lucene::store::Directory*, const char*, lucene::index::FieldInfos*)':
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:29: error: member initializer expression list treated as compound expression
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp: In member function `lucene::index::SegmentTermEnum* lucene::index::TermInfosReader::getEnum()':
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:187: error: `enumerators_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:188: error: `get' is not a type
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:188: error: request for member of non-aggregate type before '(' token
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:188: error: `_LUCENE_CURRTHREADID' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:191: error: `put' has not been declared
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:191: error: request for member of non-aggregate type before '(' token
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp: In member function `void lucene::index::TermInfosReader::ensureIndexIsRead()':
/home/cx/ii/ii/src/CLucene/index/TermInfosReader.cpp:309: error: `THIS_LOCK' undeclared (first use this function)
In file included from CLMonolithic.cpp:56:
/home/cx/ii/ii/src/CLucene/index/TermVectorReader.cpp: In member function `void lucene::index::TermVectorsReader::close()':
/home/cx/ii/ii/src/CLucene/index/TermVectorReader.cpp:48: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/TermVectorReader.cpp: In member function `lucene::index::TermFreqVector* lucene::index::TermVectorsReader::get(int32_t, const wchar_t*)':
/home/cx/ii/ii/src/CLucene/index/TermVectorReader.cpp:67: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/index/TermVectorReader.cpp: In member function `lucene::index::TermFreqVector** lucene::index::TermVectorsReader::get(int32_t)':
/home/cx/ii/ii/src/CLucene/index/TermVectorReader.cpp:125: error: `THIS_LOCK' undeclared (first use this function)
In file included from CLMonolithic.cpp:66:
/home/cx/ii/ii/src/CLucene/search/CachingWrapperFilter.cpp: In member function `virtual lucene::util::BitSet* lucene::search::AbstractCachingFilter::bits(lucene::index::IndexReader*)':
/home/cx/ii/ii/src/CLucene/search/CachingWrapperFilter.cpp:35: error: 'class lucene::util::CLHashMap<lucene::index::IndexReader*, lucene::search::AbstractCachingFilter::BitSetHolder*, lucene::util::Compare::Void<lucene::index::IndexReader>, lucene::util::Equals::Void<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::search::AbstractCachingFilter::BitSetHolder> >' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/search/CachingWrapperFilter.cpp: In member function `void lucene::search::AbstractCachingFilter::closeCallback(lucene::index::IndexReader*, void*)':
/home/cx/ii/ii/src/CLucene/search/CachingWrapperFilter.cpp:45: error: 'class lucene::util::CLHashMap<lucene::index::IndexReader*, lucene::search::AbstractCachingFilter::BitSetHolder*, lucene::util::Compare::Void<lucene::index::IndexReader>, lucene::util::Equals::Void<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::search::AbstractCachingFilter::BitSetHolder> >' has no member named 'THIS_LOCK'
In file included from CLMonolithic.cpp:73:
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp: In member function `lucene::search::FieldCacheAuto* lucene::search::FieldCacheImpl::lookup(lucene::index::IndexReader*, const wchar_t*, int32_t)':
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp:101: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp: In member function `lucene::search::FieldCacheAuto* lucene::search::FieldCacheImpl::lookup(lucene::index::IndexReader*, const wchar_t*, lucene::search::SortComparatorSource*)':
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp:116: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp: In static member function `static void lucene::search::FieldCacheImpl::closeCallback(lucene::index::IndexReader*, void*)':
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp:127: error: 'class lucene::search::FieldCacheImpl' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp: In member function `void lucene::search::FieldCacheImpl::store(lucene::index::IndexReader*, const wchar_t*, int32_t, lucene::search::FieldCacheAuto*)':
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp:135: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp: In member function `void lucene::search::FieldCacheImpl::store(lucene::index::IndexReader*, const wchar_t*, lucene::search::SortComparatorSource*, lucene::search::FieldCacheAuto*)':
/home/cx/ii/ii/src/CLucene/search/FieldCacheImpl.cpp:151: error: `THIS_LOCK' undeclared (first use this function)
In file included from /home/cx/ii/ii/src/CLucene/search/FieldDocSortedHitQueue.cpp:8,
from CLMonolithic.cpp:74:
/home/cx/ii/ii/src/CLucene/search/FieldDocSortedHitQueue.h: At global scope:
/home/cx/ii/ii/src/CLucene/search/FieldDocSortedHitQueue.h:34: error: `_LUCENE_THREADMUTEX' does not name a type
In file included from CLMonolithic.cpp:74:
/home/cx/ii/ii/src/CLucene/search/FieldDocSortedHitQueue.cpp: In member function `void lucene::search::FieldDocSortedHitQueue::setFields(const lucene::search::SortField**)':
/home/cx/ii/ii/src/CLucene/search/FieldDocSortedHitQueue.cpp:121: error: `THIS_LOCK' undeclared (first use this function)
In file included from CLMonolithic.cpp:75:
/home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.cpp: In static member function `static lucene::search::ScoreDocComparator* lucene::search::FieldSortedHitQueue::lookup(lucene::index::IndexReader*, const wchar_t*, int32_t, lucene::search::SortComparatorSource*)':
/home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.cpp:147: error: 'class lucene::util::CLHashMap<lucene::index::IndexReader*, lucene::search::FieldSortedHitQueue::hitqueueCacheReaderType*, lucene::util::Compare::Void<lucene::index::IndexReader>, lucene::util::Equals::Void<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::search::FieldSortedHitQueue::hitqueueCacheReaderType> >' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.cpp: In static member function `static void lucene::search::FieldSortedHitQueue::closeCallback(lucene::index::IndexReader*, void*)':
/home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.cpp:161: error: 'class lucene::util::CLHashMap<lucene::index::IndexReader*, lucene::search::FieldSortedHitQueue::hitqueueCacheReaderType*, lucene::util::Compare::Void<lucene::index::IndexReader>, lucene::util::Equals::Void<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::search::FieldSortedHitQueue::hitqueueCacheReaderType> >' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.cpp: In static member function `static lucene::search::ScoreDocComparator* lucene::search::FieldSortedHitQueue::store(lucene::index::IndexReader*, const wchar_t*, int32_t, lucene::search::SortComparatorSource*, lucene::search::ScoreDocComparator*)':
/home/cx/ii/ii/src/CLucene/search/FieldSortedHitQueue.cpp:172: error: 'class lucene::util::CLHashMap<lucene::index::IndexReader*, lucene::search::FieldSortedHitQueue::hitqueueCacheReaderType*, lucene::util::Compare::Void<lucene::index::IndexReader>, lucene::util::Equals::Void<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::index::IndexReader>, lucene::util::Deletor::Object<lucene::search::FieldSortedHitQueue::hitqueueCacheReaderType> >' has no member named 'THIS_LOCK'
In file included from CLMonolithic.cpp:98:
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp: In copy constructor `lucene::store::FSDirectory::FSIndexInput::FSIndexInput(const lucene::store::FSDirectory::FSIndexInput&)':
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:65: error: 'class lucene::store::FSDirectory::FSIndexInput::SharedHandle' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp: In member function `virtual void lucene::store::FSDirectory::FSIndexInput::readInternal(uint8_t*, int32_t)':
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:110: error: 'class lucene::store::FSDirectory::FSIndexInput::SharedHandle' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp: In member function `void lucene::store::FSDirectory::create()':
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:246: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp: In static member function `static lucene::store::FSDirectory* lucene::store::FSDirectory::getDirectory(const char*, bool)':
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:357: error: 'class lucene::util::CLHashMap<const char*, lucene::store::FSDirectory*, lucene::util::Compare::Char, lucene::util::Equals::Char, lucene::util::Deletor::Dummy, lucene::util::Deletor::Dummy>' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:368: error: 'class lucene::store::FSDirectory' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp: In member function `virtual void lucene::store::FSDirectory::close()':
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:449: error: 'class lucene::util::CLHashMap<const char*, lucene::store::FSDirectory*, lucene::util::Compare::Char, lucene::util::Equals::Char, lucene::util::Deletor::Dummy, lucene::util::Deletor::Dummy>' has no member named 'THIS_LOCK'
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:451: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp: In member function `virtual void lucene::store::FSDirectory::renameFile(const char*, const char*)':
/home/cx/ii/ii/src/CLucene/store/FSDirectory.cpp:501: error: `THIS_LOCK' undeclared (first use this function)
In file included from CLMonolithic.cpp:103:
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual bool lucene::store::RAMDirectory::RAMLock::obtain()':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:46: error: 'class lucene::store::RAMDirectory' has no member named 'files_mutex'
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual char** lucene::store::RAMDirectory::list() const':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:204: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual bool lucene::store::RAMDirectory::fileExists(const char*) const':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:282: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual int64_t lucene::store::RAMDirectory::fileModified(const char*) const':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:287: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual int64_t lucene::store::RAMDirectory::fileLength(const char*) const':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:293: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual lucene::store::IndexInput* lucene::store::RAMDirectory::openInput(const char*)':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:300: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual void lucene::store::RAMDirectory::close()':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:309: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual bool lucene::store::RAMDirectory::deleteFile(const char*)':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:314: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual void lucene::store::RAMDirectory::renameFile(const char*, const char*)':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:320: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual void lucene::store::RAMDirectory::touchFile(const char*)':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:346: error: `files_mutex' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp: In member function `virtual lucene::store::IndexOutput* lucene::store::RAMDirectory::createOutput(const char*)':
/home/cx/ii/ii/src/CLucene/store/RAMDirectory.cpp:368: error: `files_mutex' undeclared (first use this function)
In file included from CLMonolithic.cpp:113:
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp: At global scope:
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp:15: error: `_LUCENE_THREADMUTEX' does not name a type
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp: In static member function `static const wchar_t* lucene::util::CLStringIntern::intern(const wchar_t*)':
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp:46: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp: In static member function `static bool lucene::util::CLStringIntern::unintern(const wchar_t*)':
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp:69: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp: In static member function `static const char* lucene::util::CLStringIntern::internA(const char*)':
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp:88: error: `THIS_LOCK' undeclared (first use this function)
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp: In static member function `static bool lucene::util::CLStringIntern::uninternA(const char*)':
/home/cx/ii/ii/src/CLucene/util/StringIntern.cpp:107: error: `THIS_LOCK' undeclared (first use this function)
make: *** [CLMonolithic.o] Error 1


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译