Remove ext/pcre/config.m4 and run ./cvsclean && ./buildconf

On 01.12.2005 02:37, Daniel Convissor wrote:
Hi Folks:

While trying to compile 5.0.5 from CVS on a Tao Linux box I'm getting a "multiple definition of `pcre_module_entry'" error. Things compile just fine in PHP 5.1.1 from CVS. Here's my configure line:

./configure --with-apxs --with-mysqli=/usr/local/bin/mysql_config \
--with-curl --enable-sysvsem \
--enable-sysvshm --with-mcrypt --with-gd --with-jpeg-dir \
--with-freetype-dir --with-zlib --enable-sockets --enable-memory-limit \
--enable-bcmath --enable-mbstring

Here's the error:

ext/pcre/php_pcre.lo(.data+0xa0): In function `zm_info_pcre':
/root/src/php-src/ext/pcre/php_pcre.c:78: multiple definition of
`pcre_module_entry'
ext/pcre/php_pcre.lo(.data+0xa0):/root/src/php-src/ext/pcre/php_pcre.c:78: first defined here
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Here's part of my dmesg:

Linux version 2.4.21-32.0.1.ELsmp ([EMAIL PROTECTED]) (gcc
version 3.2.3 20030502 (Red Hat Linux 3.2.3-52)) #1 SMP Thu May 26
09:34:46 EDT 2005

Any ideas, please?

Thanks,

--Dan



--
Wbr, Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to