Edit report at http://bugs.php.net/bug.php?id=47375&edit=1

 ID:                 47375
 Comment by:         doug at ceridwenproductions dot com
 Reported by:        jpcaissy at envolee dot com
 Summary:            Compilation fails with error of symbol __yytext
 Status:             No Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Mac OS X 10.4.11 Server
 PHP Version:        5.2CVS-2009-02-12 (snap)
 Block user comment: N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2009-02-25 01:00:01] 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".

------------------------------------------------------------------------
[2009-02-18 00:07:45] [email protected]

Please try using this CVS snapshot:

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

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



------------------------------------------------------------------------
[2009-02-12 21:01:12] jpcaissy at envolee dot com

Please note the --enable-embed

------------------------------------------------------------------------
[2009-02-12 20:41:56] 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


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=47375&edit=1

Reply via email to