Bodo Moeller <[EMAIL PROTECTED]> writes:
>> > Was there ever a resolution on this (I wasn't on the list when it
>> > was sent)? I'm seeing the same thing on i586-whatever-netbsd.
>>
>> I don't think the problem was resolved. You say you see the same --
>> does your NetBSD really not provide a declaration of fileno in <stdio.h>?
The problem is that OpenSSL tries to build with -D_ANSI_SOURCE. This
is properly interpreted to mean that *only* ANSI C features should be
exported by the header files, and fileno() is not defined by ANSI
(since file descriptors are a POSIX concept).
I have -D_ANSI_SOURCE removed from the NetBSD-x86 line in Configure,
and it works fine. I note that the FreeBSD line has -D_ANSI_SOURCE
removed, and none of the other NetBSD-* have it at all.
I'd send in a patch, but I'm in the US.
Marc
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]