php.net |  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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani
 [2000-12-07 12:04 UTC] sniper@php.net
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/

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