php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24648 Compile failure with apache_1.3.26 php-4.3.2 (static build)
Submitted: 2003-07-14 13:25 UTC Modified: 2003-07-20 10:41 UTC
From: bergansk at daac dot gsfc dot nasa dot gov Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.3.2 OS: IRIX 6.5.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bergansk at daac dot gsfc dot nasa dot gov
New email:
PHP Version: OS:

 

 [2003-07-14 13:25 UTC] bergansk at daac dot gsfc dot nasa dot gov
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)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-20 10:41 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC