From: webmaster at animelab dot com Operating system: Linux VPS PHP version: 4.3.3 PHP Bug Type: Compile Failure Bug description: Error: Symbol len already defined.
Description: ------------ [EMAIL PROTECTED] [~/apache/php-4.3.3]# uname -a [EMAIL PROTECTED] [~/apache/php-4.3.3]# gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs Configured with: ./configure --prefix=/usr : (reconfigured) ./configure --prefix=/usr Thread model: posix gcc version 3.3.1 Linux xxxxxxxx 2.4.1-008stab043.15.swsoft #1 Thu Mar 20 16:56:01 MSK 2003 i686 unknown ./configure --with-mysql --with-apache=../apache_1.3.28 gcc -I/root/apache/php-4.3.3/ext/mysql/libmysql -Iext/mysql/ -I/root/apache/php-4.3.3/ext/mysql/ -DPHP_ATOM_INC -I/root/apache/php-4.3.3/include -I/root/apache/php-4.3.3/main -I/root/apache/php-4.3.3 -I/root/apache/php-4.3.3/Zend -I/root/apache/php-4.3.3/ext/xml/expat -O6 -finline-functions -fomit-frame-pointer -funroll-loops -msse -msse2 -march=pentium4 -mfpmath=sse,387 -I/root/apache/php-4.3.3/TSRM -O6 -finline-functions -fomit-frame-pointer -funroll-loops -msse -msse2 -march=pentium4 -mfpmath=sse,387 -c /root/apache/php-4.3.3/ext/mysql/libmysql/net.c -o ext/mysql/libmysql/net.o && echo > ext/mysql/libmysql/net.lo In file included from /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:14: /root/apache/php-4.3.3/ext/mysql/libmysql/global.h:911:1: warning: "doubleget" redefined /root/apache/php-4.3.3/ext/mysql/libmysql/global.h:749:1: warning: this is the location of the previous definition /root/apache/php-4.3.3/ext/mysql/libmysql/global.h:912:1: warning: "doublestore" redefined /root/apache/php-4.3.3/ext/mysql/libmysql/global.h:751:1: warning: this is the location of the previous definition In file included from /root/apache/php-4.3.3/ext/mysql/libmysql/my_sys.h:25, from /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:16: /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:22: error: parse error before "uchar" /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:22: warning: no semicolon at end of struct or union /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:23: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:24: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:24: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:25: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:25: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:28: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:28: error: `strcoll' redeclared as different kind of symbol /usr/include/string.h:99: error: previous declaration of `strcoll' /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:29: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:29: error: `strxfrm' redeclared as different kind of symbol /usr/include/string.h:102: error: previous declaration of `strxfrm' /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:30: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:31: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:39: error: parse error before '}' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:39: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:42: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:42: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:43: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:43: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:44: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:44: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:45: error: parse error before "compiled_charsets" /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:45: warning: data definition has no type or storage class In file included from /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:16: /root/apache/php-4.3.3/ext/mysql/libmysql/my_sys.h:166: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/my_sys.h:166: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/my_sys.h:168: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/my_sys.h:168: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/my_sys.h:498: error: parse error before '*' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: In function `my_net_init': /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:100: error: `uchar' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:100: error: (Each undeclared identifier is reported only once /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:100: error: for each function it appears in.) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:100: error: parse error before ')' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:100: error: parse error before ')' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: In function `net_realloc': /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:138: error: `uchar' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:138: error: `buff' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:148: error: parse error before ')' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: At top level: /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:156: error: parse error before '->' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: In function `my_net_write': /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:215: error: `uchar' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:215: error: parse error before "buff" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:216: error: `buff' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: At top level: /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:224: error: parse error before "uchar" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: In function `net_write_command': /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:225: error: number of arguments doesn't match prototype /root/apache/php-4.3.3/ext/mysql/libmysql/mysql_com.h:152: error: prototype declaration /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:226: error: `uchar' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:226: error: parse error before "buff" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:227: error: `len' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:229: error: `buff' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:230: error: `net' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:231: error: `command' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:234: error: `packet' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: In function `my_real_read': /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:438: error: `uchar' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:438: error: `pos' undeclared (first use in this function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:541: error: parse error before "net" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:548: error: parse error before "net" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:500: error: label `end' used but not defined /root/apache/php-4.3.3/ext/mysql/libmysql/net.c: At top level: /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:555: error: `len' used prior to declaration /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:555: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:559: error: parse error before "goto" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:570: error: redefinition of `len' /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:555: error: `len' previously defined here /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:570: error: `net' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:570: error: `net' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:570: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:571: error: `complen' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:571: error: `complen' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:571: error: `net' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:571: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:573: error: parse error before "if" /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:586: error: `pos' used prior to declaration /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:586: error: `net' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:586: error: `net' undeclared here (not in a function) /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:586: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:587: error: initializer element is not constant /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:587: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:588: error: parse error before '}' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:595: error: parse error before '->' token /root/apache/php-4.3.3/ext/mysql/libmysql/net.c:595: warning: data definition has no type or storage class /root/apache/php-4.3.3/ext/mysql/libmysql/m_ctype.h:45: warning: array `compiled_charsets' assumed to have one element /tmp/ccGyFz8H.s: Assembler messages: /tmp/ccGyFz8H.s:778: Error: Symbol len already defined. make: *** [ext/mysql/libmysql/net.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=25677&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25677&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25677&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25677&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25677&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25677&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25677&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25677&r=support Expected behavior: http://bugs.php.net/fix.php?id=25677&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25677&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25677&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25677&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25677&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25677&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25677&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25677&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25677&r=float