Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line
2018-03-13 08:58
3531 查看
编译64位内核kernel/timeconst.pl问题解决
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
其实,提示的错误信息已经明确告诉你了,你应该省略defined().
这里,我们打开 kernel/timeconst.pl
@val = @{$canned_values{$hz}};
if (!defined(@val)) {
@val = compute_values($hz);
}
output($hz, @val);
将if (!defined(@val)) 改为if (!@val),再次编译就可以通过了。
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
其实,提示的错误信息已经明确告诉你了,你应该省略defined().
这里,我们打开 kernel/timeconst.pl
@val = @{$canned_values{$hz}};
if (!defined(@val)) {
@val = compute_values($hz);
}
output($hz, @val);
将if (!defined(@val)) 改为if (!@val),再次编译就可以通过了。
相关文章推荐
- Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl
- (Maybe you should just omit the defined()?) at kernel/timeconst.pl line
- Can't use 'defined(@array)' (Maybe you should just omit the defined()?)(编译内核时候的错误)
- Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
- 再ubuntu64位机下编译linux-2.32.2,出现Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
- kernel/timeconst.pl line 373.
- You have an error MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 20
- 10 boot time parameters you should know about the Linux kernel
- Can ORACLE use both memory_target and AIX large pages at the same time ?
- 编译内核出现kernel/timeconst.pl line 373
- 解决 编译内核出现kernel/timeconst.pl line 373问题
- MySQL server version for the right syntax to use near 'type = InnoDB' at line 25
- MySQL server version for the right syntax to use near '-1.stu stu0_' at line 1
- 第二次组队赛之:Can you find it?&&Toxophily&& Party All the Time&& Squares
- Cannot use isset() on the result of an expression (you can use "null !== expression" instead)
- your MySQL server version for the right syntax to use near 'NULL' at line 1
- Currently the writer can only accept BytesRefArrayWritableat
- clone 远程分支 Cannot update paths and switch to branch 'dev' at the same time. Did you intend to checko
- Can't use Subversion command line client: svn Probably the path to Subversion executable is wrong
- Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextE