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