PHP-4.0.4 on SGI
| From: | Roman Hochuli | Date: | Wed, 20 Dec 2000 22:55:59 +0000 |
| Subject: | PHP-4.0.4 on SGI | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31327@lists.php.net to get a copy of this message | ||
dear list-people
i am trying to get php-4.0.4 running as an apache-module on a sgi indy
with irix 6.5.8 and sgi cc for building. but the build crashes with
following errormessages.
is there anybody who got this running in the same environment...?
if yes: what can i do to get i running too...?
at the moment i am trying to get php-4.0.3pl1 to get compiled. it seems
this is working but the compiler is still running...
thanx for any hint.
--snip
Making all in main
cc -I. -I/compile/2/php-4.0.4/main -I/compile/2/php-4.0.4/main
-I/compile/2/php-4.0.4 -I/compile/apache_1.3.14/src/include
-I/compile/apache_1.3.14/src/os/unix -I/compile/2/php-4.0.4/Zend
-I/compile/2/php-4.0.4/ext/mysql/libmysql
-I/compile/2/php-4.0.4/ext/xml/expat/xmltok
-I/compile/2/php-4.0.4/ext/xml/expat/xmlparse
-I/compile/2/php-4.0.4/TSRM -DXML_BYTE_ORDER=21 -c network.c && touch
network.lo
cc-1204 cc: WARNING File = network.c, Line = 62
The indicated declaration is not visible outside of the function.
static void php_network_freeaddresses(struct sockaddr **sal)
^
cc-1204 cc: WARNING File = network.c, Line = 73
The indicated declaration is not visible outside of the function.
static int php_network_getaddresses(const char *host, struct sockaddr
***sal)
^
cc-1367 cc: ERROR File = network.c, Line = 143
A pointer to an incomplete class type is not allowed.
(*sap)->sa_family = AF_INET;
^
cc-1020 cc: ERROR File = network.c, Line = 143
The identifier "AF_INET" is undefined.
(*sap)->sa_family = AF_INET;
^
cc-1164 cc: WARNING File = network.c, Line = 150
Argument of type "struct sockaddr **" is incompatible with parameter
of type
"struct sockaddr **".
php_network_freeaddresses(*sal);
^
cc-1164 cc: WARNING File = network.c, Line = 165
Argument of type "struct sockaddr ***" is incompatible with parameter
of type
"struct sockaddr ***".
if (php_network_getaddresses(host, &sal))
^
cc-1367 cc: ERROR File = network.c, Line = 170
A pointer to an incomplete class type is not allowed.
s = socket((*sal)->sa_family, socktype, 0);
^
cc-1367 cc: ERROR File = network.c, Line = 172
A pointer to an incomplete class type is not allowed.
switch ((*sal)->sa_family) {
^
cc-1020 cc: ERROR File = network.c, Line = 185
The identifier "AF_INET" is undefined.
case AF_INET: {
^
cc-1367 cc: ERROR File = network.c, Line = 189
A pointer to an incomplete class type is not allowed.
sa->sin_family = (*sal)->sa_family;
^
cc-1164 cc: WARNING File = network.c, Line = 201
Argument of type "struct sockaddr **" is incompatible with parameter
of type
"struct sockaddr **".
php_network_freeaddresses(psal);
^
cc-1164 cc: WARNING File = network.c, Line = 205
Argument of type "struct sockaddr **" is incompatible with parameter
of type
"struct sockaddr **".
php_network_freeaddresses(psal);
^
6 errors detected in the compilation of "network.c".
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
master 6#
--snap
kind regards
roman hochuli