ID:               27986
 User updated by:  sandduneinfo at earthlink dot net
 Reported By:      sandduneinfo at earthlink dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: AIX 5.1
 PHP Version:      4CVS, 5CVS (2004-04-16)
 New Comment:

OK,
I made the modifications indicated, the only errors that remains is the
error about .lo being an unrecognized file extension - looked in
libtool but not sure where I make the change to accept the .lo
extension. Need a little more guidance and the "make" should succeed.
I would greatly appreciate a prompt response.


Previous Comments:
------------------------------------------------------------------------

[2004-05-06 16:46:10] [EMAIL PROTECTED]

Please try the patch below:

Index: ext/standard/array.c
===================================================================
RCS file: /repository/php-src/ext/standard/array.c,v
retrieving revision 1.199.2.32
diff -u -p -r1.199.2.32 array.c
--- ext/standard/array.c    1 Apr 2004 19:07:01 -0000   1.199.2.32
+++ ext/standard/array.c    6 May 2004 14:45:32 -0000
@@ -1692,7 +1692,7 @@ static void _phpi_pop(INTERNAL_FUNCTION_
    zval       **stack,         /* Input stack */
               **val;           /* Value to be popped */
    char *key = NULL;
-   int key_len = 0;
+   uint key_len = 0;
    ulong index;
                                                                       
                                                                       
                                                      
    /* Get the arguments and do error-checking */
Index: ext/standard/file.c
===================================================================
RCS file: /repository/php-src/ext/standard/file.c,v
retrieving revision 1.279.2.59
diff -u -p -r1.279.2.59 file.c
--- ext/standard/file.c 2 Apr 2004 16:54:44 -0000   1.279.2.59
+++ ext/standard/file.c 6 May 2004 14:45:34 -0000
@@ -909,7 +909,7 @@ static int parse_context_options(php_str
    HashPosition pos, opos;
    zval **wval, **oval;
    char *wkey, *okey;
-   int wkey_len, okey_len;
+   uint wkey_len, okey_len;
    int ret = SUCCESS;
    ulong num_key;
                                                                       
                                                                       
                                                      
Index: ext/standard/info.c
===================================================================
RCS file: /repository/php-src/ext/standard/info.c,v
retrieving revision 1.218.2.15
diff -u -p -r1.218.2.15 info.c
--- ext/standard/info.c 15 Mar 2004 16:39:53 -0000  1.218.2.15
+++ ext/standard/info.c 6 May 2004 14:45:35 -0000
@@ -357,9 +357,7 @@ PHPAPI void php_print_info_htmlhead(TSRM
    PUTS("<head>\n");
    php_info_print_style();
    PUTS("<title>phpinfo()</title>");
-/*
-   php_printf("<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=%s\" />\n", charset);
-*/
+   php_printf("<meta http-equiv=\"Content-Type\" content=\"text/html;
charset=iso-8859-1\" />\n");
    PUTS("</head>\n");
    PUTS("<body><div class=\"center\">\n");
 }
@@ -472,7 +470,7 @@ PHPAPI void php_print_info(int flag TSRM
        {
            HashTable *url_stream_wrappers_hash;
            char *stream_protocol, *stream_protocols_buf = NULL;
-           int stream_protocol_len, stream_protocols_buf_len = 0;
+           uint stream_protocol_len, stream_protocols_buf_len = 0;
            ulong num_key;
                                                                       
                                                                       
                                                      
            if ((url_stream_wrappers_hash =
php_stream_get_url_stream_wrappers_hash())) {


------------------------------------------------------------------------

[2004-04-26 18:36:07] sandduneinfo at earthlink dot net

I have been stuck for two weeks, without being able to proceed - can
you a least give me time frame of when the repair will be
implemented???

------------------------------------------------------------------------

[2004-04-16 19:58:37] sandduneinfo at earthlink dot net

Any anticipated time on when this compile problem will be resolved??? I
am kind of stuck - project is on hold until this is resolved.

------------------------------------------------------------------------

[2004-04-15 19:26:56] [EMAIL PROTECTED]

Nevermind, I'll add the trimmed down paste myself:
(note: you don't need to do anything now, we'll let you know when this
is fixed)

Errors as follows:
"/tmp/php4-STABLE-200404150030/ext/standard/array.c", line 1723.64:
1506-280
(W) Function argument assignment between types "unsigned int*" and
"int*" is not allowed.
"/tmp/php4-STABLE-200404150030/ext/standard/file.c", line 918.100:
1506-280
(W) Function argument assignment between types "unsigned int*" and
"int*" is not allowed.
"/tmp/php4-STABLE-200404150030/ext/standard/file.c", line 924.114:
1506-280
(W) Function argument assignment between types "unsigned int*" and
"int*" is not allowed. 
"/tmp/php4-STABLE-200404150030/ext/standard/info.c", line 480.122:
1506-280
(W) Function argument assignment between types "unsigned int*" and
"int*" is not allowed.
"/tmp/php4-STABLE-200404150030/main/safe_mode.c", line 84.31: 1506-280
(W) Function argument assignment between types "unsigned char*" and
"const unsigned char*" is not allowed.
"/tmp/php4-STABLE-200404150030/main/safe_mode.c", line 125.39:
1506-280
(W) Function argument assignment between types "unsigned char*" and
"const unsigned char*" is not allowed.


------------------------------------------------------------------------

[2004-04-13 22:12:06] sandduneinfo at earthlink dot net

Description:
------------
I was able to install apache 2.0.49 it seems to be working OK. I went
to install php 4.3.5 with the apxs and the mysql flags using the AIX
Ansi c compiler
I listed out much of the error in make below and of course the make
install fails big time.
I do have mysql version 4.0.17 and I have been accessing it with perl
and DBD/DBI. 
I have run the make cklean and retired,
I have also deleted the the php install directory and "retarred" it
back. 
It complained in configure originally about flex and bison missing in
configure originally and I added those in on download from IBM website
and installed with rpm. So those issues went away.
I noticed something about 4.3.5 was supposed to fix unsigned int errors
- are their more. I am not a C programmer - which leaves me more in the
dark.

HELP!

Dan Rizzi

Expected result:
----------------
Additional make errors ...
cc: 1501-218 file Zend/zend_llist.lo contains an incorrect file suffix
cc: 1501-218 file Zend/zend_opcode.lo contains an incorrect file
suffix
cc: 1501-218 file Zend/zend_operators.lo contains an incorrect file
suffix
cc: 1501-218 file Zend/zend_ptr_stack.lo contains an incorrect file
suffix
cc: 1501-218 file Zend/zend_stack.lo contains an incorrect file suffix
cc: 1501-218 file Zend/zend_variables.lo contains an incorrect file
suffix
cc: 1501-218 file Zend/zend.lo contains an incorrect file suffix
cc: 1501-218 file Zend/zend_API.lo contains an incorrect file suffix
cc: 1501-218 file Zend/zend_extensions.lo contains an incorrect file
suffix
cc: 1501-218 file Zend/zend_hash.lo contains an incorrect file suffix
cc: 1501-218 file Zend/zend_list.lo contains an incorrect file suffix
cc: 1501-218 file Zend/zend_indent.lo contains an incorrect file
suffix
cc: 1501-218 file Zend/zend_builtin_functions.lo contains an incorrect
file suff
ix

Actual result:
--------------
"/tmp/php/php-4.3.5/ext/standard/array.c", line 1723.64: 1506-280 (W)
Function a
rgument assignment between types "unsigned int*" and "int*" is not
allowed.     
"/tmp/php/php-4.3.5/ext/standard/file.c", line 918.100: 1506-280 (W)
Function ar
gument assignment between types "unsigned int*" and "int*" is not
allowed.      
"/tmp/php/php-4.3.5/ext/standard/file.c", line 924.114: 1506-280 (W)
Function ar
gument assignment between types "unsigned int*" and "int*" is not
allowed.      
"/tmp/php/php-4.3.5/ext/standard/file.c", line 2308.13: 1506-280 (W)
Function ar
gument assignment between types "unsigned long*" and "int*" is not
allowed.     
"/tmp/php/php-4.3.5/ext/standard/file.c", line 2373.29: 1506-280 (W)
Function ar
gument assignment between types "unsigned long*" and "int*" is not
allowed.     
"/tmp/php/php-4.3.5/ext/standard/info.c", line 480.122: 1506-280 (W)
Function ar
gument assignment between types "unsigned int*" and "int*" is not
allowed.      
"/tmp/php/php-4.3.5/main/safe_mode.c", line 84.31: 1506-280 (W)
Function argumen
t assignment between types "unsigned char*" and "const unsigned char*"
is not al
lowed.                                                                 
        
"/tmp/php/php-4.3.5/main/safe_mode.c", line 125.39: 1506-280 (W)
Function argume
nt assignment between types "unsigned char*" and "const unsigned char*"
is not a
llowed.                                                                
        


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27986&edit=1

Reply via email to