php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25677 Error: Symbol len already defined.
Submitted: 2003-09-27 01:49 UTC Modified: 2003-10-04 01:25 UTC
From: webmaster at animelab dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.3.3 OS: Linux VPS
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-09-27 01:49 UTC] webmaster at animelab dot com
Description:
------------
root@www [~/apache/php-4.3.3]# uname -a

root@www [~/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









Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-30 09:01 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

(and what is 'Linux VPS' ??)

 [2003-09-30 09:03 UTC] sniper@php.net
And don't pass any of your own CFLAGS.


 [2003-10-04 01:25 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 09 20:01:32 2024 UTC