From: Operating system: MacOS X 10.5.8 PHP version: 5.2.14 Package: Compile Failure Bug Type: Bug Bug description:--enable-embed Fails to Link
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 bug report at http://bugs.php.net/bug.php?id=53231&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53231&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53231&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53231&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53231&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53231&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53231&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53231&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53231&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53231&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53231&r=support Expected behavior: http://bugs.php.net/fix.php?id=53231&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53231&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53231&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53231&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53231&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53231&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53231&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53231&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53231&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53231&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53231&r=mysqlcfg
