Making all in Zend
Making all in main
gcc -I. -I/tmp/php-4.2.1/main -I/tmp/php-4.2.1/main -I/tmp/php-4.2.1 -I/tmp/apache_1.3.26/src/include -I/tmp/apache_1.3.26/src/os/unix -I/tmp/php-4.2.1/Zend -I/tmp/php-4.2.1/ext/mysql/libmysql -I/tmp/php-4.2.1/ext/xml/expat -D_XPG_IV -I/tmp/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 functionphp_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 ofphp_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 functionphp_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:332: warning: unreachable code at beginning of switch statement
network.c:352: warning: passing arg 1 ofphp_network_freeaddresses' from incompatible pointer type
network.c:357: warning: passing arg 1 of php_network_freeaddresses' from incompatible pointer type
network.c: In functionphp_any_addr':
network.c:378: AF_INET' undeclared (first use in this function)
network.c:379: warning: unreachable code at beginning of switch statement
network.c: In functionphp_sockaddr_size':
network.c:394: dereferencing pointer to incomplete type
network.c:395: `AF_INET' undeclared (first use in this function)
network.c:396: warning: unreachable code at beginning of switch statement
Error code 1 (bu21)
Error code 1 (bu21)
*** Error code 1 (bu21)