|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-04 22:21 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 01:00:01 2025 UTC |
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.