Hi,

At Sun, 17 Sep 2006 06:06:16 +0900,
Bil Kleb wrote in [ruby-talk:214786]:
>   ossl_bio.c: In function `ossl_obj2bio':
>   ossl_bio.c:23: called object is not a function
>   make: *** [ossl_bio.o] Error 1
> 
> Does this error look familiar to anyone?
> 
>      21      if (TYPE(obj) == T_FILE) {
>      22          OpenFile *fptr;
>    > 23          GetOpenFile(obj, fptr);
>      24          rb_io_check_readable(fptr);
>      25          bio = BIO_new_fp(fptr->f, BIO_NOCLOSE);
>      26      }

Can't you show the preprocessed result?

$  gcc -I. -I../.. -I../../. -I../.././ext/openssl \
   -DRUBY_EXTCONF_H=\"extconf.h\" \
   -I/users/kleb/local/openssl/include  -fPIC -g -O2 \
   -E ossl_bio.c | sed -n /^ossl_obj2bio/,/^}/p

would show the corresponding portion.

-- 
Nobu Nakada