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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 13 = ?
Subscribe to this entry?

 
 [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: Mon Apr 29 11:01:32 2024 UTC