From:             aleigh at tessier dot com
Operating system: OS X 10.3
PHP version:      4CVS-2003-11-07 (stable)
PHP Bug Type:     Compile Failure
Bug description:  OSX Build fails: yytext returns

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



-- 
Edit bug report at http://bugs.php.net/?id=26167&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26167&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26167&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26167&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26167&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26167&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26167&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26167&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26167&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26167&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26167&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26167&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26167&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26167&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26167&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26167&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26167&r=float

Reply via email to