php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5421 compile fails on fsock.h
Submitted: 2000-07-07 01:17 UTC Modified: 2000-08-29 18:46 UTC
From: dunne at fas-mcs dot rutgers dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: RedHat Linux 6.2 on Sparc64
Private report: No CVE-ID: None
 [2000-07-07 01:17 UTC] dunne at fas-mcs dot rutgers dot edu
# ./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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-17 05:46 UTC] sniper@php.net
Have you tried more recent version from either snaps.php.net or CVS? 
Does this problem persist??

--Jani
 [2000-08-29 18:46 UTC] sniper@php.net
No feedback from user. 
Please try PHP4.0.2 and reopen this bug report if problem still exists.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 07:00:02 2026 UTC