PHP 4.0 Bug #7379 Updated: compiler fatal error building network.c
| From: | venaas@php.net | Date: | Tue, 14 Nov 2000 18:53:32 +0000 |
| Subject: | PHP 4.0 Bug #7379 Updated: compiler fatal error building network.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38093@lists.php.net to get a copy of this message | ||
ID: 7379
Updated by: venaas
Reported By: dkleinh@keck.ucsf.edu
Status: Closed
Bug Type: Compile Failure
Assigned To: venaas
Comments:
Unable to reproduce it and no feedback, might be something
strange with build environment
Previous Comments:
---------------------------------------------------------------------------
[2000-10-20 19:49:02] dkleinh@keck.ucsf.edu
CC=cc ./configure --with-mysql=/tru64/local/mysql --with-apache=../apache_1.3.12 --with-imap
--enable-track-vars
cc: Error: network.c, line 79: In this declaration, "hints" has no linkage and is of an
incomplete type. (incompnolink)
struct addrinfo hints, *res, *sai;
--------------------------------^
cc: Warning: network.c, line 87: In this statement, "sai" is a pointer to an incomplete
struct or union and should not be used as the left operand of a member dereference. (incompderef)
for (n=2; (sai = sai->ai_next) != NULL; n++);
---------------------------------^
cc: Error: network.c, line 87: In this statement, "ai_next" is not a member of
"sai". (needmember)
for (n=2; (sai = sai->ai_next) != NULL; n++);
---------------------------------^
cc: Warning: network.c, line 95: In this statement, "sai" is a pointer to an incomplete
struct or union and should not be used as the left operand of a member dereference. (incompderef)
switch (sai->ai_family) {
--------------------------------^
cc: Error: network.c, line 95: In this statement, "ai_family" is not a member of
"sai". (needmember)
switch (sai->ai_family) {
--------------------------------^
cc: Warning: network.c, line 114: In this statement, "sai" is a pointer to an incomplete
struct or union and should not be used as the left operand of a member dereference. (incompderef)
*((struct sockaddr_in *)sai->ai_addr);
----------------------------------------------------------------^
cc: Error: network.c, line 114: In this statement, "ai_addr" is not a member of
"sai". (needmember)
*((struct sockaddr_in *)sai->ai_addr);
----------------------------------------------------------------^
cc: Warning: network.c, line 121: In this statement, "sai" is a pointer to an incomplete
struct or union and should not be used as the left operand of a member dereference. (incompderef)
} while ((sai = sai->ai_next) != NULL);
--------------------------------^
cc: Error: network.c, line 121: In this statement, "ai_next" is not a member of
"sai". (needmember)
} while ((sai = sai->ai_next) != NULL);
--------------------------------^
make[2]: *** [network.lo] Error 1
make[2]: Leaving directory `/tru64/local/src/php-4.0.3pl1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tru64/local/src/php-4.0.3pl1/main'
make: *** [all-recursive] Error 1
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7379