Edit report at http://bugs.php.net/bug.php?id=27986&edit=1
ID: 27986 Updated by: [email protected] Reported by: sandduneinfo at earthlink dot net Summary: .lo unrecognized file suffix -Status: Open +Status: Feedback Type: Feature/Change Request -Package: Feature/Change Request +Package: Compile Failure Operating System: AIX 5.1 PHP Version: 4CVS, 5CVS (2004-04-16) Block user comment: N Private report: N New Comment: Is this still an issue with PHP 5.3.x ? Previous Comments: ------------------------------------------------------------------------ [2004-05-21 11:58:38] marino dot strazzullo at elsag dot it On my AIX 4.3.3 i have resolved the "invalid suffix" problem: Modify ./libtool at line 49 and change "build_old_libs=no" to "build_old_libs=yes", then execute "make"... Bye ------------------------------------------------------------------------ [2004-05-12 18:49:01] [email protected] Have you tried the fix suggested here yet? http://marc.theaimsgroup.com/?l=php-install&m=104327038604878&w=2 I don't have access AIX so I have no idea if it works, but it's worth a shot... J ------------------------------------------------------------------------ [2004-05-07 19:54:10] sandduneinfo at earthlink dot net 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. ------------------------------------------------------------------------ [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-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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=27986 -- Edit this bug report at http://bugs.php.net/bug.php?id=27986&edit=1
