On Sun, Oct 15, 2006 at 08:18:59PM +0200, ThMO via RT wrote:
>
> Hello,
>
> I've attached a small unified diff, fixing a problem:
>
> crypto/rand/rand_unix.c:
> linux kernel v2.0.35 doesn't support the `poll' system call, so this
> file will only compile with the patch applied.
> I've enclosed it inside an #ifdef checking for the symbol HAVE_POLL_H,
> which `./Configure' should check for and using select() instead.


I thought poll() just used select() internaly in those version of the
kernel?

> ./config shared...:
> a shared library build compiles all files using -fPIC, which is
> correct for a shared library, but not for a static one, since refer=
> ences to global variables are encoded more time-consuming, while -fPIC
> is active, which means that for a static build, the package need to be
> configured a second time:


Yes, if you want both a shared and static lib, the best thing to do is
build everything twice, once using -fPIC and once without, and I don't
see what you want to change about it?


Kurt

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org