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: 2021-02-21 04:22 UTC
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: cmb (profile)
Status: No Feedback 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
 [2021-02-08 14:21 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-02-08 14:21 UTC] cmb@php.net
Is that still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-02-21 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 04:01:31 2024 UTC