ID: 28767 Comment by: mirage at rateaprof dot com Reported By: Franck at e-Dot dot nl Status: Bogus Bug Type: Compile Failure Operating System: Linux 2.4.19C13V (Sun Cobalt) PHP Version: 5.0.0RC3 New Comment:
I know this is really evil but this is something I did, and it got past that 1 problem, but has other link time errors with unresolvable symbols now. Anywyas, here you go, but I don't exactly recommend this. I did a grep -r for the usage of the constant and it is only located in the mysqli module in php5rc3, and not in any other module or mysql4.1.1alpha. other than that, I have no idea what the constant should really be, so just take this as a, hmm, that's interesting kinda point. -- $Id: php_mysqli.h,v 1.37 2004/06/06 08:52:19 georg Exp $ ... #define LOCAL_INFILE_ERROR_LEN 2048 typedef struct { char error_msg[LOCAL_INFILE_ERROR_LEN]; void *userdata; } mysqli_local_infile; Previous Comments: ------------------------------------------------------------------------ [2004-07-06 06:25:30] mirage at rateaprof dot com I know this is really evil but this is something I did, and it got past that 1 problem, but has other link time errors with unresolvable symbols now. Anywyas, here you go, but I don't exactly recommend this. I did a grep -r for the usage of the constant and it is only located in the mysqli module in php5rc3, and not in any other module or mysql4.1.1alpha. other than that, I have no idea what the constant should really be, so just take this as a, hmm, that's interesting kinda point. -- $Id: php_mysqli.h,v 1.37 2004/06/06 08:52:19 georg Exp $ ... #define LOCAL_INFILE_ERROR_LEN 2048 typedef struct { char error_msg[LOCAL_INFILE_ERROR_LEN]; void *userdata; } mysqli_local_infile; ------------------------------------------------------------------------ [2004-07-05 10:59:14] [EMAIL PROTECTED] that's the same for us ------------------------------------------------------------------------ [2004-07-05 10:49:55] Franck at e-Dot dot nl Sorry, but the bug id's you gave are about Compiling failures with MySQL 5. I'm not using MySQL 5, but MySQL 4.1.1 & 4.1.2! Please read/check my bug report again. With kind regards, Franck Nijhof ------------------------------------------------------------------------ [2004-07-05 10:43:38] [EMAIL PROTECTED] see #28611, #27642 ------------------------------------------------------------------------ [2004-07-05 02:18:08] koshnarek at mdsystem dot homeunix dot com the same here (PHP5 RC3, MySQL 5.0.0-alpha, Debian GNU/Linux - 2.6.7-1-686): ./configure \ --with-config-file-path=/etc/php \ --with-apxs2=/usr/bin/apxs2 \ --with-mysqli=/usr/lib/mysql/bin/mysql_config \ --with-unixODBC=/usr/include/ \ --with-java=/usr/lib/j2sdk/ \ --with-gettex=/usr/ \ --with-fam=/usr/include/ \ --with-gd=/usr/ \ --with-ttf=/usr/include/ \ --with-freetype-dir=/usr/include/ \ --with-jpeg-dir=/usr/include/ \ --with-png-dir=/usr/include/ \ --with-zlib-dir=/usr/ \ --with-xpm-dir=/usr/include/ \ --with-zip=/usr/include/ \ --with-bz2=/usr/include/ \ --with-curl=/usr/include/ \ --with-curlwrappers \ --with-xsl=/usr/include/ \ --with-expat-dir=/usr/include/ \ --with-xmlrpc=/usr/ \ --with-tidy=/usr/ \ --with-openssl=/usr/ \ --with-mcrypt=/usr/ \ --with-snmp=/usr/ \ --with-xslt-sablot \ --enable-ucd-snmp-hack \ --enable-gd-native-ttf \ --enable-bcmath \ --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg \ --enable-memory-limit \ --enable-dbx \ --enable-simplexml \ --enable-exif \ --enable-ftp \ --enable-mailparse \ --enable-wddx \ --enable-xslt \ --enable-soap \ --enable-pcntl \ --enable-yp \ --enable-sockets \ --disable-cgi at this point everything is OK, when I run "make": /root/php5-5.0.0/ext/iconv/iconv.c: In function `php_iconv_stream_filter_append_bucket': /root/php5-5.0.0/ext/iconv/iconv.c:2444: warning: passing arg 2 of `iconv' from incompatible pointer type In file included from /root/php5-5.0.0/ext/mysqli/mysqli.c:31: /root/php5-5.0.0/ext/mysqli/php_mysqli.h:86: error: `LOCAL_INFILE_ERROR_LEN' undeclared here (not in a function) /root/php5-5.0.0/ext/mysqli/mysqli.c: In function `php_local_infile_init': /root/php5-5.0.0/ext/mysqli/mysqli.c:744: error: `LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function) /root/php5-5.0.0/ext/mysqli/mysqli.c:744: error: (Each undeclared identifier is reported only once /root/php5-5.0.0/ext/mysqli/mysqli.c:744: error: for each function it appears in.) /root/php5-5.0.0/ext/mysqli/mysqli.c: In function `php_local_infile_read': /root/php5-5.0.0/ext/mysqli/mysqli.c:825: error: `LOCAL_INFILE_ERROR_LEN' undeclared (first use in this function) make: ** [ext/mysqli/mysqli.lo] Erro 1 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28767 -- Edit this bug report at http://bugs.php.net/?id=28767&edit=1