libmysql.c compile error

From: Date: Thu, 09 Mar 2000 11:04:20 +0000
Subject: libmysql.c compile error
Groups: php.version4 
Request: Send a blank email to php-version4+get-11793@lists.php.net to get a copy of this message
After last nights CVS I get the following compile error: FYI: php-4.0b5-dev + apache-1.3.12 + mysql-3.22.27 on FreeBSD-3.2R How do I go from here? Making all in libmysql /bin/sh ../../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/apache/cvs-php4/php4/ext/mysql/libm ysql -I../../.. -I../../../Zend -I/usr/local/src/apache/cvs-php4/php4 -I/usr /local/include/apache -I/usr/local/include/gd -I/usr/local/include -I/usr/lo cal/src/apache/cvs-php4/php4/ext/mysql/libmysql -I/usr/local/pgsql/include - I/usr/local/src/apache/cvs-php4/php4/ext/xml/expat/xmltok -I/usr/local/src/a pache/cvs-php4/php4/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -D_ REENTRANT -D_THREAD_SAFE -c libmysql.c libmysql.c: In function `mysql_store_result': libmysql.c:1725: warning: assignment from incompatible pointer type libmysql.c: In function `mysql_use_result': libmysql.c:1771: warning: assignment from incompatible pointer type libmysql.c: In function `mysql_fetch_row': libmysql.c:1816: warning: passing arg 4 of `read_one_row' from incompatible pointer type libmysql.c: At top level: libmysql.c:1847: conflicting types for `mysql_fetch_lengths' mysql.h:234: previous declaration of `mysql_fetch_lengths' libmysql.c: In function `mysql_fetch_lengths': libmysql.c:1858: warning: assignment from incompatible pointer type libmysql.c:1872: warning: return from incompatible pointer type libmysql.c: At top level: libmysql.c:2055: conflicting types for `mysql_kill' mysql.h:211: previous declaration of `mysql_kill' libmysql.c:2229: conflicting types for `mysql_thread_id' mysql.h:170: previous declaration of `mysql_thread_id' libmysql.c:2245: conflicting types for `mysql_escape_string' mysql.h:237: previous declaration of `mysql_escape_string' libmysql.c:2304: conflicting types for `mysql_odbc_escape_string' mysql.h:246: previous declaration of `mysql_odbc_escape_string' *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. Regards ------------ Dan Larsson

« previous php.version4 (#11793) next »