mcrypt support

[email protected] (Rob Fisher) Wed, 10 May 2000 13:33:12 +0100
Newsgroups php.beta
Organization Schmorganization
Message-ID <[email protected]>
Has anyone had any success building mcrypt/mhash support into
PHP-4.0RC1? I'm using:

 libmcrypt-2.2.6
 mhash-0.8.1
 mcrypt-2.5.3

On Linux compilation chokes with 

microtime.c: In function `php_if_getrusage':
microtime.c:97: storage size of `usg' isn't known
microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function)
microtime.c:100: (Each undeclared identifier is reported only once
microtime.c:100: for each function it appears in.)
microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this
function) 

On Solaris (Intel and SPARC) I can build the .so, but Apache segfaults
on startup. Any pointers?


Rob