Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] multiple definition of pcre_module_entry in 5.0.5 [RSS Feed]

#1 Nov. 30, 2005 23:38:36

Daniel C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] multiple definition of pcre_module_entry in 5.0.5


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: *** Error 1

Here's part of my dmesg:

Linux version 2.4.21-32.0.1.ELsmp () (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

--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programminghttp://www.AnalysisAndSolutions.com/4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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

Offline

#2 Nov. 30, 2005 23:46:09

Antony D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] multiple definition of pcre_module_entry in 5.0.5


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 justfine 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 herecollect2: ld returned 1 exit status
make: *** Error 1

Here's part of my dmesg:

Linux version 2.4.21-32.0.1.ELsmp () (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

Offline

#3 Dec. 1, 2005 17:06:07

Daniel C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] multiple definition of pcre_module_entry in 5.0.5


Hi Anthony:

On Thu, Dec 01, 2005 at 02:45:28AM +0300, Antony Dovgal wrote:
> Remove ext/pcre/config.m4 and run ./cvsclean && ./buildconf

Thanks. Did the trick.

--Dan

--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programminghttp://www.AnalysisAndSolutions.com/4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

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

Offline

  • Root
  • » PHP
  • » [PHP-DEV] multiple definition of pcre_module_entry in 5.0.5 [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support