On 12/11/09 13:31, Daniel Kahn Gillmor wrote: > git clone git://lair.fifthhorseman.net/~dkg/xdotool
The git one made symbol_map static, which will make keynav FTBFS. Build log: keynav.o: In function `parse_mods': keynav.c:(.text+0x1b2): undefined reference to `symbol_map' keynav.c:(.text+0x1d2): undefined reference to `symbol_map' keynav.c:(.text+0x1e3): undefined reference to `symbol_map' collect2: ld returned 1 exit status make[1]: *** [keynav] Error 1 The upstream original xdotool works fine. The git one with the attached patch also works fine. You may try the updated keynav on mentors.debian.net: - dget http://mentors.debian.net/debian/pool/main/k/keynav/keynav_0.20091208.01-1.dsc I have made it to use system header and system library. :-) Kind regards Wen-Yen Chuang
--- xdotool.orig/xdo_util.h +++ xdotool/xdo_util.h @@ -4,7 +4,7 @@ */ /* human to Keysym string mapping */ -static const char *symbol_map[] = { +const char *symbol_map[] = { "alt", "Alt_L", "ctrl", "Control_L", "control", "Control_L",