Hi all,
when I trying to migrate clucene to 0.9.23,I encounter a compiler error.

What I hava done are:
1, Download clucene 0.9.23 from sourceforge.
2, Install cmake in my ubuntu 10.10 by "#sudo apt-get install cmake", the 
version of cmake is 2.8.2
3, run cmake in clucene 0.9.23 folder : "#cmake ./", and I got a makefile.
4, run make "#make", and I got some compiler error as :
      In file included from 
/home/xwzeng/cluceneDebug/clucene-core-0.9.23.0-Source/src/core/CLucene/StdHeader.cpp:8:
      
/home/xwzeng/cluceneDebug/clucene-core-0.9.23.0-Source/src/shared/CLucene/util/Misc.h:15:
 error: int64_t does not name a type
      ........
    
I read some cmake tutorials, and read cmakelist.txt file in the project,
I find int64_t type is defined in a cmakelist.txt file that contain in 
clucene\shared,
the type defined by a marco CHOOSE_TYPE(uint64_t    8 unsigned "uint64_t;long 
long;__int64")
but I hava no ideal for why it dose not work.

best wishes
Zeng.











At 2011-12-20 15:48:56,"Veit Jahns" <nuncupa...@googlemail.com> wrote:
>Hi Zeng,
>
>0.9.21 isn't really supported anymore. As there is a newer version
>0.9.23, release a while ago, my proposal would be tho migrate to the
>newer version. There we observed similiar issues and resolved them.
>
>If you, for some reason, have to stay with 0.9.21, then it might by a
>good idea to look in the commit history of 0.9.23. Maybe you got some
>hints, what the reason for your error is.
>
>Kind regards,
>
>Veit
>
>2011/12/19 曾小伟 <zxw0...@163.com>:
>> hi all,
>> I using clucene 0.9.2.1 build an index,and this index has more than 1
>> million doc in it.
>> when I searching something in multithread mode(more the 20 threads and each
>> thread searching as hard as it can).
>>
>> The crash issue occured after the searhc test begin 2~10 hours.
>>
>> Is there anyone who had a similar issue, or tell me how to resolve the
>> issue.
>> thanks.
>>
>> here is is the Backtrace of the crashing:
>> ___________________________________________________________________________
>> *** glibc detected *** <unknown>: corrupted double-linked list:
>> 0x00002aaaac1a1e10 ***
>> ======= Backtrace: =========
>> /lib64/libc.so.6[0x3df96733d0]
>> /lib64/libc.so.6(__libc_malloc+0x6e)[0x3df9674e2e]
>> /usr/lib64/libstdc++.so.6(_Znwm+0x1d)[0x3dfcebd1dd]
>> /usr/lib64/libstdc++.so.6(_Znam+0x9)[0x3dfcebd2f9]
>> ./libSearch.so(_Z12lucenewcsdupPKw+0x2c)[0x2b7b4404c55c]
>> ./libSearch.so(_ZN6lucene5index4Term3setEPKwS3_b+0x125)[0x2b7b44031aa5]
>> ./libSearch.so(_ZN6lucene5index15TermInfosReader17ensureIndexIsReadEv+0x196)[0x2b7b44032476]
>> ./libSearch.so(_ZN6lucene5index15TermInfosReader3getEPKNS0_4TermE+0x3d)[0x2b7b4403287d]
>> ./libSearch.so(_ZNK6lucene5index13SegmentReader7docFreqEPKNS0_4TermE+0xf)[0x2b7b4402b6cf]
>> ./libSearch.so(_ZN6lucene6search10Similarity3idfEPNS_5index4TermEPNS0_8SearcherE+0x45)[0x2b7b44049d85]
>> ./libSearch.so(_ZN6lucene6search9TermQuery10TermWeight19sumOfSquaredWeightsEv+0x38)[0x2b7b4404ab78]
>> ./libSearch.so(_ZN6lucene6search5Query6weightEPNS0_8SearcherE+0x42)[0x2b7b44048f82]
>> ./libSearch.so(_ZN6lucene6search13IndexSearcher7_searchEPNS0_5QueryEPNS0_6FilterEi+0x2b)[0x2b7b4404394b]
>> ./libSearch.so(_ZN6lucene6search4Hits11getMoreDocsEm+0x165)[0x2b7b44042995]
>> ./libSearch.so(_ZN6lucene6search4HitsC1EPNS0_8SearcherEPNS0_5QueryEPNS0_6FilterEPKNS0_4SortE+0xc9)[0x2b7b44042ee9]
>> ./libSearch.so(_ZN6lucene6search8Searcher6searchEPNS0_5QueryEPNS0_6FilterE+0x3e)[0x2b7b44009a02]
>> ./libSearch.so(_ZN6lucene6search8Searcher6searchEPNS0_5QueryE+0x22)[0x2b7b44009a58]
>> ./libSearch.so(_Z21SearchStringRSbIwSt11char_traitsIwESaIwEES3_+0x504)[0x2b7b44007190]
>> [0x403b74]
>> [0x402674]
>> /lib64/libpthread.so.0[0x3df9e0673d]
>> /lib64/libc.so.6(clone+0x6d)[0x3df96d44bd]
>> ======= Memory map: ========
>> 00400000-00406000 r-xp 00000000 08:0a 13516808
>> /usr/local/apps/SearchLib/code/CluceneTest/
>> 00605000-00606000 rw-p 00005000 08:0a 13516808
>> /usr/local/apps/SearchLib/code/CluceneTest/
>> 135cf000-14754000 rw-p 135cf000 00:00 0
>> [heap]
>> 40390000-40391000 ---p 40390000 00:00 0
>> 40391000-40d91000 rw-p 40391000 00:00 0
>> 40d91000-40d92000 ---p 40d91000 00:00 0
>> 40d92000-41792000 rw-p 40d92000 00:00 0
>> 41792000-41793000 ---p 41792000 00:00 0
>> 41793000-42193000 rw-p 41793000 00:00 0
>> 42193000-42194000 ---p 42193000 00:00 0
>> 42194000-42b94000 rw-p 42194000 00:00 0
>> 42b94000-42b95000 ---p 42b94000 00:00 0
>> 42b95000-43595000 rw-p 42b95000 00:00 0
>> 43595000-43596000 ---p 43595000 00:00 0
>> 43596000-43f96000 rw-p 43596000 00:00 0
>> 43f96000-43f97000 ---p 43f96000 00:00 0
>> 43f97000-44997000 rw-p 43f97000 00:00 0
>> 44997000-44998000 ---p 44997000 00:00 0
>> 44998000-45398000 rw-p 44998000 00:00 0
>> 45398000-45399000 ---p 45398000 00:00 0
>> 45399000-45d99000 rw-p 45399000 00:00 0
>> 45d99000-45d9a000 ---p 45d99000 00:00 0
>> 45d9a000-4679a000 rw-p 45d9a000 00:00 0
>> 4679a000-4679b000 ---p 4679a000 00:00 0
>> 4679b000-4719b000 rw-p 4679b000 00:00 0
>> 4719b000-4719c000 ---p 4719b000 00:00 0
>> 4719c000-47b9c000 rw-p 4719c000 00:00 0
>> 47b9c000-47b9d000 ---p 47b9c000 00:00 0
>> 47b9d000-4859d000 rw-p 47b9d000 00:00 0
>> 4859d000-4859e000 ---p 4859d000 00:00 0
>> 4859e000-48f9e000 rw-p 4859e000 00:00 0
>> 48f9e000-48f9f000 ---p 48f9e000 00:00 0
>> 48f9f000-4999f000 rw-p 48f9f000 00:00 0
>> 4999f000-499a0000 ---p 4999f000 00:00 0
>> 499a0000-4a3a0000 rw-p 499a0000 00:00 0
>> 4a3a0000-4a3a1000 ---p 4a3a0000 00:00 0
>> 4a3a1000-4ada1000 rw-p 4a3a1000 00:00 0
>> 4ada1000-4ada2000 ---p 4ada1000 00:00 0
>> 4ada2000-4b7a2000 rw-p 4ada2000 00:00 0
>> 4b7a2000-4b7a3000 ---p 4b7a2000 00:00 0
>> 4b7a3000-4c1a3000 rw-p 4b7a3000 00:00 0
>> 4c1a3000-4c1a4000 ---p 4c1a3000 00:00 0
>> 4c1a4000-4cba4000 rw-p 4c1a4000 00:00 0
>> 4cba4000-4cba5000 ---p 4cba4000 00:00 0
>> 4cba5000-4d5a5000 rw-p 4cba5000 00:00 0
>> 4d5a5000-4d5a6000 ---p 4d5a5000 00:00 0
>> 4d5a6000-4dfa6000 rw-p 4d5a6000 00:00 0
>> 4dfa6000-4dfa7000 ---p 4dfa6000 00:00 0
>> ___________________________________________________________________________
>>
>>
>>
>> Best wishes,
>> Zeng
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
>> Microsoft is holding a special Learn Windows Azure training event for
>> developers. It will provide a great way to learn Windows Azure and what it
>> provides. You can attend the event by watching it streamed LIVE online.
>> Learn more at http://p.sf.net/sfu/ms-windowsazure
>> _______________________________________________
>> CLucene-developers mailing list
>> CLucene-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>>
>
>------------------------------------------------------------------------------
>Write once. Port to many.
>Get the SDK and tools to simplify cross-platform app development. Create 
>new or port existing apps to sell to consumers worldwide. Explore the 
>Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>http://p.sf.net/sfu/intel-appdev
>_______________________________________________
>CLucene-developers mailing list
>CLucene-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/clucene-developers
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to