Has anybody ever used profiling(CFLAGS=-pg) to analyze  the amount of time 
spent in each routine in openssl? I tried it in openssl-engine-0.9.6. But 
the option -pg seemed to conflict with the option of  -fomit-frame-pointer, 
so I got rid of the latter. But when I tried to do speed test(apps/openssl 
speed -engine cswift), it failed. THe following is the error message:

can't use that engine
6653:error:25067066:DSO support routines:DLFCN_LOAD:could not load the 
shared library:dso_dlfcn.c:157:
6653:error:25072066:DSO support routines:DSO_load:could not load the shared 
library:dso_lib.c:230:
6653:error:26065068:engine routines:CSWIFT_INIT:DSO failure:hw_cswift.c:271:
6653:error:2607E06D:engine routines:ENGINE_SET_DEFAULT_TYPE:init 
failed:engine_lib.c:399:
error in speed

I'm using FreeBSD 4.1. I did add -DDSO_DLFCN -DHAVE_DLFCN_H when I did 
config, and there was no problem when I didn't use profiling. Only when I 
added -pg and got rid of -formit-frame-pointer did this problem exist. Does 
anybody has such experience? Please give me some hint.



Thanks a lot,
Jennifer
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to