- 论坛徽章:
- 0
|
mysql版本为4.0.26,系统为centos5.0,安装系统时所有的编译开发包全部装上,但现在到make这一步时报如下错误:
libmysql.c:1862: warning: passing argument 5 of 'gethostbyname_r' from incompatible pointer type
libmysql.c:1862: error: too few arguments to function 'gethostbyname_r'
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/root/data/mysql-4.0.26/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/data/mysql-4.0.26'
make: *** [all] Error 2
请问各位是什么原因,望解答!
[ 本帖最后由 wyp2001 于 2007-9-18 11:32 编辑 ] |
|