#34738 [Opn->Bgs]: In this statement, "__getpgid" expects 1 arguments

From: Date: Tue, 04 Oct 2005 20:21:17 +0000
Subject: #34738 [Opn->Bgs]: In this statement, "__getpgid" expects 1 arguments
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86027@lists.php.net to get a copy of this message
ID: 34738 Updated by: tony2001@php.net Reported By: wlgivens at southkc dot net -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: RedHat [Alpha Linux] PHP Version: 5.0.5 New Comment: There is no need to open yet another one report. Add details to the original one. Previous Comments: ------------------------------------------------------------------------ [2005-10-04 22:08:20] wlgivens at southkc dot net Description: ------------ Receiving the following error on build: 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); --------^ make: *** [ext/posix/posix.lo] Error 1 Reproduce code: --------------- #endif /* }}} */ /* {{{ proto int posix_getpgrp(void) Get current process group id (POSIX.1, 4.3.1) */ PHP_FUNCTION(posix_getpgrp) { PHP_POSIX_RETURN_LONG_FUNC(getpgrp); */OFFENDING LINE */ } /* }}} */ /* {{{ proto int posix_setsid(void) Create session and set process group id (POSIX.1, 4.3.2) */ #ifdef HAVE_SETSID PHP_FUNCTION(posix_setsid) Expected result: ---------------- to build and be on my way... I also noticed that PHP has some issues when it comes to loading modules but thats another, more detailed bug report... Merry Xmas Actual result: -------------- Run the following commands: CC="ccache ccc" CXX="ccache cxx" \ CFLAGS="-O5 -arch ev56 -w -std -pipe -D_BSD_SOURCE" \ CXXFLAGS="-O5 -arch ev56 -w -pipe -std ansi -D__USE_STD_IOSTREAM" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --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 *spare me the fucking comments concerning CFLAGS and LIBTOOl editing. IF you wrote STANDARD ANSI CODE I wouldn't have the error. I am so tired of people trying to find any thing else they can to blame this error on. If it has NOTHING to do with the error [too few arguements,] please DON'T respond. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34738&edit=1

« previous php.bugs (#86027) next »