|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7675 configure fails to set HAVE_POSIX_READDIR_R
Submitted: 2000-11-07 07:37 UTC Modified: 2000-12-07 12:04 UTC
From: anothy at cosym dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.3pl1 OS: Solaris 2.6
Private report: No CVE-ID: None
 [2000-11-07 07:37 UTC] anothy at cosym dot net
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-08 00:52 UTC]
I fixed this one're using Sun CC, right? 
Please try the latest snapshot.

 [2000-12-07 12:04 UTC]
Reopen, if this still happens when using latest snapshot

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 13:01:28 2024 UTC