From: Akinori MUSHA Date: 2003-02-24T22:12:41+09:00 Subject: Re: OpenSSL for Ruby 0.2.0-pre0 Hi, I tried to compile it on my FreeBSD 5.0-CURRENT box and got the following error: /usr/local/bin/gcc -fPIC -O -pipe -fPIC -I. -I/usr/local/lib/ruby/1.8/i386-freebsd5 -I/usr/local/lib/ruby/1.8/i386-freebsd5 -I. -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_STRPTIME -DHAVE_OPENSSL_CRYPTO_H -I/usr/include -I/usr/local/include -c ossl.c ossl.c: In function `asn1time_to_time': ossl.c:67: invalid operands to binary - *** Error code 1 The box has OpenSSL 0.9.7a and uses gcc 3.2.2 as C compiler. On line 67 of ossl.c I read: [ossl.c] 67 return rb_time_new(mktime(&tm) - timezone, 0); What did you really mean by "timezone" here? I'm sure you didn't mean char *timezone() of libc only to make gcc 3.2.2 mad as shown above. :) Any ideas? -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "It went right by me -- At the time it went over my head I was looking out the window.. I should have looked at your face instead"