PHP 4.0 Bug #7379: compiler fatal error building network.c

From: Date: Fri, 20 Oct 2000 23:49:02 +0000
Subject: PHP 4.0 Bug #7379: compiler fatal error building network.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-35702@lists.php.net to get a copy of this message
From: dkleinh@keck.ucsf.edu Operating system: Tru64 5.0A PHP version: 4.0.3pl1 PHP Bug Type: Compile Failure Bug description: compiler fatal error building network.c 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 -- Edit Bug report at: http://bugs.php.net/?id=7379&edit=1

« previous php.dev (#35702) next »