php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2671 compile problem
Submitted: 1999-11-05 16:16 UTC Modified: 1999-11-16 00:39 UTC
From: khu at nlm dot nih dot gov Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Beta 2 OS: solaris2.6/sparc
Private report: No CVE-ID: None
 [1999-11-05 16:16 UTC] khu at nlm dot nih dot gov
<...>
Making all in standard
make[2]: Entering directory `/export/site/subsys/www/php-4.0b2/ext/standard'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/site/subsys/www/apache_1.3.9/src/include -I/site/subsys/www/apache_1.3.9/src/os/unix   -I/site/subsys/www/mysql_3.22.27/include/mysql   -I../.. -I../../libzend  -I/depot/include  -g -O2 -g -O2 -c browscap.c
In file included from ../../php_regex.h:5,
                 from browscap.c:22:
../../regex/regex.h:31: warning: `REG_EXTENDED' redefined
/usr/include/regex.h:28: warning: this is the location of the previous definition
../../regex/regex.h:32: warning: `REG_ICASE' redefined
/usr/include/regex.h:30: warning: this is the location of the previous definition
../../regex/regex.h:33: warning: `REG_NOSUB' redefined
/usr/include/regex.h:31: warning: this is the location of the previous definition
../../regex/regex.h:34: warning: `REG_NEWLINE' redefined
/usr/include/regex.h:29: warning: this is the location of the previous definition
../../regex/regex.h:42: warning: `REG_BADPAT' redefined
/usr/include/regex.h:64: warning: this is the location of the previous definition
../../regex/regex.h:43: warning: `REG_ECOLLATE' redefined
/usr/include/regex.h:52: warning: this is the location of the previous definition
../../regex/regex.h:44: warning: `REG_ECTYPE' redefined
/usr/include/regex.h:63: warning: this is the location of the previous definition
../../regex/regex.h:45: warning: `REG_EESCAPE' redefined
/usr/include/regex.h:53: warning: this is the location of the previous definition
../../regex/regex.h:50: warning: `REG_BADBR' redefined
/usr/include/regex.h:65: warning: this is the location of the previous definition
../../regex/regex.h:51: warning: `REG_ERANGE' redefined
/usr/include/regex.h:60: warning: this is the location of the previous definition
../../regex/regex.h:52: warning: `REG_ESPACE' redefined
/usr/include/regex.h:61: warning: this is the location of the previous definition
../../regex/regex.h:53: warning: `REG_BADRPT' redefined
/usr/include/regex.h:62: warning: this is the location of the previous definition
../../regex/regex.h:64: warning: `REG_NOTBOL' redefined
/usr/include/regex.h:45: warning: this is the location of the previous definition
../../regex/regex.h:65: warning: `REG_NOTEOL' redefined
/usr/include/regex.h:46: warning: this is the location of the previous definition
In file included from browscap.c:22:
../../php_regex.h:6: warning: `_REGEX_H' redefined
/usr/include/regex.h:7: warning: this is the location of the previous definition
In file included from ../../php_regex.h:5,
                 from browscap.c:22:
../../regex/regex.h:15: conflicting types for `regoff_t'
/usr/include/regex.h:23: previous declaration of `regoff_t'
../../regex/regex.h:21: conflicting types for `regex_t'
/usr/include/regex.h:96: previous declaration of `regex_t'
../../regex/regex.h:25: conflicting types for `regmatch_t'
/usr/include/regex.h:104: previous declaration of `regmatch_t'
../../regex/regex.h:29: conflicting types for `regcomp'
/usr/include/regex.h:127: previous declaration of `regcomp'
../../regex/regex.h:59: conflicting types for `ap_regerror'
/site/subsys/www/apache_1.3.9/src/include/httpd.h:1006: previous declaration of `ap_regerror'
../../regex/regex.h:63: conflicting types for `ap_regexec'
/site/subsys/www/apache_1.3.9/src/include/httpd.h:1004: previous declaration of `ap_regexec'
../../regex/regex.h:73: conflicting types for `regfree'
/usr/include/regex.h:130: previous declaration of `regfree'
make[2]: *** [browscap.o] Error 1
make[2]: Leaving directory `/export/site/subsys/www/php-4.0b2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/site/subsys/www/php-4.0b2/ext'
make: *** [all-recursive] Error 1
nob[root]ksh:598>pwd

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-16 00:39 UTC] sas at cvs dot php dot net
This is fixed in CVS. You might want to try relase candidate 5 of 4.0 beta3:

http://va.php.net/~sas/php-4_0b3_RC5.tar.gz
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 23:00:01 2026 UTC