Solaris 2.6 Compile

From: Date: Wed, 06 Oct 1999 22:16:45 +0000
Subject: Solaris 2.6 Compile
Groups: php.version4 
Request: Send a blank email to php-version4+get-5250@lists.php.net to get a copy of this message
We got PHP 4b2 working FINE on Linux.....there was no problem getting it to compile or work with our API......was VERY impresses. We did the same for Solaris 2.6, though, and hit the errors listed below. Anyone have any ideas as to what might be causing these? Thanks. Making all in standard gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../../TSRM -I/usr/src/BP-apache/src/include -I/usr/src/BP-apache/src/os/unix -I/usr/local/include -I/opt/db/mysql/product/3.22.16a/include -I/opt/db/oracle/product/7.3.4/rdbms/demo -I/opt/db/oracle/product/7.3.4/network/public -I../.. -I../../libzend -g -O2 -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' /usr/src/BP-apache/src/include/httpd.h:1006: previous declaration of `ap_regerror' ../../regex/regex.h:63: conflicting types for `ap_regexec' /usr/src/BP-apache/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' *** Error code 1 make: Fatal error: Command failed for target `browscap.o' Current working directory /usr/share/src/BP-php/ext/standard *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /usr/share/src/BP-php/ext *** Error code 1 make: Fatal error: Command failed for target `all-recursive'

« previous php.version4 (#5250) next »