LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2006, 01:33 PM   #1
cybi
LQ Newbie
 
Registered: Feb 2006
Location: Poland
Distribution: slackware-current
Posts: 10

Rep: Reputation: 0
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 ---

Last edited by cybi; 08-30-2006 at 01:48 PM.
 
Old 08-30-2006, 01:43 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Rep: Reputation: Disabled
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=

Last edited by dive; 08-30-2006 at 01:50 PM.
 
Old 08-30-2006, 02:14 PM   #3
cybi
LQ Newbie
 
Registered: Feb 2006
Location: Poland
Distribution: slackware-current
Posts: 10

Original Poster
Rep: Reputation: 0
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?

Last edited by cybi; 08-30-2006 at 02:29 PM.
 
Old 08-30-2006, 04:23 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,466

Rep: Reputation: Disabled
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.
 
Old 08-31-2006, 02:58 AM   #5
cybi
LQ Newbie
 
Registered: Feb 2006
Location: Poland
Distribution: slackware-current
Posts: 10

Original Poster
Rep: Reputation: 0
Problem disappeared after disabling guile lib with "--disable guile"
thanks for help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anything like xbindkeys to Windows XP? Mega Man X General 6 08-14-2006 11:54 AM
xbindkeys & firefox navigation nemesi Slackware 3 12-05-2005 01:43 AM
xbindkeys: How to get name of clicked program lagu2653 Linux - Software 1 06-27-2005 05:28 AM
how to start xbindkeys at system startup kusum Linux - Newbie 1 01-28-2004 03:56 AM
xbindkeys - some keys unbindable? fr0zen Linux - Software 0 12-25-2003 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration