php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47375 Compilation fails with error of symbol __yytext
Submitted: 2009-02-12 20:41 UTC Modified: 2009-02-25 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jpcaissy at envolee dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2CVS-2009-02-12 (snap) OS: Mac OS X 10.4.11 Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jpcaissy at envolee dot com
New email:
PHP Version: OS:

 

 [2009-02-12 20:41 UTC] jpcaissy at envolee dot com
Description:
------------
When trying to compile, it fails returning :

Reproduce code:
---------------
CFLAGS="-O3" ./configure '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info' '--with-config-file-path=/opt/local/etc' '--enable-calendar' '--with-iconv=/opt/local' '--enable-exif' '--enable-ftp' '--enable-wddx' '--with-zlib=/opt/local' '--with-bz2=/opt/local' '--with-libxml-dir=/opt/local' '--with-gettext=/opt/local' '--with-xml' '--with-libexpat-dir=/opt/local' '--with-xmlrpc' '--enable-soap' '--enable-bcmath' '--enable-mbstring' '--enable-dba' '--enable-zip' '--with-openssl=/opt/local' '--with-mhash=/opt/local' '--with-mcrypt=/opt/local' '--with-mime-magic' '--with-xsl=/opt/local' '--with-curl=/opt/local' '--with-pcre-regex=/opt/local' '--with-gd' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--enable-gd-native-ttf' '--with-freetype-dir=/opt/local' '--with-ldap=/usr' '--with-kerberos=/usr' '--with-iodbc=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gmp=/opt/local' '--with-imap=/opt/local' '--with-imap-ssl=/opt/local' '--with-pspell=/opt/local' '--with-snmp=/usr' '--with-mysql=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/mysql5' '--with-pdo-mysql=/opt/local/bin/mysql_config5' '--with-mysql-sock=/opt/local/var/run/mysql5/mysqld.sock' '--with-mysqli=/opt/local/bin/mysql_config5' '--with-sqlite' '--with-pdo-sqlite=/opt/local' '--enable-sqlite-utf8' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-pear=/opt/local/lib/php' '--with-readline=/opt/local' '--enable-sockets' '--enable-embed'
make install

Expected result:
----------------
To compile

Actual result:
--------------
/usr/bin/ld: multiple definitions of symbol _yytext
Zend/.libs/zend_language_scanner.o definition of _yytext in section (__DATA,__common)
Zend/.libs/zend_ini_scanner.o definition of _yytext in section (__DATA,__common)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-12 21:01 UTC] jpcaissy at envolee dot com
Please note the --enable-embed
 [2009-02-18 00:07 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-02-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2010-11-03 03:30 UTC] doug at ceridwenproductions dot com
Issue still exists. Simplified further:

CFLAGS="-O3"
./configure --enable-embed
make

result:
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and Zend/.libs/zend_language_scanner.o

source:
php-5.2.14

platform:
MacOS X 10.5.8
gcc 4.0.1
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 15:01:28 2024 UTC