RE: [PHP] PHP-4.0.4 on SGI

From: Date: Wed, 20 Dec 2000 22:14:45 +0000
Subject: RE: [PHP] PHP-4.0.4 on SGI
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31329@lists.php.net to get a copy of this message
You probably want to ask on php-install, if they cant resolve this then I would suggest that you post a bug report at bugs.php.net James -- James Moore PHP Quality Assurance Team jmoore@php.net > -----Original Message----- > From: root@ShagBSD.shagol.com [mailto:root@ShagBSD.shagol.com]On Behalf > Of Roman Hochuli > Sent: 20 December 2000 22:56 > To: php-general@lists.php.net > Subject: [PHP] PHP-4.0.4 on SGI > > > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#31329) next »