ID: 41699 Updated by: [EMAIL PROTECTED] Reported By: webtech at get-telecom dot fr -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Solaris 10 (AMD64) PHP Version: 5.2.3 New Comment:
Do you have some CFLAGS / CPPFLAGS set before running configure / make ? Previous Comments: ------------------------------------------------------------------------ [2007-06-15 09:40:19] webtech at get-telecom dot fr Description: ------------ I've tried to compile PHP 5.2.3 on Solaris 10 (AMD64) with gcc 4.1.2. Everything's OK when compiling with gcc 3.4.1 but with gcc 4.1.2, I've this following error : /opt/gcc412/lib/../lib/gcc/i386-pc-solaris2.10/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /opt/gcc412/lib/../lib/gcc/i386-pc-solaris2.10/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." I've seen the bug #34977 but it seems to be fixed in PHP 5.2.3. Expected result: ---------------- Compile OK. Actual result: -------------- /bin/sh /www/src/php-5.2.3/libtool --silent --preserve-dup-deps --mode=compile gcc -DNOT_RUBY -DHAVE_CONFIG_H -Iext/mbstring/ -I/www/src/php-5.2.3/ext/mbstring/ -DPHP_ATOM_INC -I/www/src/php-5.2.3/include -I/www/src/php-5.2.3/main -I/www/src/php-5.2.3 -I/usr/pkg/include/libxml2 -I/usr/pkg//include -I/www/src/php-5.2.3/ext/date/lib -I/www/src/php-5.2.3/ext/mbstring/oniguruma -I/www/src/php-5.2.3/ext/mbstring/libmbfl -I/www/src/php-5.2.3/ext/mbstring/libmbfl/mbfl -I/db/mysql/include -I/www/src/php-5.2.3/TSRM -I/www/src/php-5.2.3/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/pkg/include -I/usr/include -g -O2 -c /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c -o ext/mbstring/oniguruma/regerror.lo In file included from /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:37: /opt/gcc412/lib/../lib/gcc/i386-pc-solaris2.10/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /opt/gcc412/lib/../lib/gcc/i386-pc-solaris2.10/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c: In function 'onig_error_code_to_str': /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:196: error: expected declaration specifiers before 'va_dcl' /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:265: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OnigUChar' /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:271: error: expected declaration specifiers before 'va_dcl' /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:270: error: declaration for parameter 'fmt' but no such parameter /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:269: error: declaration for parameter 'pat_end' but no such parameter /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:268: error: declaration for parameter 'pat' but no such parameter /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:267: error: declaration for parameter 'enc' but no such parameter /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:266: error: declaration for parameter 'bufsize' but no such parameter /www/src/php-5.2.3/ext/mbstring/oniguruma/regerror.c:334: error: expected '{' at end of input gmake: *** [ext/mbstring/oniguruma/regerror.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41699&edit=1