Another compile Problem under Solaris
| From: | Dirk Schmidt | Date: | Mon, 20 Sep 1999 16:09:48 +0000 |
| Subject: | Another compile Problem under Solaris | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4677@lists.php.net to get a copy of this message | ||
Hello list, hello Zeev
I followed your last tip to solve the 'zend_config.h is not found' - Error
by using
the actual CVS-Version. Thank you for that tip. unfortunately it still
doesn't compile.
My configure string:
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.6
--enable-track-vars
I get some 'conflicting type' - errors when compiling browscap.c
More detailed:
----------------------------------------------------------------------------
--------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM
-I/usr/local/php4/../apache_1.3.6/src/include
-I/usr/local/php4/../apache_1.3.6
/src/os/unix -I/usr/local/mysql/include -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:32: warning: this is the location of the previous
definition
../../regex/regex.h:32: warning: `REG_ICASE' redefined
/usr/include/regex.h:34: warning: this is the location of the previous
definition
../../regex/regex.h:33: warning: `REG_NOSUB' redefined
/usr/include/regex.h:35: warning: this is the location of the previous
definition
../../regex/regex.h:34: warning: `REG_NEWLINE' redefined
/usr/include/regex.h:33: warning: this is the location of the previous
definition
../../regex/regex.h:42: warning: `REG_BADPAT' redefined
/usr/include/regex.h:68: warning: this is the location of the previous
definition
../../regex/regex.h:43: warning: `REG_ECOLLATE' redefined
/usr/include/regex.h:56: warning: this is the location of the previous
definition
../../regex/regex.h:44: warning: `REG_ECTYPE' redefined
/usr/include/regex.h:67: warning: this is the location of the previous
definition
../../regex/regex.h:45: warning: `REG_EESCAPE' redefined
/usr/include/regex.h:57: warning: this is the location of the previous
definition
../../regex/regex.h:50: warning: `REG_BADBR' redefined
/usr/include/regex.h:69: warning: this is the location of the previous
definition
../../regex/regex.h:51: warning: `REG_ERANGE' redefined
/usr/include/regex.h:64: warning: this is the location of the previous
definition
../../regex/regex.h:52: warning: `REG_ESPACE' redefined
/usr/include/regex.h:65: warning: this is the location of the previous
definition
../../regex/regex.h:53: warning: `REG_BADRPT' redefined
/usr/include/regex.h:66: warning: this is the location of the previous
definition
../../regex/regex.h:64: warning: `REG_NOTBOL' redefined
/usr/include/regex.h:49: warning: this is the location of the previous
definition
../../regex/regex.h:65: warning: `REG_NOTEOL' redefined
/usr/include/regex.h:50: 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:8: 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:27: previous declaration of `regoff_t'
../../regex/regex.h:21: conflicting types for `regex_t'
/usr/include/regex.h:100: previous declaration of `regex_t'
../../regex/regex.h:25: conflicting types for `regmatch_t'
/usr/include/regex.h:108: previous declaration of `regmatch_t'
../../regex/regex.h:29: conflicting types for `regcomp'
/usr/include/regex.h:131: previous declaration of `regcomp'
../../regex/regex.h:59: conflicting types for `regerror'
/usr/include/regex.h:133: previous declaration of `regerror'
../../regex/regex.h:63: conflicting types for `regexec'
/usr/include/regex.h:132: previous declaration of `regexec'
../../regex/regex.h:73: conflicting types for `regfree'
/usr/include/regex.h:134: previous declaration of `regfree'
make[2]: *** [browscap.o] Error 1
make[2]: Leaving directory `/usr/local/php4/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php4/ext'
make: *** [all-recursive] Error 1
----------------------------------------------------------------------------
--------------
Any Idea? Thank you very much in advance
Dirk