From: [EMAIL PROTECTED] Operating system: Linux RedHat 7.2/Mandrake 8.1 PHP version: 4.1.1 PHP Bug Type: Compile Failure Bug description: ./.libs/libphp4.a(zend_ini_scanner.o)(.bss+0x10014): multiple definition of `yy
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 bug report at http://bugs.php.net/?id=15559&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15559&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15559&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15559&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15559&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15559&r=support Expected behavior: http://bugs.php.net/fix.php?id=15559&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15559&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15559&r=submittedtwice