XBindKeys 1.7.3 compile error
hi, I have a little probem with compilation of XBindKeys 1.7.3,
I just don't have any idea what to do to eliminate the error, please help, here is listing: --- cut --- bash-3.1# ./configure && make checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for gawk... gawk checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11/lib, headers in standard search path checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for XCreateWindow in -lX11... yes checking libguile.h usability... yes checking libguile.h presence... yes checking for libguile.h... yes checking for scm_boot_guile in -lguile... yes checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... no checking for vfork... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... no checking return type of signal handlers... void checking for strcasecmp... no checking for strchr... no checking for strrchr... no checking for strstr... no checking for strtol... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -c xbindkeys.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -c keys.c keys.c: In function `add_key': keys.c:81: warning: implicit declaration of function `rpl_malloc' gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -c options.c options.c: In function `xbindkey_wrapper': options.c:772: warning: implicit declaration of function `rpl_malloc' options.c:772: warning: assignment makes pointer from integer without a cast options.c:788: warning: assignment makes pointer from integer without a cast options.c:832: warning: assignment makes pointer from integer without a cast gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -c get_key.c gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -c grab_key.c gcc -g -O2 -DFORK_FLAG=1 -DGUILE_FLAG=1 -I. -Wall -g -O2 -o xbindkeys xbindkeys.o keys.o options.o get_key.o grab_key.o -L/usr/X11/lib -lX11 -lguile xbindkeys.o(.text+0xd0): In function `adjust_display': /home/cybi/garbage/dOWNLOADs/appz/xbindkeys-1.7.3/xbindkeys.c:200: undefined reference to `rpl_malloc' keys.o(.text+0x4e1): In function `set_button': /home/cybi/garbage/dOWNLOADs/appz/xbindkeys-1.7.3/keys.c:288: undefined reference to `rpl_malloc' keys.o(.text+0x551): In function `set_keycode': /home/cybi/garbage/dOWNLOADs/appz/xbindkeys-1.7.3/keys.c:272: undefined reference to `rpl_malloc' keys.o(.text+0x5c1): In function `set_keysym': /home/cybi/garbage/dOWNLOADs/appz/xbindkeys-1.7.3/keys.c:257: undefined reference to `rpl_malloc' keys.o(.text+0x632): In function `add_key': /home/cybi/garbage/dOWNLOADs/appz/xbindkeys-1.7.3/keys.c:81: undefined reference to `rpl_malloc' options.o(.text+0x18ba):/home/cybi/garbage/dOWNLOADs/appz/xbindkeys-1.7.3/options.c:772: more undefined references to `rpl_malloc' follow /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_create' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_getspecific' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_attr_getstack' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_detach' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_once' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_key_create' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_getattr_np' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_sigmask' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_mutexattr_settype' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_mutexattr_init' /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libguile.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status make: *** [xbindkeys] Error 1 --- cut --- |
Seems to be connected with libguile. Perhaps you don't have the correct, or the most uptodate version?
There are some slack packages available: http://www.linuxpackages.net/search_...xbindkeys&ver= |
I had already found ready package on slacky.it for version 1.7.3 but there is alco some error wjen I try to execute it.
Firstly it was: xbindkeys: error while loading shared libraries: libguile.so.12: cannot open shared object file: No such file or directory so I checked which version of libguile I have instaled, I discovered that it's libguile.so.17 so I simlinked to libguile.so.17 to libguile.so.12 to see what will happend and I get different error whoch is connected with those from the compilation: xbindkeys: symbol lookup error: /usr/lib/libguile.so.12: undefined symbol: pthread_once something is wrong with this pthread functions, it's all started yesterday when I upgraded my system to current version, earlier there was no problem with this application. Any idea how to solve it? |
Hmm do you remember what packages you upgraded? Sounds like some glibc or other libraries rather than xbindkeys or libguile.
If you have upgraded some libs you can try running ldconfig as root, and even rebooting may help. |
Problem disappeared after disabling guile lib with "--disable guile" :)
thanks for help. |
All times are GMT -5. The time now is 07:48 PM. |