Bug #15559 Updated: ./.libs/libphp4.a(zend_ini_scanner.o)(.bss+0x10014): multiple definition of `yy

From: Date: Sun, 30 Jun 2002 00:48:08 +0000
Subject: Bug #15559 Updated: ./.libs/libphp4.a(zend_ini_scanner.o)(.bss+0x10014): multiple definition of `yy
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12551@lists.php.net to get a copy of this message
ID: 15559 Updated by: sniper@php.net Reported By: denny@worldonline.fr -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux RedHat 7.2/Mandrake 8.1 PHP Version: 4.1.1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-02-14 14:25:38] denny@worldonline.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 !!! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15559&edit=1

« previous php.bugs (#12551) next »