I have some problems compiling mysql 3.23.51
with debian. The problems occured under debian woody and now they still occur
under debian potato.
The ./configure works fine, but when i run make the
following error occurs:
--- cut ---
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local\"
-DDATADIR=\"/usr/local/var\" -DSHAREDIR=\"/home/mysql/share/mysql\"
-DDONT_USE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -O2
-c libmysql.c -fPIC -DPIC -o .libs/libmysql.lo
libmysql.c: In function `mysql_real_connect': libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type libmysql.c:1325: too few arguments to function `gethostbyname_r' libmysql.c:1325: warning: assignment makes pointer from integer without a cast make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/home/install/mysql-3.23.51/libmysql_r' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/install/mysql-3.23.51' make: *** [all-recursive-am] Error 2 debian:/home/install/mysql-3.23.51# --- cut ---
output of 'uname -a':
Linux debian 2.2.20-idepci #1 Sat Apr 20 12:45:19
EST 2002 i686 unknown
Can anybody help me? Thanx in advance,
h.e.
|