OS: IRIX 6.5
PHP-4.2.1
----------
gcc -I. -I/sources/apache/php-4.2.1/main -I/sources/apache/php-4.2.1/main
-I/sources/apache/php-4.2.1 -I/sources/apache/apache_1.3.26/src/include
-I/sources/apache/apache_1.3.26/src/os/unix -I/sources/apache/php-4.2.1/Zend
-I/sources/apache/php-4.2.1/ext/xml/expat -D_XPG_IV -I/sources/apache/php-4.2.1/TSRM
-g -O2 -c network.c && touch network.lo
In file included from network.c:56:
php_network.h:55: warning: `struct sockaddr' declared inside parameter list
php_network.h:55: warning: its scope is only this definition or declaration, which is
probably not what you want.
network.c:120: warning: `struct sockaddr' declared inside parameter list
network.c:135: warning: `struct sockaddr' declared inside parameter list
network.c: In function `php_network_getaddresses':
network.c:199: dereferencing pointer to incomplete type
network.c:199: `AF_INET' undeclared (first use in this function)
network.c:199: (Each undeclared identifier is reported only once
network.c:199: for each function it appears in.)
network.c: At top level:
network.c:214: warning: `struct sockaddr' declared inside parameter list
network.c:215: conflicting types for `php_connect_nonb'
php_network.h:55: previous declaration of `php_connect_nonb'
network.c: In function `php_connect_nonb':
network.c:265: `SOL_SOCKET' undeclared (first use in this function)
network.c:265: `SO_ERROR' undeclared (first use in this function)
network.c: In function `php_hostconnect':
network.c:298: warning: passing arg 2 of `php_network_getaddresses' from incompatible
pointer type
network.c:313: dereferencing pointer to incomplete type
network.c:315: dereferencing pointer to incomplete type
network.c:330: `AF_INET' undeclared (first use in this function)
network.c:335: dereferencing pointer to incomplete type
network.c:338: warning: passing arg 2 of `php_connect_nonb' from incompatible pointer
type
network.c:352: warning: passing arg 1 of `php_network_freeaddresses' from incompatible
pointer type
network.c:357: warning: passing arg 1 of `php_network_freeaddresses' from incompatible
pointer type
network.c: In function `php_any_addr':
network.c:378: `AF_INET' undeclared (first use in this function)
network.c: In function `php_sockaddr_size':
network.c:394: dereferencing pointer to incomplete type
network.c:395: `AF_INET' undeclared (first use in this function)
make[2]: *** [network.lo] Error 1
make[2]: Leaving directory `/sources/apache/php-4.2.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/apache/php-4.2.1/main'
make: *** [all-recursive] Error 1
----------
Any ideas folks?
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php