Just an idea regarding:

>> make cl_demo gives this linking error.
>>
>> Linking CXX executable ../../bin/cl_demo
>> Undefined                       first referenced
>>  symbol                             in file
>> lucene::document::Field::Field(const
>> wchar_t*,lucene::util::ValueArray<unsigned char>*,int,const bool)
>> ../../bin/libclucene-core.so.0.9.23.0

There is a difference between the header file  and the implementation
file. The header says (line 142);

Field(const TCHAR* name, CL_NS(util)::ValueArray<uint8_t>* data, int
_config, const bool duplicateValue = true)

And in the implementation the "const" before duplicateValue is missing
(line 61):

Field(const TCHAR* Name, ValueArray<uint8_t>* Value, int config, bool
duplicateValue)

Maybe this makes a difference on your plattform (Sun, I guess).

>> std::string lucene::util::Misc::toString(const unsigned)
>> ../../bin/libclucene-core.so.0.9.23.0

The same.

>> lucene::index::IndexWriter::IndexWriter(lucene::store::Directory*,lucene::analysis::Analyzer*,const
>> bool,const bool) ../../bin/libclucene-core.so.0.9.23.0

The same.

>> lucene::store::FSDirectory*lucene::store::FSDirectory::getDirectory(const
>> char*,const bool,lucene::store::LockFactory*)
>> ../../bin/libclucene-core.so.0.9.23.0

The same.

>> lucene::index::IndexWriter::IndexWriter(const
>> char*,lucene::analysis::Analyzer*,const bool)

The same.

Veit

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to