13.1/64 Bit:xbindkeys

15/09/2014 - 21:40 von Richard Fonfara | Report spam
Hallo,

ich hatte irgendwo eine xbindkeys.rpm oder eine 1-Klick-Version
aufgegabelt, die auch zu meiner vollsten Zufriedenheit funktioniert hat.
Als ich wegen Festplattendefekts neu installieren durfte, habe ich diese
Version nicht mehr gefunden und versuche jetzt, die Version zu
installieren, die ich auf

http://www.nongnu.org/xbindkeys/xbi...stallation

gefunden habe. Wenn ich jetzt "make" ausführe, erhalte ich folgende Ausgabe:

sphere@linux-fcxy:~/Downloads/xbindkeys-1.8.6> make
make all-am
make[1]: Entering directory `/home/sphere/Downloads/xbindkeys-1.8.6'
gcc -DHAVE_CONFIG_H -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -MT xbindkeys.o -MD -MP -MF
.deps/xbindkeys.Tpo -c -o xbindkeys.o xbindkeys.c
mv -f .deps/xbindkeys.Tpo .deps/xbindkeys.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -MT keys.o -MD -MP -MF
.deps/keys.Tpo -c -o keys.o keys.c
mv -f .deps/keys.Tpo .deps/keys.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -MT options.o -MD -MP -MF
.deps/options.Tpo -c -o options.o options.c
mv -f .deps/options.Tpo .deps/options.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -MT get_key.o -MD -MP -MF
.deps/get_key.Tpo -c -o get_key.o get_key.c
mv -f .deps/get_key.Tpo .deps/get_key.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -MT grab_key.o -MD -MP -MF
.deps/grab_key.Tpo -c -o grab_key.o grab_key.c
mv -f .deps/grab_key.Tpo .deps/grab_key.Po
gcc -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -o xbindkeys xbindkeys.o
keys.o options.o get_key.o grab_key.o -lguile-2.0 -lgc
options.o: In function `get_rc_file':
/home/sphere/Downloads/xbindkeys-1.8.6/options.c:780: undefined
reference to `XStringToKeysym'
options.o: In function `extract_key':
/home/sphere/Downloads/xbindkeys-1.8.6/options.c:994: undefined
reference to `XStringToKeysym'
xbindkeys.o: In function `adjust_display':
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:223: undefined
reference to `XGetWindowAttributes'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:232: undefined
reference to `XScreenNumberOfScreen'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:226: undefined
reference to `XScreenNumberOfScreen'
xbindkeys.o: In function `reload_rc_file':
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:470: undefined
reference to `XDisplayKeycodes'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:477: undefined
reference to `XUngrabKey'
xbindkeys.o: In function `event_loop':
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:253: undefined
reference to `XSetErrorHandler'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:296: undefined
reference to `XNextEvent'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:267: undefined
reference to `XPending'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:314: undefined
reference to `XKeysymToKeycode'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:350: undefined
reference to `XKeysymToKeycode'
xbindkeys.o: In function `start':
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:178: undefined
reference to `XOpenDisplay'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:188: undefined
reference to `XAllowEvents'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:192: undefined
reference to `XSelectInput'
xbindkeys.o: In function `inner_main':
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:98: undefined
reference to `XkbSetDetectableAutoRepeat'
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:88: undefined
reference to `XDisplayName'
xbindkeys.o: In function `end_it_all':
/home/sphere/Downloads/xbindkeys-1.8.6/xbindkeys.c:207: undefined
reference to `XCloseDisplay'
keys.o: In function `print_key':
/home/sphere/Downloads/xbindkeys-1.8.6/keys.c:245: undefined reference
to `XGetKeyboardMapping'
/home/sphere/Downloads/xbindkeys-1.8.6/keys.c:245: undefined reference
to `XKeysymToString'
/home/sphere/Downloads/xbindkeys-1.8.6/keys.c:246: undefined reference
to `XGetKeyboardMapping'
/home/sphere/Downloads/xbindkeys-1.8.6/keys.c:241: undefined reference
to `XKeysymToString'
/home/sphere/Downloads/xbindkeys-1.8.6/keys.c:220: undefined reference
to `XKeysymToString'
get_key.o: In function `set_sizehints':
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:64: undefined reference
to `XParseGeometry'
get_key.o: In function `get_key_binding':
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:132: undefined
reference to `XCreateWindow'
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:136: undefined
reference to `XSetStandardProperties'
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:138: undefined
reference to `XMapWindow'
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:140: undefined
reference to `XDisplayKeycodes'
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:150: undefined
reference to `XNextEvent'
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:166: undefined
reference to `XStringToKeysym'
/home/sphere/Downloads/xbindkeys-1.8.6/get_key.c:166: undefined
reference to `XKeysymToKeycode'
grab_key.o: In function `my_grab_key':
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:84: undefined
reference to `XGrabKey'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:91: undefined
reference to `XGrabKey'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:96: undefined
reference to `XGrabKey'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:101: undefined
reference to `XGrabKey'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:106: undefined
reference to `XGrabKey'
grab_key.o:/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:111: more
undefined references to `XGrabKey' follow
grab_key.o: In function `get_offending_modifiers':
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:50: undefined
reference to `XKeysymToKeycode'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:51: undefined
reference to `XKeysymToKeycode'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:57: undefined
reference to `XGetModifierMapping'
grab_key.o: In function `ungrab_all_keys':
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:196: undefined
reference to `XUngrabKey'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:197: undefined
reference to `XUngrabButton'
grab_key.o: In function `grab_keys':
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:209: undefined
reference to `XDisplayKeycodes'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:229: undefined
reference to `XKeysymToKeycode'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:244: undefined
reference to `XKeysymToString'
grab_key.o: In function `my_grab_button':
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:135: undefined
reference to `XGrabButton'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:143: undefined
reference to `XGrabButton'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:150: undefined
reference to `XGrabButton'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:156: undefined
reference to `XGrabButton'
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:162: undefined
reference to `XGrabButton'
grab_key.o:/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:168: more
undefined references to `XGrabButton' follow
grab_key.o: In function `get_offending_modifiers':
/home/sphere/Downloads/xbindkeys-1.8.6/grab_key.c:73: undefined
reference to `XFreeModifiermap'
collect2: error: ld returned 1 exit status
make[1]: *** [xbindkeys] Fehler 1
make[1]: Leaving directory `/home/sphere/Downloads/xbindkeys-1.8.6'
make: *** [all] Fehler 2

Als blutiger Laie kann ich nicht erkennen, was ich jetzt machen muss.
Kann mir jemand weiterhelfen?

Freundliche Grüße

Richard Fonfara
 

Lesen sie die antworten

#1 Markus Koßmann
16/09/2014 - 06:08 | Warnen spam
Richard Fonfara wrote:

Hallo,

ich hatte irgendwo eine xbindkeys.rpm oder eine 1-Klick-Version
aufgegabelt, die auch zu meiner vollsten Zufriedenheit funktioniert hat.
Als ich wegen Festplattendefekts neu installieren durfte, habe ich diese
Version nicht mehr gefunden


Versuch es mal mit <http://http://software.opensuse.org/package/xbindkeys>

und versuche jetzt, die Version zu
installieren, die ich auf

http://www.nongnu.org/xbindkeys/xbi...stallation

gefunden habe. Wenn ich jetzt "make" ausführe, erhalte ich folgende
Ausgabe:

:~/Downloads/xbindkeys-1.8.6> make
[...]
gcc -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -pthread
-I/usr/include/guile/2.0 -I. -Wall -g -O2 -o xbindkeys xbindkeys.o
keys.o options.o get_key.o grab_key.o -lguile-2.0 -lgc
options.o: In function `get_rc_file':
/home/sphere/Downloads/xbindkeys-1.8.6/options.c:780: undefined
reference to `XStringToKeysym'


Da wird libX11 nicht gelinkt ( Es fehlt ein -lX11 in den
Compiler/Linkerflags)

Ähnliche fragen