Hi Bob,
Yes, 5.2.1 compiles out of the box with GCC 3.3. The patch was only
requried for using 4.0. I'm still not sure why you wouldn't just apply
it by hand? In fact, you don't even need the huge chunk at the bottom,
just the one-liners at the top.
Anyway, if you changed compilers, did you rebuild all of your files?
Mixing objects from different compiler versions isn't generally a good
idea.
Kevin
Bob McCown wrote:
The continuing saga...
I changed the makefile to use gcc-3.3, and now libcryptopp.a build fine.
But (you knew there was a but)
I'm getting a raft of linker errors like this:
/usr/bin/ld: Undefined symbols:
CryptoPP::IteratedHashBase<unsigned
int,CryptoPP::HashTransformation>::PadLastBlock(unsigned int,unsigned char)
CryptoPP::IteratedHashBase<unsigned
int,CryptoPP::HashTransformation>::SetBlockSize(unsigned int)
CryptoPP::IteratedHashBase<unsigned
int,CryptoPP::HashTransformation>::SetStateSize(unsigned int)
CryptoPP::IteratedHashBase<unsigned
int,CryptoPP::HashTransformation>::CreateUpdateSpace(unsigned int&)
ad nauseum. Its like my app is finding the lib alright, but the lib isnt
exporting correctly?
-=Bob
(still fighting with the mac)