Project

General

Profile

Actions

Backport #1174

closed

compilation error with OpenSSL 0.9.8j

Added by mbabej (Michal Babej) over 15 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
[ruby-core:22229]

Description

=begin
On an x86_64 system with openssl 0.9.8j, ruby-1.8.6-p287 fails to build openssl extension:

compiling openssl
make[1]: Entering directory `/home/mike/ruby-1.8.6-p287/ext/openssl'
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H="extconf.h" -fPIC -O2 -fno-stack-protector -c ossl_x509name.c
In file included from ossl.h:197,
from ossl_x509name.c:11:
openssl_missing.h:123: error: conflicting types for ‘BN_rand_range’
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/include-fixed/openssl/bn.h:420: error: previous declaration of ‘BN_rand_range’ was here
openssl_missing.h:124: error: conflicting types for ‘BN_pseudo_rand_range’
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/include-fixed/openssl/bn.h:421: error: previous declaration of ‘BN_pseudo_rand_range’ was here

I have tracked down the problem here:
http://cvs.openssl.org/filediff?f=openssl/crypto/bn/bn.h&v1=1.125&v2=1.126

ruby 1.8.7 builds without error.
=end

Actions #1

Updated by marcandre (Marc-Andre Lafortune) about 15 years ago

  • Category set to build

=begin

=end

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby 1.8 to Backport187
  • Description updated (diff)
  • Status changed from Open to Closed
  • Target version deleted (Ruby 1.8.6)
  • ruby -v deleted (ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux])
Actions

Also available in: Atom PDF

Like0
Like0Like0