problem building php5-pcre

Christopher Hobbs chris at altbit.org
Mon Mar 12 16:55:36 UTC 2007


Anyone else have this particular error?  I can't seem to get php5-pcre
to build.

 /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c  -fPIC
-DPIC -o .libs/php_pcre.o
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:102:
warning: parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In
function `PHP_GINIT_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:101:
error: parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:103:
error: invalid type argument of `->'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:104:
error: invalid type argument of `->'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:105:
error: invalid type argument of `->'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:106:
error: invalid type argument of `->'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top
level:
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:110:
warning: parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In
function `PHP_GSHUTDOWN_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:109:
error: parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:111:
error: invalid type argument of `->'
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top
level:
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1776:
error: syntax error before "pcre"
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1777:
error: syntax error before "pcre"
/usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1778:
error: syntax error before "pcre"
*** Error code 1

Stop in /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre.
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.


-- 
C. M. Hobbs, KD5RYO
http://altbit.org


More information about the freebsd-questions mailing list