PHP 4.0 Bug #2505: make problem

From: Date: Wed, 13 Oct 1999 14:03:33 +0000
Subject: PHP 4.0 Bug #2505: make problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-11717@lists.php.net to get a copy of this message
From: alexholm@online.no Operating system: RedHat 6.0 PHP version: 4.0 Beta 2 PHP Bug Type: Compile Failure Bug description: make problem I configured PHP like this: configure --with-mysql --with-apache=/usr/include --enable-track-vars After that I typed 'make' this after a short while this happen: Making all in standard make[2]: Entering directory `/home/alex/php-4.0b2/ext/standard' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/include/apache -I/usr/include/ssl/include -I/usr/include/mysql -I../.. -I../../libzend -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:252: warning: this is the location of the previous definition ../../regex/regex.h:32: warning: `REG_ICASE' redefined /usr/include/regex.h:256: warning: this is the location of the previous definition ../../regex/regex.h:33: warning: `REG_NOSUB' redefined /usr/include/regex.h:265: warning: this is the location of the previous definition ../../regex/regex.h:34: warning: `REG_NEWLINE' redefined /usr/include/regex.h:261: warning: this is the location of the previous definition ../../regex/regex.h:64: warning: `REG_NOTBOL' redefined /usr/include/regex.h:275: warning: this is the location of the previous definition ../../regex/regex.h:65: warning: `REG_NOTEOL' redefined /usr/include/regex.h:278: 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:394: previous declaration of `regoff_t' ../../regex/regex.h:21: conflicting types for `regex_t' /usr/include/regex.h:391: previous declaration of `regex_t' ../../regex/regex.h:25: conflicting types for `regmatch_t' /usr/include/regex.h:422: previous declaration of `regmatch_t' ../../regex/regex.h:29: conflicting types for `regcomp' /usr/include/regex.h:518: previous declaration of `regcomp' ../../regex/regex.h:59: conflicting types for `regerror' /usr/include/regex.h:525: previous declaration of `regerror' ../../regex/regex.h:63: conflicting types for `regexec' /usr/include/regex.h:522: previous declaration of `regexec' ../../regex/regex.h:73: conflicting types for `regfree' /usr/include/regex.h:527: previous declaration of `regfree' make[2]: *** [browscap.o] Error 1 make[2]: Leaving directory `/home/alex/php-4.0b2/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alex/php-4.0b2/ext' make: *** [all-recursive] Error 1 Is it a C code bug there? Something wrong I did maybe, or? Greeting from Alexander L.Holm

« previous php.dev (#11717) next »