Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems using openssl in borland c++ builder 5

434 views
Skip to first unread message

Guillermo Gomez Villa

unread,
May 8, 2004, 3:06:27 PM5/8/04
to
Hi all,


Im programing some rutines to implement ssl in c, im using borland c++
builder 5, I had install openssl-0.9.7d, but when I compile and link my
source code the msg "[Linker Error] Unresolved external
'_BN_generate_prime' referenced' and more same errors , I know it is
problem with lib config in borland, I had configure but they don't work
too.

Any can I help me !!!

Thanks !!!!


______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

Thomas J. Hruska

unread,
May 8, 2004, 8:55:39 PM5/8/04
to
At 02:05 PM 5/8/2004 -0500, Guillermo Gomez Villa writeth:

>Hi all,
>
>Im programing some rutines to implement ssl in c, im using borland c++
>builder 5, I had install openssl-0.9.7d, but when I compile and link my
>source code the msg "[Linker Error] Unresolved external
>'_BN_generate_prime' referenced' and more same errors , I know it is
>problem with lib config in borland, I had configure but they don't work
>too.

Did you build it yourself or did you use the Win32 OpenSSL Installation
Project?

http://www.slproweb.com/products/Win32OpenSSL.html

It just sounds like you aren't linking to the right .lib files or that the
.lib files you have were generated from MSVC++ or the .lib files were not
copied to Borland's LIB directory. Just a few ideas...


Hope this helps!


Thomas J. Hruska -- shine...@shininglightpro.com
Shining Light Productions -- "Meeting the needs of fellow programmers"
http://www.slproweb.com/

`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~.,_,.~-*'`'*-~
Why spend more for the same functionality that is in ColdFusion?
Try Nuclear Vision today!

http://www.slproweb.com/products/nvml.html

Announcing Nuclear Vision v2.0:
Easy to learn, easy to use, and has unlimited precision math
capabilities.

Guillermo Gomez Villa

unread,
May 8, 2004, 10:04:23 PM5/8/04
to
I used both forms, first I had download source code, I had compiled it
and all ok
, copy .lib files to borland library, and ssl/include files to borland
include directory, but when I want built in the program say [Linker
Error] Unresolved external. Then im download binaries files and install
use setup ssl program, but the problem is the same.
=20

-----Mensaje original-----
De: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] En nombre de Thomas J. Hruska
Enviado el: S=E1bado, 08 de Mayo de 2004 07:54 p.m.
Para: openss...@openssl.org
Asunto: Re: Problems using openssl in borland c++ builder 5

At 02:05 PM 5/8/2004 -0500, Guillermo Gomez Villa writeth:
>Hi all,

>=20

Thomas J. Hruska

unread,
May 9, 2004, 12:00:13 AM5/9/04
to
At 09:03 PM 5/8/2004 -0500, Guillermo Gomez Villa writeth:

>I used both forms, first I had download source code, I had compiled it
>and all ok
>, copy .lib files to borland library, and ssl/include files to borland
>include directory, but when I want built in the program say [Linker
>Error] Unresolved external. Then im download binaries files and install
>use setup ssl program, but the problem is the same.

That's weird. Did you add the necessary .lib files to your project? Also,
do the exports that the linker is expecting actually match the exports in
the DLL (you'll have to get your hands on depends.exe for this).

Guillermo Gomez Villa

unread,
May 9, 2004, 1:11:06 AM5/9/04
to
Working !!!!

Thanks !!! =20

-----Mensaje original-----
De: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] En nombre de Thomas J. Hruska

Enviado el: S=E1bado, 08 de Mayo de 2004 10:58 p.m.
Para: openss...@openssl.org
Asunto: RE: Problems using openssl in borland c++ builder 5

0 new messages