<my system info>
Pentium 90MHz, 80meg ram, 2gig hard drive, Slackware Linux, rather current
kernel (whatever is the last Slackware release)
other system does the same thing is P 75MHz 32mb ram 2 gig hdd same OS

Hi, this certainly is a recurring error for me with all C archives that I
attempt to use, so this may be trivial, however OpenSSL has given me the
most trouble.

Since I use the C++ language and compile with g++, whenever it gets to the
part of making the binary with all my and OpenSSL archives the compiler
spits out a ton of "Undefined References" errors when searching the OpenSSL
archives.  This does not happen when compiling C code so I'm quite sure
that the OpenSSL archives are part of a good installation.

Like I said I've had this problem before with other C code with my C++
stuff, but it was never so difficult to get around.  I have managed to take
all the object files from the OpenSSL distribution and create my own
archive and I can successfully compile with g++ then, however that brings
into question of whether there are duplicate instances of a function and
whether the correct one is grabbed from the archive during compilation.
Anyhow from this I'm figuring that maybe the archives have references to
functions in shared libraries which I could be forgetting on the g++
command line therefore my command line looks like:

g++ -o MyProgram mylib.a moreofmylib.a /usr/local/ssl/lib/libcrypto.a
/usr/local/ssl/lib/libssl.a

note from this call I'm only using  "libcrypto.a"  "libssl.a" which is the
only stuff I know of from the OpenSSL installation.
Maybe there might be a "-lOpenSSL" library that I should be specifing on
the command line?  I haven't seen anything...  Hopefully this is all that
it is.

Any help/suggestions would be greatly appreciated.


I'm at   [EMAIL PROTECTED]    or   [EMAIL PROTECTED]  if for some
reason you don't want to converse via the group.

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

Reply via email to