ID: 27030 User updated by: arizonaguy31 at aol dot com Reported By: arizonaguy31 at aol dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: debian 3 PHP Version: 4.3.4 New Comment:
I just extracted the files again from the tarball and it looks like the file is ok now. It must have been a problem with extracting the file in the first place. I checked the MD5 on the source after download and it was correct but is there a way to do another check after extraction? Thanks Sam Previous Comments: ------------------------------------------------------------------------ [2004-01-24 14:34:39] arizonaguy31 at aol dot com Description: ------------ I noticed that the file php_network.h has a missing new line at line 149. I noticed this after compairing it with the same file from a previous download. Below is the error i get when i tried to compile php. I am a newbi and this is the first time i report a bug. I am also curious why does the php_network.h file have the same version and date ($Id: php_network.h,v 1.37.2.3 2003/06/27 16:42:51 sniper Exp) although it has been modified from the previous one. Below are the lines from the file showing the error. This php tar was downloaded from php.net on 1.23.04. PHPAPI php_stream *_php_stream_sock_open_unix(const char *path, int pathlen, const char *persistent_id, struct timeval *timeout STREAMS_DC TSRMLS_DC); #define php_stream_sock_open_from_socket(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_CC TSRMLS_CC) #define php_stream_sock_open_host(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype), (timeout), (persistent) STREAMS_CC TSRMLS_CC) #define php_stream_sock_open_unix(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (pathlen), (persistent), (timeval) STREAMS_CC TSR#define php_stream_sock_open_from_socket_rel(socket, persistent) _php_stream_sock_open_from_socket((socket), (persistent) STREAMS_REL_CC TSRMLS_CCÐsÐw) #define php_stream_sock_op, timeout, persistent) _php_stream_sock_open_host((host), (port), (socktype), (timeout), (persistent) STREAMS_REL_CC TSRMLS_CC) #define php_stream_sock_open_unix_rel(path, pathlen, persistent, timeval) _php_stream_sock_open_unix((path), (pathlen), (persistent), (timeval) STREAMS_REL_CC TSRMLS_CC) /* }}} */ Thanks, Shahim Reproduce code: --------------- In file included from /my/src/php/php-4.3.4/ext/standard/fsock.h:38, from /my/src/php/php-4.3.4/ext/standard/php_standard.h:44, from /my/src/php/php-4.3.4/sapi/cli/php_cli.c:60: /my/src/php/php-4.3.4/main/php_network.h:149: `#' operator should be followed by a macro argument name /my/src/php/php-4.3.4/main/php_network.h:150: warning: missing white space after `#define php_stream_sock_op' make: *** [sapi/cli/php_cli.lo] Error 1 d ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27030&edit=1