[PHP-DEV] New compile failure From: Zeev Suraski (bourbon <email protected>)
Date: 10/30/99

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 <email protected>>     http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>