|
试了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的问题,但网上没见到有报告啊。 |
|