构建 kmscon 后,我尝试运行它,但收到错误消息:
% ./kmscon
/home/janus/kmscon/.libs/lt-kmscon: symbol lookup error: /home/janus/kmscon/.libs/libuterm.so.1: undefined symbol: xkb_state_get_keymap
完整终端日志在此: https://gist.github.com/ysangkok/5363162
答案1
我解决了
- 更改
#include <xkbcommon/xkbcommon.h>
为#include "xkbcommon/xkbcommon.h"
- 配置
PKG_CONFIG_PATH="$HOME/libxkbcommon/" ./configure
ln -s ~/libxkbcommon/xkbcommon ~/kmscon/xkbcommon
。