Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

[PHP-DEV] PHP 4.0 Bug #7379 Updated: compiler fatal error building network.c From: venaas <email protected>
Date: 11/14/00

ID: 7379
Updated by: venaas
Reported By: dkleinh <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>