php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13544 gcc fails on reentrancy.lo
Submitted: 2001-10-04 12:39 UTC Modified: 2001-11-14 06:40 UTC
From: wcm at sun dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Solaris 8
Private report: No CVE-ID: None
 [2001-10-04 12:39 UTC] wcm at sun dot com
This appears to be very similar to bud id 7162.  I edited
the php_config.h and set both HAVE_POSIX_READDIR_R and
HAVE_OLD_READDIR_R to undef and all components build
successfully.  I tried this after reading the follow up
comment in bug id 7162.

These are the configuration options:
./configure --prefix=/float/php_4.0.6 \
--with-gdbm=/float \
--with-apxs=/float/apache_1.3.20/bin/apxs \
--with-config-file-path=/float/php_4.0.6/etc \
--without-mysql

Here's the compile line and the error message:
/bin/sh /export/apache/php-4.0.6/libtool --silent --mode=compile gcc  -I. 
-I/export/apache/php-4.0.6/main -I/export/apache/php-4.0.6/main 
-I/export/apache/php-4.0.6 
-I/float/apache_1.3.20/include -I/export/apache/php-4.0.6/Zend 
-I/float/include -I/export/apache/php-4.0.6/ext/xml/expat/xmltok -I/export/apache/php-4.0.6/ext/xml/expat/xmlparse -I/export/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT -DSHARED_CORE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c reentrancy.c
reentrancy.c: In function `php_readdir_r':
reentrancy.c:109: too few arguments to function `readdir64_r'
*** Error code 1
make: Fatal error: Command failed for target `reentrancy.lo'
Current working directory /export/workspace/d11/cmckee/apache/php-4.0.6/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 10:48 UTC] sniper@php.net
Does this happen with latest CVS snapshot from http://snaps.php.net/ ?

 [2001-11-14 06:40 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 13:01:31 2024 UTC