Problems with Crypto++ in debian - more facts
I just stated that my problems with compilation of Crypto++ 3.0 result
from commenting out of definition of "auto_ptr" in egcs's include file
"memory".
I have uncommented this definition and corrected the "release" method:
/usr/include/g++/memory
...
X* operator->() const __STL_NOTHROW { return ptr; }
X* get() const __STL_NOTHROW { return ptr; }
X* release() const __STL_NOTHROW { owns = false; return ptr; }
};
...
Now when I try to compile the library I get:
$ make
c++ -c test.cpp
test.cpp:208: Internal compiler error.
test.cpp:208: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [test.o] Error 1
I'm not sure if I really should report this bug to the
egcs-bugs@cygnus.com, because the egcs in hamm is VERY old.
Does it mean it is the time to upgrade to slink?
TIA
Wojtek Zabolotny
wzab@ise.pw.edu.pl
PS
Correction of "memory" include file let me to compile the old
crypto23.zip sources. However, running of "cryptest.exe v" ended
with segmentation fault:
Program received signal SIGSEGV, Segmentation fault.
0x807cabb in ECPrivateKey<EC2N>::~ECPrivateKey (this=0xbffff230,
__in_chrg=0)
at eccrypto.h:76
76 ~ECPrivateKey();
Reply to: