php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26167 OSX Build fails: yytext returns
Submitted: 2003-11-07 16:13 UTC Modified: 2003-11-08 09:56 UTC
From: aleigh at tessier dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4CVS-2003-11-07 (stable) OS: OS X 10.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aleigh at tessier dot com
New email:
PHP Version: OS:

 

 [2003-11-07 16:13 UTC] aleigh at tessier dot com
Description:
------------
php4-STABLE-200311072030:
 
ld: multiple definitions of symbol _yytext
Zend/zend_language_scanner.lo definition of _yytext in section (__DATA,__common)
Zend/zend_ini_scanner.lo definition of _yytext in section (__DATA,__common)
make: *** [libphp4.la] Error 1

Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

Darwin sandbender 7.0.0 Darwin Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC  Power Macintosh powerpc

XCode 1.1

Removing char *yytext, from, say Zend/php_langauge_scanner.c gets at least libphp4.la to build, but then:

cc: sapi/cli/php_cli.o: No such file or directory
cc: sapi/cli/getopt.o: No such file or directory
cc: main/internal_functions_cli.o: No such file or directory
make: *** [sapi/cli/php] Error 1

Entire session available at:
http://www.ashpool.com/phpbug/php_session1.txt



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-08 09:56 UTC] kalowsky@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Don't use XCode.  
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 16:00:03 2025 UTC