免费注册 查看新帖 |

Chinaunix

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

AS4安装Mysql时出错,请大虾指点 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-10 16:18 |只看该作者 |倒序浏览
In file included from /usr/include/asm/processor.h:18,
                 from /usr/include/asm/atomic.h:6,
                 from ./../include/global.h:224,
                 from mysys_priv.h:18,
                 from my_new.cc:22:
/usr/include/asm/system.h:265: error: expected `,' or `...' before "new"
/usr/include/asm/system.h: In function `long unsigned int __cmpxchg(volatile void*, long unsigned int, long unsigned int)':
/usr/include/asm/system.h:268: error: `size' undeclared (first use this function)
/usr/include/asm/system.h:268: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/asm/system.h:272: error: expected identifier before ')' token
/usr/include/asm/system.h:278: error: expected identifier before ')' token
/usr/include/asm/system.h:284: error: expected identifier before ')' token
In file included from /usr/include/asm/atomic.h:6,
                 from ./../include/global.h:224,
                 from mysys_priv.h:18,
                 from my_new.cc:22:
/usr/include/asm/processor.h: In function `void set_in_cr4(long unsigned int)':
/usr/include/asm/processor.h:235: error: `read_cr4' undeclared (first use this function)
/usr/include/asm/processor.h:237: error: `write_cr4' undeclared (first use this function)
/usr/include/asm/processor.h: In function `void clear_in_cr4(long unsigned int)':
/usr/include/asm/processor.h:244: error: `read_cr4' undeclared (first use this function)
/usr/include/asm/processor.h:246: error: `write_cr4' undeclared (first use this function)
/usr/include/asm/processor.h: In function `void load_esp0(tss_struct*, thread_struct*)':
/usr/include/asm/processor.h:487: error: `unlikely' undeclared (first use this function)
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/home/soft/mysql-3.23.58/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soft/mysql-3.23.58'
make: *** [all] Error 2


上面是我截下来的错误提示,我用的Linux ASU1,升过内核到2.6.14,所以/usr/include下的asm,linux,scsi都是指向到新内核源码包的相应目录,是不是这里出了问题呢?请高手指点

论坛徽章:
0
2 [报告]
发表于 2005-11-10 17:11 |只看该作者
自己顶一个
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP