免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2197 | 回复: 2
打印 上一主题 下一主题

RHEL 6.0 make mysql 5.1.46 报错,请帮解决下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-19 11:36 |只看该作者 |倒序浏览
本帖最后由 gincer 于 2010-05-19 11:42 编辑

make[1]: Entering directory `/usr/local/soft/mysql-5.1.46/cmd-line-utils'
Making all in libedit
make[2]: Entering directory `/usr/local/soft/mysql-5.1.46/cmd-line-utils/libedit'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/soft/mysql-5.1.46/cmd-line-utils/libedit'
make[2]: Entering directory `/usr/local/soft/mysql-5.1.46/cmd-line-utils'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/soft/mysql-5.1.46/cmd-line-utils'
make[1]: Leaving directory `/usr/local/soft/mysql-5.1.46/cmd-line-utils'
Making all in sql-common
make[1]: Entering directory `/usr/local/soft/mysql-5.1.46/sql-common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/soft/mysql-5.1.46/sql-common'
Making all in scripts
make[1]: Entering directory `/usr/local/soft/mysql-5.1.46/scripts'
make  all-am
make[2]: Entering directory `/usr/local/soft/mysql-5.1.46/scripts'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/local/soft/mysql-5.1.46/scripts'
make[1]: Leaving directory `/usr/local/soft/mysql-5.1.46/scripts'
Making all in strings
make[1]: Entering directory `/usr/local/soft/mysql-5.1.46/strings'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/soft/mysql-5.1.46/strings'
Making all in mysys
make[1]: Entering directory `/usr/local/soft/mysql-5.1.46/mysys'
gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DMYSQL_DATADIR="\"/var/lib/mysql\"" -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/etc\"" -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I.    -g -O2   -DUNIV_LINUX -DUNIV_LINUX -MT typelib.o -MD -MP -MF .deps/typelib.Tpo -c -o typelib.o typelib.c
typelib.c: In function ‘find_type’:
typelib.c:86: error: expected ‘)’ before numeric constant
typelib.c:87: error: expected ‘;’ before ‘{’ token
typelib.c:109: error: expected expression before ‘else’
typelib.c:122: error: expected expression before ‘}’ token
typelib.c: In function ‘make_type’:
typelib.c:132: error: ‘nr9’ undeclared (first use in this function)
typelib.c:132: error: (Each undeclared identifier is reported only once
typelib.c:132: error: for each function it appears in.)
typelib.c:133: error: expected ‘)’ before ‘to’
typelib.c:246:1: error: unterminated argument list invoking macro "strmov"
typelib.c:135: error: expected declaration or statement at end of input
make[1]: *** [typelib.o] Error 1
make[1]: Leaving directory `/usr/local/soft/mysql-5.1.46/mysys'
make: *** [all-recursive] Error 1

在线等

论坛徽章:
0
2 [报告]
发表于 2010-05-22 22:19 |只看该作者
看这行

typelib.c:86: error: expected ‘)’ before numeric constant

论坛徽章:
0
3 [报告]
发表于 2010-05-23 13:04 |只看该作者
RHEL6.0没用过。 源代码里面语法错误较多。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP