php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7379 compiler fatal error building network.c
Submitted: 2000-10-20 19:49 UTC Modified: 2000-11-14 13:53 UTC
From: dkleinh at keck dot ucsf dot edu Assigned: venaas (profile)
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Tru64 5.0A
Private report: No CVE-ID: None
 [2000-10-20 19:49 UTC] dkleinh at keck dot ucsf dot 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-14 13:53 UTC] venaas@php.net
Unable to reproduce it and no feedback, might be something
strange with build environment
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jul 05 20:00:02 2026 UTC