Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20923 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10004 invoked by uid 1010); 30 Nov 2005 23:45:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9988 invoked from network); 30 Nov 2005 23:45:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Nov 2005 23:45:35 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:60854] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 56/F9-14828-E993E834 for ; Wed, 30 Nov 2005 18:45:34 -0500 Received: (qmail 31939 invoked from network); 30 Nov 2005 23:45:30 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 30 Nov 2005 23:45:30 -0000 Message-ID: <438E3998.8030408@zend.com> Date: Thu, 01 Dec 2005 02:45:28 +0300 User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 To: Daniel Convissor CC: PHP Internals List References: <20051130233759.GA21187@panix.com> In-Reply-To: <20051130233759.GA21187@panix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] multiple definition of pcre_module_entry in 5.0.5 From: antony@zend.com (Antony Dovgal) 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 (parsley@galadriel.alfred.edu) (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