Bug #53231 [Com]: --enable-embed Fails to Link
Edit report at https://bugs.php.net/bug.php?id=53231&edit=1
ID: 53231
Comment by: corentin dot allemand at aquafadas dot com
Reported by: doug at ceridwenproductions dot com
Summary: --enable-embed Fails to Link
Status: Open
Type: Bug
Package: Compile Failure
Operating System: MacOS X 10.5.8
PHP Version: 5.2.14
Block user comment: N
Private report: N
New Comment:
I have the same probleme on Mac OSX 10.5 and Mac OSX 10.6
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and
Zend/.libs/zend_language_scanner.o
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Previous Comments:
------------------------------------------------------------------------
[2010-11-03 03:38:20] doug at ceridwenproductions dot com
Description:
------------
This appears to be an old problem that still isn't fixed. Compiling with --enable-embed on OS X
does not work. See bug ##48318 for suggested fixes, but the patchfile submitted is no longer
applicable to 5.2.14 sources.
Test script:
---------------
Simplified setup to reproduce the problem using gcc-4.0.1:
CFLAGS="-O3"
./configure --enable-embed
make
Expected result:
----------------
Successful Compile
Actual result:
--------------
Compile Fails:
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and Zend/.libs/zend_language_scanner.o
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53231&edit=1
Thread (4 messages)