From: John Caruso <[EMAIL PROTECTED]> Date: Fri Feb 21, 2003 5:57:14 PM US/Central To: [EMAIL PROTECTED] Subject: Test for THREADS in thread.c (in nsopenssl 2.1)
I'm in the process of (re)building nsopenssl 2.1 using openssl 0.9.7a, and I ran into one problem. In thread.c there's the following test:
#ifndef THREADS #error "OpenSSL was not compiled with thread support!" #endif
But it appears that in openssl 0.9.7a the macro name is now OPENSSL_THREADS, not THREADS (and they also don't reference OPENSSL_THREAD_DEFINES anymore to determine whether or not to set this--it's set unconditionally). I checked the nsopenssl 2.2beta7 tarball and it looks like it hasn't been updated to reflect the changed macro name either.
I got around it by defining CFLAGS="-DTHREADS" before the compilation, but long-term I'm assuming you'll want to change this in the code.
- John
On Wednesday, March 5, 2003, at 04:27 PM, Peter M. Jansson wrote:
I updated one of my systems to RH 8.0, and then updated OpenSSL to 0.9.7, and now I'm having trouble compiling nsopenssl 2.1 from the tarball on ScottG's site. Anyone else have similar troubles? I'm digging in to try to figure it out, but I thought I'd ask the crew, in case someone else has an answer.
One difference is that OpenSSL 0.9.6 appears to define a symbol "THREADS" to indicate that OpenSSL was built for threads, while OpenSSL 0.9.7 defines "OPENSSL_THREADS", but that's easy enough to fix. I'm guessing most of my troubles are coming from a newer gcc being a little more pedantic (which I didn't think was possible).
Thanks, Pete.
I. To remove yourself from this list:
Send a message to "[EMAIL PROTECTED]" with the following text in the BODY of your message:
signoff aolserver
II. For a complete list of listserv options please visit:
http://listserv.aol.com/
III. For more AOLserver information please visit:
http://www.aolserver.com/
I. To remove yourself from this list:
Send a message to "[EMAIL PROTECTED]" with the following text in the BODY of your message:
signoff aolserver
II. For a complete list of listserv options please visit:
http://listserv.aol.com/
III. For more AOLserver information please visit:
http://www.aolserver.com/