From the php-4.0.2 tarball teh readdir function will not compile. I've reinstalled everything on my system and refreshed every rpm. The following is the details. Any thoughts? Thanks.
Here's my configure options:
/configure --with-mysql --with-apxs --with-xml --enable-magic-quotes --enable-track-vars >& conf.dat
It detects the following:
$grep readdir conf-r.dat
checking for readdir_r... yes
checking for type of readdir_r... old-style <-- problem
checking args to readdir_r... POSIX
make returns the following error:
reentrancy.c: In function php_readdir_r':
reentrancy.c:106: too few arguments to functionreaddir_r'
make[2]: [reentrancy.lo] Error 1
make[2]: Leaving directory /home/rianders/tarballs/php-4.0.2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/home/rianders/tarballs/php-4.0.2/main'
make: [all-recursive] Error 1