PHP 4.0 Bug #7675: configure fails to set HAVE_POSIX_READDIR_R
| From: | anothy at cosym dot net | Date: | Tue, 07 Nov 2000 06:37:06 +0000 |
| Subject: | PHP 4.0 Bug #7675: configure fails to set HAVE_POSIX_READDIR_R | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37331@lists.php.net to get a copy of this message | ||
From: anothy@cosym.net
Operating system: Solaris 2.6
PHP version: 4.0.3pl1
PHP Bug Type: *Configuration Issues
Bug description: configure fails to set HAVE_POSIX_READDIR_R
from a fresh distribution of php 4.0.3pl1, configure completes without errors, but 'make'
then fails compiling main/reentrancy.c due to the missing #define of HAVE_POSIX_READDIR_R. adding
this definition to the cc line for reentrancy.c lets it compile, but fails in linking (undefined
symbol).
Solaris' readdir_r is Posix-compliant and configure should set #defines acordingly.
adding the line '#define HAVE_POSIX_READDIR_R' to php_config.h after configure but before
make corrects this problem.
--
Edit Bug report at: http://bugs.php.net/?id=7675&edit=1