Build kernel error : kernel/timeconst.pl line 373

Published :

COMPILE WITH THE FOLLOWING ERROR:

Can’t use ‘defined(@array)’ (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.中的define(),

RESOLVED

  1. open the kernel/timeconst.pl
  2. go to the 373 line
  3. change
    if (!defined(@val)) {
    to
    if ( !(@val ) ) {