|
|
今天发现的,编译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能过去了。不过我很不理解为什么会有这种情况出现。请高手指教,谢谢! |
|