fedora26 编译内核出现Can't use 'defined(@array)' 错误

cd /kernel/

vim timeconst.pl 

把373行中的if (!defined(@val)) {

改为if (!@val) {

原文地址:https://www.cnblogs.com/zhaocundang/p/8438010.html