From: bergansk at daac dot gsfc dot nasa dot gov Operating system: IRIX 6.5.18 PHP version: 4.3.2 PHP Bug Type: Apache related Bug description: apache_1.3.26 php-4.3.2
Description: ------------ Installing on an SGI IRIX 6.5.18 apache was already on the system working -- the php-4.3.2 was built and installed now recompiling apache_1.3.26 with php module I ran BASELINE=dev CC="cc -o32" ./configure --prefix=/usr/LOCAL/etc/httpd-$BASELINE --enable-module=auth_db --enable-module=auth_dbm --server-uid=wwwuser --server-gid=wwwuser --mandir=/usr/local/man --activate-module=src/modules/perl/libperl.a --enable-module=rewrite --activate-module=src/modules/php4/libphp4.a then I ran make and got the following errors Starting errors : libperl.a <=== src/modules/perl ===> src/modules/php4 cc -o32 -c -I../.. -I/usr/local/lib/perl5/5.6.0/IP27-irix/CORE -I../../os/unix -I../../include -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` -DIRIX -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/local/include -DLANGUAGE_C -I/usr/local/src/php-4.3.2/main -I/usr/local/src/php-4.3.2/Zend -I/usr/local/src/php-4.3.2/TSRM -I/usr/local/src/php-4.3.2 -I/usr/local/src/php-4.3.2/sapi/apache -I/usr/local/src/php-4.3.2/main -I/usr/local/src/php-4.3.2/Zend -I/usr/local/src/php-4.3.2/TSRM mod_php4.c cc: Warning: -OPT options are ignored cc: Warning: -OPT options are ignored cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 192: Syntax Error { ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 196: Syntax Error while (arKey < arEnd) { ^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 197: Empty declaration h += (h << 5); -------------^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 198: Empty declaration h ^= (ulong) *arKey++; ---------------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_hash.h, line 200: Empty declaration specifiers return h; -------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 42: Syntax Error { ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 44: Empty declaration specifiers stack->elements = (void **) _erealloc((stack->elements), ( (sizeof(void *) * (stack->max *= 2 ))), 0 ) ; -------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 45: Syntax Error stack->top_element = stack->elements+stack->top; -----^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 45: Empty declaration specifiers stack->top_element = stack->elements+stack->top; -------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 46: Syntax Error } ^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 47: Empty declaration stack->top++; ------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 48: Syntax Error *(stack->top_element++) = ptr; -------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 48: Empty declaration specifiers *(stack->top_element++) = ptr; --------------------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 52: Syntax Error { ^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 53: Empty declaration stack->top--; ------------^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_ptr_stack.h, line 54: Empty declaration return *(--stack->top_element); ------------------------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 62: Syntax Error { ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 68: Syntax Error if (!length) { ^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 69: Empty declaration return 0; --------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 73: Syntax Error if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { -----------------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 73: Syntax Error if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { ---------------------------------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 73: Syntax Error if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { ------------------------------------------------------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 74: Empty declaration specifiers conv_base=16; ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 75: Syntax Error } ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 76: Empty declaration specifiers errno=0; ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 77: Empty declaration specifiers local_lval = strtol(str, &end_ptr_long, conv_base); ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 78: Syntax Error if (errno!=34 ) { ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 80: lval must have function type if (lval) { ----------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 83: Syntax Error return 1 ; ^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 83: Empty declaration return 1 ; ---------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 86: Empty declaration specifiers end_ptr_long=0L ; ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 87: Syntax Error } ^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 90: Empty declaration return 0; --------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 93: Empty declaration specifiers errno=0; ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 94: Empty declaration specifiers local_dval = strtod(str, &end_ptr_double); ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 95: Syntax Error if (errno!=34 ) { ^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 97: Syntax Error if (! finite(local_dval) ) { -------------------------^ cfe: Warning 625: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 99: Empty declaration return 0; --------^ cfe: Error: /usr/local/src/php-4.3.2/Zend/zend_operators.h, line 102: dval must have function type if (dval) { ----------^ cfe: Fatal: Too many errors... goodbye. *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) *** Error code 1 (bu21) -- Edit bug report at http://bugs.php.net/?id=24648&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24648&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24648&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24648&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24648&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24648&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24648&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24648&r=support Expected behavior: http://bugs.php.net/fix.php?id=24648&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24648&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24648&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24648&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24648&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24648&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24648&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24648&r=gnused