On Tue, Mar 13, 2007 at 12:05:28AM +0100, timo.tolkki wrote:
> Hi,
> I'm working to my project using KDevelop and need to use
> some OpenSSL functions!
>
> (OpenSSL seems to be correctly installed on my linux
> but when I run my test, prova_SSL.cpp I receive the following message:
>
> /tmp/cc8cdyLJ.o: In function `main':
> prova_SSL.cpp:(.text+0x114): undefined reference to `BN_generate_prime'
> prova_SSL.cpp:(.text+0x141): undefined reference to `BN_print_fp'
> prova_SSL.cpp:(.text+0x161): undefined reference to `BN_free'
> collect2: ld returned 1 exit status
>
> it seems doesn't find header files but path in my .cpp is correct!!!)
>
Perhaps you are linking with "-lssl" without "-lcrypto"...
--
Viktor.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]