- 论坛徽章:
- 0
|
本帖最后由 linuxlearning4RMB 于 2015-12-13 16:56 编辑
gcc版本
gcc version 4.9.3 (GCC)
当前内核版本:2.6.32-279.el6.x86_64
当前操作系统:CentOS release 6.6 (Final)
编译源码 linux-3.10.0-123.el7已经成功,但是 make modules_install的时候出错了:- [root@repo linux-3.10.0-123.el7]# make modules_install
- INSTALL arch/x86/crypto/ablk_helper.ko
- ./signing_key.x509 at /usr/src/kernels/linux-3.10.0-123.el7/scripts/sign-file line 56.
- make[1]: *** [arch/x86/crypto/ablk_helper.ko] Error 255
- make: *** [_modinst_] Error 2
复制代码 /usr/src/kernels/linux-3.10.0-123.el7/scripts/sign-file内容如下:- 43 #
- 44 # Function to read the contents of a file into a variable.
- 45 #
- 46 sub read_file($)
- 47 {
- 48 my ($file) = @_;
- 49 my $contents;
- 50 my $len;
- 51
- 52 open(FD, "<$file") || die $file;
- 53 binmode FD;
- 54 my @st = stat(FD);
- 55 die $file if (!@st);
- 56 $len = read(FD, $contents, $st[7]) || die $file;
- 57 close(FD) || die $file;
- 58 die "$file: Wanted length ", $st[7], ", got ", $len, "\n"
- 59 if ($len != $st[7]);
- 60 return $contents;
- 61 }
复制代码 ./signing_key.x509 这个文件里面什么都没有
./signing_key.priv 这个文件里面也是什么都没有 |
|