php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53231 --enable-embed Fails to Link
Submitted: 2010-11-03 03:38 UTC Modified: -
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: doug at ceridwenproductions dot com Assigned:
Status: Open Package: Compile Failure
PHP Version: 5.2.14 OS: MacOS X 10.5.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-11-03 03:38 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-09 15:41 UTC] corentin dot allemand at aquafadas dot com
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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Oct 24 04:01:29 2019 UTC