LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 724|回复: 0

2.6.10上编译mysql通不过

[复制链接]
发表于 2005-1-23 01:37:27 | 显示全部楼层 |阅读模式
试了mysql 4.0、4.1、5,都是同样的错误信息:
In file included from /usr/include/asm/percpu.h:4,
                 from /usr/include/asm/processor.h:22,
                 from /usr/include/asm/atomic.h:6,
                 from ../include/my_global.h:291,
                 from strxmov.c:33:
/usr/include/asm-generic/percpu.h:8: error: `CONFIG_NR_CPUS' undeclared here (not in a function)
make[2]: *** [strxmov.o] 错误 1
make[2]: Leaving directory `/home/lzm/mysql-4.1.9/strings'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/lzm/mysql-4.1.9'
make: *** [all] 错误 2

/usr/include/asm、asm-generic都已连接到/usr/src/linux/include下相应目录,并且以前在2.6.8下编译是通过的。感觉是kernel的问题,但网上没见到有报告啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表