[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cloop compilation error `m_Probability' undeclared



Hello,

Is this list the best place to post a question regarding cloop compilation? If not, where? Thanks

Here it is:
I am trying to compile cloop on Mandriva 2005LE. It used to work very well under Mandrake 10.0 (with only a "touch /usr/src/linux/conf.vars"), but now I get these errors:
======================================================================
g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o 7zlzma.o `test -f '7z/7zlzma.cc' || echo './'`7z/7zlzma.cc
In file included from 7z/BitTreeCoder.h:4,
                 from 7z/LenCoder.h:4,
                 from 7z/LZMA.h:1,
                 from 7z/LZMAEncoder.h:6,
                 from 7z/7zlzma.cc:3:
7z/AriBitCoder.h: In member function `void NCompression::NArithmetic::CBitEncoder<aNumMoveBits>::Encode(NCompression::NArithmetic::CRangeEncoder*, UINT32)': 7z/AriBitCoder.h:54: error: `m_Probability' undeclared (first use this function) 7z/AriBitCoder.h:54: error: (Each undeclared identifier is reported only once for each function it appears in.) 7z/AriBitCoder.h:55: error: there are no arguments to `UpdateModel' that depend on a template parameter, so a declaration of `UpdateModel' must be available 7z/AriBitCoder.h:55: error: (if you use `-fpermissive', G++ will accept your code, but allowing the useof an undeclared name is deprecated) 7z/AriBitCoder.h: In member function `UINT32 NCompression::NArithmetic::CBitEncoder<aNumMoveBits>::GetPrice(UINT32) const': 7z/AriBitCoder.h:60: error: `m_Probability' undeclared (first use this function) 7z/AriBitCoder.h: In member function `UINT32 NCompression::NArithmetic::CBitDecoder<aNumMoveBits>::Decode(NCompression::NArithmetic::CRangeDecoder*)': 7z/AriBitCoder.h:71: error: `m_Probability' undeclared (first use this function)
make[1]: *** [7zlzma.o] Erreur 1
make[1]: Leaving directory `/home/yann/kaella/cloop/cloop_2.01-5/advancecomp-1.9_create_compressed_fs'
make: *** [advancecomp-1.9_create_compressed_fs/advfs] Erreur 2
======================================================================
Some more information :
# uname -a
Linux lns-vlq-26-nic-82-254-173-217.adsl.proxad.net 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Celeron(R) CPU 2.00GHz unknown GNU/Linux
# rpm -qa |grep kernel
kernel-source-2.6-2.6.11-6mdk
kernel-2.6.11.6mdk-1-1mdk

Searching with Google, I could another guy with this problem, but without answer yet.

Thanks for your help!

Yann
--
___________________________________________________________________
     Yann Cochard, yann@cactuspro.com, http://yanncochard.com/
         Au Cactus Francophone : http://www.cactuspro.com/


Reply to: