php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15559 ./.libs/libphp4.a(zend_ini_scanner.o)(.bss+0x10014): multiple definition of `yy
Submitted: 2002-02-14 14:25 UTC Modified: 2002-06-29 20:48 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: denny at worldonline dot fr Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.1 OS: Linux RedHat 7.2/Mandrake 8.1
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: denny at worldonline dot fr
New email:
PHP Version: OS:

 

 [2002-02-14 14:25 UTC] denny at worldonline dot fr
I use these compilations options for my 2 PCs under Redhat 7.2 & Mandrake 8.1 :

Make 3.79.1
Gcc 3.0.3
Opensll 0.9.6c


For my RedHat 7.2 with i586 & GLIBC 2.2.5 & Bison 1.31
CFLAGS=$'-O3 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586'

For my Mandrake 8.1 with i686 & GLIBC 2.2.4 & Bison 1.33
CFLAGS=$'-O3 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686'

To compile php i use :

./configure --prefix=/php
make
and it begins to compiling correcty to finish :


./.libs/libphp4.a(zend_ini_scanner.o)(.bss+0x10014): multiple definition of `yytext'
./.libs/libphp4.a(zend_language_scanner.o)(.bss+0x8): first defined here
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/home/dmansart/php-4.1.1'
make: *** [all-recursive] Error 1


I don't understand why but if I remove from my compilations options this :
-fno-common

it works perfectly !!!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-29 20:48 UTC] sniper@php.net
Propably a GCC 3.0.3 bug. Works fine here with gcc 2.95.3.
You should also get the latest release of PHP, 4.2.1

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 15 16:01:28 2025 UTC