Fedora Linux Support Community & Resources Center
  #1  
Old 20th August 2010, 02:41 PM
Witgetsteinsbee Offline
Registered User
 
Join Date: Aug 2010
Posts: 81
linuxfedorafirefox
Help compliling qjoypad 4.1 in fc13 - libX11.so.6 error

I'm having some problems compliling qjoypad 4.1 from souce in Fedora 13 - kernel 2.6.33.6-147.2.4.fc13.i686.PAE. I've been using Fedora since core 11, but I've not got much idea what I'm doing when it comes to compliling from source - if it flunks out I feel a bit stuck - so any help would be much appreciated.

Source of qjoypad4.1 is available from http://downloads.sourceforge.net/qjo...d-4.1.0.tar.gz

./configure seems to go okay, although I get a couple of warnings about using qmake-qt4. All the all the target libraries check out:

But when I come to make, the process spits out an error implicating libX11.
All my libX11.i686 libX11-devel..i686 are up to date
I found some guidance on this link: http://forums.fedoraforum.org/archiv.../t-246434.html and tried adding various arguments to the makefile, but to no avail. Has anyone got any idea how to proceed?

Thanks for any advice

Output is as follows:

[mythtv@media src]$ ls -la /usr/lib/*X11*
lrwxrwxrwx 1 root root 15 Jul 18 17:44 /usr/lib/libX11.so -> libX11.so.6.3.0
lrwxrwxrwx. 1 root root 15 Jul 15 23:41 /usr/lib/libX11.so.6 -> libX11.so.6.3.0
-rwxr-xr-x 1 root root 1274412 Apr 12 22:06 /usr/lib/libX11.so.6.3.0
lrwxrwxrwx 1 root root 19 Jul 18 17:44 /usr/lib/libX11-xcb.so -> libX11-xcb.so.1.0.0
lrwxrwxrwx. 1 root root 19 Jul 15 23:41 /usr/lib/libX11-xcb.so.1 -> libX11-xcb.so.1.0.0
-rwxr-xr-x. 1 root root 2920 Apr 12 22:06 /usr/lib/libX11-xcb.so.1.0.0

/usr/lib/X11:
total 136
dr-xr-xr-x. 2 root root 4096 Oct 1 2009 .
dr-xr-xr-x. 188 root root 131072 Aug 19 17:35 ..

[mythtv@media src]$ ./configure --prefix="/usr"
Qmake version: 1.07a (Qt 3.3.8b)
Qmake is free software from Trolltech ASA.
WARNING: Falling back on qmake-qt4; this may or may not work
WARNING: if it fails please see the compilation instructions on
qjoypad.sourceforge.net

Configuring QJoyPad installation...
------------------------------------------------------------

Device directory: /dev/input
-- Devices will be looked for in:
/dev/input/js0
/dev/input/js1
etc.

Prefix directory: /usr
-- Files to be installed in:
/usr/bin
/usr/doc
/usr/share/pixmaps

---------------------------------------------------------
If these settings are okay, go ahead and run 'make' and
then 'make install'.

To make changes, run ./config --help for details.

[mythtv@media src]$ make
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o axis.o axis.cpp

...

/usr/lib/qt4/bin/moc -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. keycode.h -o moc_keycode.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o moc_keycode.o moc_keycode.cpp
/usr/lib/qt4/bin/moc -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. layout.h -o moc_layout.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o moc_layout.o moc_layout.cpp
error.h:8: warning: ‘void error(QString, QString)’ defined but not used
error.h:21: warning: ‘void debug_mesg(...)’ defined but not used
/usr/lib/qt4/bin/moc -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. getkey.h -o moc_getkey.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o moc_getkey.o moc_getkey.cpp
/usr/lib/qt4/bin/moc -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. layout_edit.h -o moc_layout_edit.cpp
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I. -o moc_layout_edit.o moc_layout_edit.cpp
error.h:8: warning: ‘void error(QString, QString)’ defined but not used
error.h:21: warning: ‘void debug_mesg(...)’ defined but not used
g++ -Wl,-O1 -o qjoypad axis.o axis_edit.o axisw.o button.o button_edit.o buttonw.o event.o flash.o icon.o joypad.o joypadw.o joyslider.o keycode.o layout.o layout_edit.o main.o quickset.o getkey.o moc_axis.o moc_axis_edit.o moc_button.o moc_button_edit.o moc_flash.o moc_icon.o moc_joypad.o moc_joypadw.o moc_keycode.o moc_layout.o moc_getkey.o moc_layout_edit.o -lXtst -lQtGui -lQtCore -lpthread
/usr/bin/ld: keycode.o: undefined reference to symbol 'XKeycodeToKeysym'
/usr/bin/ld: note: 'XKeycodeToKeysym' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [qjoypad] Error 1
Reply With Quote
  #2  
Old 20th August 2010, 03:30 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Help compliling qjoypad 4.1 in fc13 - libX11.so.6 error

Add the bit in bold to the line in you make file


Code:
#############################################################################
# Makefile for building: qjoypad
# Generated by qmake (2.01a) (Qt 4.6.3) on: Fri Aug 20 15:27:08 2010
# Project:  qjoypad.pro
# Template: app
# Command: /usr/bin/qmake-qt4 -unix DEVDIR=/dev/input PREFIX=/usr DEFINES\ +=\ \  INSTALL_PREFIX=//usr/ CONFIG\ +=\ release -o Makefile qjoypad.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       = -DDEVDIR=\"/dev/input\" -DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" -DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
CFLAGS        = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT $(DEFINES)
CXXFLAGS      = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT $(DEFINES)
INCPATH       = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I.
LINK          = g++
LFLAGS        = -Wl,-O1
LIBS          = $(SUBLIBS)   -lXtst -lQtGui -lQtCore -lpthread -lX11
AR            = ar cqs
RANLIB        = 
QMAKE         = /usr/bin/qmake-qt4
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
Reply With Quote
  #3  
Old 21st August 2010, 08:21 AM
Witgetsteinsbee Offline
Registered User
 
Join Date: Aug 2010
Posts: 81
linuxfedorafirefox
Re: Help compliling qjoypad 4.1 in fc13 - libX11.so.6 error

It works
Thanks very much!
Reply With Quote
  #4  
Old 11th December 2011, 09:38 PM
gerein Offline
Registered User
 
Join Date: Dec 2011
Location: Baltimore
Posts: 2
linuxfirefox
Re: Help compliling qjoypad 4.1 in fc13 - libX11.so.6 error

Thanks for this it does help and was able to compile qjoypad. However then I try to run this I get the following error

$ qjoypad
QGtkStyle was unable to detect the current GTK+ theme.

I'm on Fedora 16. Any suggestion on how to resolve this?
Reply With Quote
  #5  
Old 12th December 2011, 07:36 AM
Witgetsteinsbee Offline
Registered User
 
Join Date: Aug 2010
Posts: 81
linuxfirefox
Re: Help compliling qjoypad 4.1 in fc13 - libX11.so.6 error

Are all the gtk libraries installed (ie gtk2 etc.)?
To be fair it doesn't sound like it's complaining about a missing library so I' not sure... However I thought I'd better point out that you're now posting in the Fedora EOL section - which is concerned with older versions of Fedora - I assume this thread has been archived here as it was about fc13. It is a pretty old thread now but it looks like I'm still getting notified of new posts
As you're running fc16 you might get more joy if you start a new thread about this problem in the software section.
Reply With Quote
Reply

Tags
compliling, error, fc13, libx11so6, qjoypad

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC13 ERROR with rpm_check_debug fails update of kernel abakalidis Using Fedora 4 20th September 2010 07:26 PM
FC13 2..33.5-124.fc13.x86_64 locks up on boot dpawson Using Fedora 13 1st July 2010 02:48 PM
preupgrade --- upgrading to FC13 Error on 1st run hobz Installation, Upgrades and Live Media 7 15th June 2010 09:11 AM
rsyslog.i686 0:4.4.2-5.fc13 error in scriptlet kyryder Fedora 13 Development Branch 5 12th February 2010 07:59 AM
problem compliling the ipw2100 module hkl8324 Hardware & Laptops 1 5th February 2005 09:08 AM


Current GMT-time: 19:38 (Friday, 22-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat