Hey all, I was wondering if anyone has successfully compiled Crypto4.2 or Crypto5.1 using GCC 3.3 with the -m64 flag? Crypto4.2's cryptest.exe fails validation tests with the following failures:
$ ./cryptest.exe v Testing Settings... FAILED: Your machine is neither big endian nor little endian. passed: sizeof(byte) == 1 passed: sizeof(word16) == 2 FAILED: sizeof(word32) == 8 passed: sizeof(word64) == 8 FAILED: sizeof(word) == 8, sizeof(dword) == 8 FAILED: HIGH_WORD() and LOW_WORD() macros Some critical setting in config.h is in error. Please fix it and recompile. Abort (core dumped) And crypto5.1 fails with compilation errors: g++ -g -m64 -pipe -c default.cpp misc.h: At global scope: misc.h: In instantiation of `CryptoPP::CompileAssert<false>': cryptlib.cpp:17: instantiated from here misc.h:22: error: creating array with size zero (`-1') The following is my uname -a and gcc -v output: uname -a: SunOS sunny3 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-2 gcc -v: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 3.3 Any help would be appreciated. Thanks in advance. Regards, James __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
