PHP 4.0 Bug #5421: compile fails on fsock.h
| From: | dunne at fas-mcs dot rutgers dot edu | Date: | Thu, 06 Jul 2000 23:17:43 +0000 |
| Subject: | PHP 4.0 Bug #5421: compile fails on fsock.h | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23644@lists.php.net to get a copy of this message | ||
From: dunne@fas-mcs.rutgers.edu
Operating system: RedHat Linux 6.2 on Sparc64
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: compile fails on fsock.h
# ./configure --with-imap=/usr --with-apxs=/usr/apache/bin/apxs
configure seems to go through fine
# make
Making all in Zend
make[1]: Entering directory `/home/dunne/php-4.0.1pl2/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dunne/php-4.0.1pl2/Zend'
Making all in main
make[1]: Entering directory `/home/dunne/php-4.0.1pl2/main'
make[2]: Entering directory `/home/dunne/php-4.0.1pl2/main'
gcc -DHAVE_CONFIG_H -I. -I/home/dunne/php-4.0.1pl2/main -I/home/dunne/php-4.0.1pl2
-I/home/dunne/php-4.0.1pl2/main -I/home/dunne/php-4.0.1pl2/Zend -I/home/dunne/php-4.0.1pl2
-I/usr/include/imap -I/home/dunne/php-4.0.1pl2/ext/xml/expat/xmltok
-I/home/dunne/php-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -O2 -c main.c &&
touch main.lo
In file included from /home/dunne/php-4.0.1pl2/ext/standard/php_standard.h:55,
from main.c:51:
/home/dunne/php-4.0.1pl2/ext/standard/fsock.h:79: warning: `struct in_addr' declared inside
parameter list
/home/dunne/php-4.0.1pl2/ext/standard/fsock.h:79: warning: its scope is only this definition or
declaration,
/home/dunne/php-4.0.1pl2/ext/standard/fsock.h:79: warning: which is probably not what you want.
/home/dunne/php-4.0.1pl2/ext/standard/fsock.h:92: parse error before `socklen_t'
/home/dunne/php-4.0.1pl2/ext/standard/fsock.h:92: warning: `struct sockaddr' declared inside
parameter list
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/home/dunne/php-4.0.1pl2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dunne/php-4.0.1pl2/main'
make: *** [all-recursive] Error 1