From: jpcaissy at envolee dot com Operating system: Mac OS X 10.4.11 Server PHP version: 5.2CVS-2009-02-12 (snap) PHP Bug Type: Compile Failure Bug description: Compilation fails with error of symbol __yytext
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 -- Edit bug report at http://bugs.php.net/?id=47375&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47375&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47375&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47375&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47375&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47375&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47375&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47375&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47375&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47375&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47375&r=support Expected behavior: http://bugs.php.net/fix.php?id=47375&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47375&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47375&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47375&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47375&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47375&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47375&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47375&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47375&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47375&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47375&r=mysqlcfg