LinuxSir.cn,穿越时空的Linuxsir!

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

slackwarwe current升级后出现问题

[复制链接]
发表于 2005-12-14 07:18:26 | 显示全部楼层 |阅读模式
编译mysql 4.1.15/16报错--而以前是好的。就是大神生女儿后更新就不行了。
then mv -f ".deps/my_new.Tpo" ".deps/my_new.Po"; else rm -f ".deps/my_new.Tpo"; exit 1; fi
In file included from /usr/include/asm/atomic.h:6,
                 from ../include/my_global.h:280,
                 from mysys_priv.h:17,
                 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:235: error: (Each undeclared identifier is reported only once for each function it appears in.)
/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)
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/root/mysql-4.1.15/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-4.1.15'
make: *** [all] Error 2
 楼主| 发表于 2005-12-14 07:35:25 | 显示全部楼层
好象是linux kernel header的问题。我用的是2.6.14.3的。换成2.4.32的就好了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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