LinuxSir.cn,穿越时空的Linuxsir!

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

系统的时间为什么会引起make check的错误呢

[复制链接]
发表于 2007-6-23 03:27:40 | 显示全部楼层 |阅读模式
今天发现的,编译module-init-tools-3.1的时候发现的这个问题,按照精华版youbest的文章操作的,不过我用的虚拟机,之前将虚拟机suspend了,所以系统的时间不太准确。
结果make check的时候出错,提示信息如下:
...
make[1]: Entering directory `/sources/module-init-tools-3.1'
Building with --enable-zlib...
make[2]: Warning: File `/usr/include/stdio.h' has modification time 6.2e+07 s in the future
insmod.o(.text+0x5bf): In function `modtest_gzopen':
/sources/module-init-tools-3.1/testing.h:196: undefined reference to `gzopen'
collect2: ld returned 1 exit status
make[2]: *** [insmod.static] Error 1
FAIL: tests/runtests
===================
1 of 1 tests failed
===================
make[1]: *** [check-TESTS] Error 1

解决的方法倒也不难,我将/usr目录下所有的文件都touch了一下,就make check能过去了。不过我很不理解为什么会有这种情况出现。请高手指教,谢谢!
发表于 2007-6-23 07:02:52 | 显示全部楼层
感觉是因为时间太提前,所以有的东西没编译,导致check 错误。
回复 支持 反对

使用道具 举报

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

本版积分规则

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