Thanks to the responses I was able to get openssl compiled in debug mode.
Once I removed the optimization flag from the make file my compiler error
went away. I've since traced through the code and it leaves me pretty much
just as puzzled as before.
The function ssl3_client_hello in s3_clnt.c is
Hello,
Thanks to the responses I was able to get openssl compiled in debug
mode. Once I removed the optimization flag from the make file my
compiler error went away. I've since traced through the code and it
leaves me pretty much just as puzzled as before.
Without optimization library may
I am trying to open a client ssl connection and SSL_connect() is returning
-1 on my HPUX port of my code. Note this exact code currently works
(connects successfully and can send and receive data) on Linux, SunOS,
INTERIX(Windows Services for UNIX).
What I know
SSL_connect() returns -1
errno is
this is exactly the symptom i got when the optimiser on my compiler
got a few things confused and SSL_connect() was thinking a simple
allocation had failed when it had in fact succeeded. i got round that
by building a library without the optimiser flags.
can you do a regular ./configure? if
Thanks for the quick response. Unfortunately I run into a compilation error
when trying to compile in debug mode (I had not compiled the libraries
before as I obtained precompiled libraries). Unfortunately I am stuck on
gcc 2.8.1 and can't install a new compiler and I'm afraid that may prevent
yuck.
ok in that case just try getting rid of the optimiser flags? worked for me.
that's all i can suggest...
Thanks for the quick response. Unfortunately I run into a
compilation error when trying to compile in debug mode (I had not
compiled the libraries before as I obtained precompiled
Hello,
Thanks for the quick response. Unfortunately I run into a compilation
error when trying to compile in debug mode (I had not compiled the
libraries before as I obtained precompiled libraries). Unfortunately
I am stuck on gcc 2.8.1 and can't install a new compiler and I'm
afraid that
Hello,
and now to switch to new gcc compiler you should only set:
$ export PATH=/usr/local/gcc-4.1.1/bin
Should be:
$ export PATH=/usr/local/gcc-4.1.1/bin:$PATH
Best regards,
--
Marek Marcola [EMAIL PROTECTED]