legionus / kbd

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git

Home Page:https://kbd-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

loadkeys --mktable fi > /usr/src/linux/drivers/tty/vt/defkeymap.c fails kernel build

joakim-tjernlund opened this issue · comments

loadkeys --mktable fi > /usr/src/linux/drivers/tty/vt/defkeymap.c

then rebuilding kernel (without mrproper etc.) fails with error:

drivers/tty/vt/defkeymap.c:463:2: error: ‘altgr_ctrl_altplain_map’ undeclared here (not in a function); did you mean ‘altgr_ctrl_alt_map’?
  463 |  altgr_ctrl_altplain_map, shift_map, altgr_map, shift_altgr_map,
      |  ^~~~~~~~~~~~~~~~~~~~~~~
      |  altgr_ctrl_alt_map
make[3]: *** [scripts/Makefile.build:283: drivers/tty/vt/defkeymap.o] Error 1

version kbd version: 2.2.0

kbd version 2.3.0 fixes the problem.