New compile failure
| From: | Zeev Suraski | Date: | Sat, 30 Oct 1999 11:54:18 +0000 |
| Subject: | New compile failure | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12019@lists.php.net to get a copy of this message | ||
This used to work a few days ago. It seems now that for some reason,
php_regex.h is being included only after the Apache includes are
referenced (most probably from the php.h file). Does this ring a bell to
anybody? Anybody touched any Apache includes and/or php_regex.h
references lately?
Zeev
gcc -DHAVE_CONFIG_H -I. -I../../../ext/standard -I../.. -I../../libzend
-I../../TSRM -I/home/bourbon/apache/src/include
-I/home/bourbon/apache/src/os/unix -I/usr/local/mysql/include/mysql
-I../../.. -I../../../libzend -O2 -g -Wall -c
../../../ext/standard/browscap.c -o browscap.o
In file included from ../../../ext/standard/browscap.c:22:
../../../php_regex.h:7: warning: `_REGEX_H_' redefined
/home/bourbon/apache/src/include/hsregex.h:4: warning: this is the
location of the previous definition
In file included from ../../../php_regex.h:5,
from ../../../ext/standard/browscap.c:22:
../../../regex/regex.h:17: redefinition of `regoff_t'
/home/bourbon/apache/src/include/hsregex.h:25: `regoff_t' previously
declared here
../../../regex/regex.h:23: conflicting types for `regex_t'
/home/bourbon/apache/src/include/hsregex.h:31: previous declaration of
`regex_t'
../../../regex/regex.h:27: conflicting types for `regmatch_t'
/home/bourbon/apache/src/include/hsregex.h:35: previous declaration of
`regmatch_t'
../../../regex/regex.h:31: conflicting types for `regcomp'
/home/bourbon/apache/src/include/hsregex.h:39: previous declaration of
`regcomp'
../../../regex/regex.h:61: conflicting types for `regerror'
/home/bourbon/apache/src/include/hsregex.h:69: previous declaration of
`regerror'
../../../regex/regex.h:65: conflicting types for `regexec'
/home/bourbon/apache/src/include/hsregex.h:73: previous declaration of
`regexec'
../../../regex/regex.h:75: conflicting types for `regfree'
/home/bourbon/apache/src/include/hsregex.h:83: previous declaration of
`regfree'
make[3]: *** [browscap.lo] Error 1
make[3]: Leaving directory `/home/bourbon/php4/apache/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bourbon/php4/apache/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bourbon/php4/apache'
make: *** [all-recursive-am] Error 2
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com> http://www.zend.com/