This is a discussion on Re: [openssl.org #1413] v0.9.7l: some comments - Openssl ; On Sun, Oct 15, 2006 at 08:18:59PM +0200, ThMO via RT wrote: >=20 > Hello, >=20 > I've attached a small unified diff, fixing a problem: >=20 > =B7 crypto/rand/rand_unix.c: > linux kernel v2.0.35 doesn't support the `poll' system call, ...
On Sun, Oct 15, 2006 at 08:18:59PM +0200, ThMO via RT wrote:
>=20
> Hello,
>=20
> I've attached a small unified diff, fixing a problem:
>=20
> =B7 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?
> =B7 ./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=3D
> ences to global variables are encoded more time-consuming, while -fPI=
C
> is active, which means that for a static build, the package need to b=
e
> 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