Bug #53231 [Opn->Fbk]: --enable-embed Fails to Link

From: Date: Mon, 08 Feb 2021 14:21:35 +0000
Subject: Bug #53231 [Opn->Fbk]: --enable-embed Fails to Link
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232012@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53231&edit=1

 ID:                 53231
 Updated by:         cmb@php.net
 Reported by:        doug at ceridwenproductions dot com
 Summary:            --enable-embed Fails to Link
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Compile Failure
 Operating System:   MacOS X 10.5.8
 PHP Version:        5.2.14
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Is that still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>


Previous Comments:
------------------------------------------------------------------------
[2011-11-09 15:41:08] 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

------------------------------------------------------------------------
[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)

« previous php.bugs (#232012) next »