Solaris 9, Apache 2.044, PHP 4.3.1 - too few arguments ti function 'readdir_r'
| From: | Jeffrey M. Johnson | Date: | Wed, 26 Feb 2003 15:24:48 +0000 |
| Subject: | Solaris 9, Apache 2.044, PHP 4.3.1 - too few arguments ti function 'readdir_r' | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10201@lists.php.net to get a copy of this message | ||
I am attempting to upgrade to the latest version of Apache and PHP on a
Solaris 9 server and have the following error. (I searched the web and
found many cases of this error but no solutions.) All of the software has
been updated to the latest versions (gcc make .....)
/bin/sh libtool --silent --mode=compile
gcc -Imain/ -I/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/main/ -
DPHP_ATOM_INC -I/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/includ
e -I/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/main -I/export/hom
e/jjohnson/apache-2.0.44-install/php-4.3.1 -I/usr/local/apache-2.0.44/includ
e -I/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/Zend -I/usr/local/
mysql/include -I/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/ext/xm
l/expat -D_POSIX_PTHREAD_SEMANTICS -I/export/home/jjohnson/apache-2.0.44-in
stall/php-4.3.1/TSRM -g -O2 -prefer-pic -c
/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/main/reentrancy.c -o
main/reentrancy.lo
/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/main/reentrancy.c: In
function `php_readdir_r':
/export/home/jjohnson/apache-2.0.44-install/php-4.3.1/main/reentrancy.c:106:
too few arguments to function `readdir_r'
make: *** [main/reentrancy.lo] Error 1
gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2/specs
Configured with:
../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/
as
Thread model: posix
gcc version 3.2.2
make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Any thoughts?
Jeff