自己解决了,怎么结帖啊?随便多进来几个人散分吧
在config.h加入一行
#define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1
在config.h加入一行
#define HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1
解决方案 »
- mysql连表查询实现统计
- 这条update怎么写
- 请教关于搜索引擎在蜘蛛抓取时如何防止访问重复URL的问题
- 如何进行分析SHOW INNODB STATUS
- mysql能否实现分布式查询?? 如何写??
- 各位老大,请帮我个忙,如何抽取MYSQL数据库其中一个字段中重复的数据.
- 请问那里有mysql的源代码下载,我想看看源代码
- 使用mysqlimport出错
- mysql使用xcopy进行定时备份,bat文件中的语句该怎么写?
- JSP+MYSQL 显示数据排序的问题 不管以where字段来选择显示,都能数据表按123456。求教
- 高手::对于MYSQL数据库我一点也不熟,只会用SQL 2000, 现有一个项目需要用ASP+MYSQL,需求请教高手,必有重谢!
- 关于数据还原的问题
incompatible pointer type
libmysql.c:1329: too few arguments to function `gethostbyname_r'
libmysql.c:1329: warning: assignment makes pointer from integer
without a cast
make[2]: *** [libmysql.lo] Error 1By default, the configure script attempts to determine the correct number of arguments by using g++ the GNU C++ compiler. This test yields wrong results if g++ is not installed. There are two ways to work around this problem:
Make sure that the GNU C++ g++ is installed. On some Linux distributions, the required package is called gpp; on others, it is named gcc-c++.
Use gcc as your C++ compiler by setting the CXX environment variable to gcc: export CXX="gcc"Please note that you need to run configure again afterward.