Hi Jim,
also i have tested the cryptest.exe program with the option g, also cryptest.exe g the program runs the same code, as my testprogram. In the cryptest.exe program, compiled with the GNUMakefile, it works. If i copy the relevant code in a separate file and compile it with : g++ -o mytest -g -msse2 -pipe mytest.cpp -lcryptopp
The compile is succesful but the program aborts. I have included the exception handling, and this is the output :
CryptoPP::Exception caught: NameValuePairs: type mismatch for 'RandomNumberType', stored 'i', trying to retrieve 'N8CryptoPP7Integer16RandomNumberTypeE'
Help this ?
Torsten
James Vanns schrieb:
Hmm, so the app linked fine (against the cryptopp library)? You could try and look at the symbols (using 'nm' and grep) to see if the cryptopp functions do appear (it being c++ they're probably a little mangled).
Compile it with debugging info and run it from gdb. Then do a stack trace (bt) and post the output. This may not help much but it's a start.
What version of gcc and ld are you using? Oh BTW the obvious thing is of course to add exception handling in your program so you can catch the exception and at least print out what it says rather than just letting it abort.
Jim
On Tue, 2004-07-13 at 16:43, MrWebLover wrote:
