|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-09-04 05:17 UTC] wlgivens at southkc dot net
Description:
------------
Receiving the error below on the following hardware/software:
AlphaPC 164SX
Redhat [Alpha]
Kernel-2.6.11.6
Compaq C 6.5.9
Binutils-2.19.0.x
Make-3.80
[root@jericho php-5.0.4]# /bin/sh /usr2/www/linux-related/programming/php-4x/php-5.0.4/libtool --silent --preserve-dup-deps --mode=compile ccache ccc -Iext/posix/ -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/ -DPHP_ATOM_INC -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/include -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/main -I/usr2/www/linux-related/programming/php-4x/php-5.0.4 -I/usr/include/libxml2 -I/usr/include/mysql -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/TSRM -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/Zend -O -w -std -pipe -D_BSD_SOURCE -c /usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c -o ext/posix/posix.lo
cc: Error: /usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c, line 338: In this statement, "__getpgid" expects 1 arguments, but 0 are supplied. (toofewargs)
PHP_POSIX_RETURN_LONG_FUNC(getpgrp);
Reproduce code:
---------------
just simply run:
CC="ccache ccc" CXX="ccache cxx" \
CFLAGS="-O5 -fast -w -arch ev56 -w -std -pipe -D_BSD_SOURCE" \
CXXFLAGS="-O5 -fast -fast -arch ev56 -w -pipe\
-std ansi -nousing_std -D__USE_STD_IOSTREAM" \
./configure \
--prefix=/usr \
--sysconfdir=/etc/X11 \
--build=alphapca56-alpha-linux-gnu \
--enable-shared \
--with-apxs2=/usr/apache2/bin/apxs \
--with-apache2=shared,/usr/apache2 \
--with-mysql \
--with-gettext \
--with-openssl-dir=/usr \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-freetype-dir=/usr \
--enable-exif \
--with-openssl=shared,/usr \
--with-pgsql=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-snmp
sed -e 's/wl=""/wl="-Wl,"/g' libtool > TMP
mv TMP libtool
chmod 755 libtool
make > MAKE_LOG 2>&1 &
tail -f MAKE_LOG
Expected result:
----------------
PHP to build/install, and everything would be alright in the world.
Actual result:
--------------
crash/burn
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 03:00:01 2025 UTC |
Well tried both the PHP-4.x CVS release and PHP-5.0.5 and the error persists. It seems that it would be a simple fix, a lot faster than fucking around on this board every other day trying to come up with excuses why it doesn't compile when the error says it all. cc: Error: /usr2/www/linux-related/programming/php-5x/php-5.0.5/ext/posix/posix.c, line 349: In this statement, "__getpgid" expects 1 arguments, but 0 are supplied. (toofewargs) PHP_POSIX_RETURN_LONG_FUNC(getpgrp); --------^ Same error as when previous releases. Is there some patch to fix this error? How fucking hard is it to supply an 'argument'?