LinuxQuestions.org
Help answer threads with 0 replies.
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 02-17-2012, 07:37 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Problem compiling QJoyPad in Fedora 16


I have libX11-devel. I also have the file /usr/lib64/libX11.so.6.


bull•Downloads/qjoypad-4.1.0/src» ./config [7:30:12]

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

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

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

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

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

bull•Downloads/qjoypad-4.1.0/src» make [7:30:16]
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 -L/usr/lib64 -lXtst -lQtGui -lQtCore -lpthread
/usr/bin/ld: keycode.o: undefined reference to symbol 'XKeycodeToKeysym'
/usr/bin/ld: note: 'XKeycodeToKeysym' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [qjoypad] Error 1
bull•Downloads/qjoypad-4.1.0/src»
 
Old 02-17-2012, 09:30 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you take the time to Google the error....

https://fedoraproject.org/wiki/Featu...icitDSOLinking
https://fedoraproject.org/wiki/Under...gDSOLinkChange
 
Old 02-20-2012, 04:27 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
I did Google the errors. I didn't see any of the links you posted.

The information in those sites looks greek to me. Does it mean there is a solution or isn't one?

Last edited by fakie_flip; 02-20-2012 at 06:23 AM.
 
Old 02-20-2012, 07:31 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Those were the first two links in Google. Yes, the solution should be in the second link. You're going to need to modify the Makefile for qjoypad and add -lX11. There is probably some variable in the Makefile that contains linker flags.
 
1 members found this post helpful.
Old 02-20-2012, 12:20 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Ref. your duplicate thread from today ..
http://www.linuxquestions.org/questi...linker-930323/
.. and post #4 by @weibullguy :
""modify the Makefile for qjoypad and add -lX11""

That's line 19 in qjoypad-4.1.0/src/Makefile :
Code:
LIBS = $(SUBLIBS)  -L/usr/lib64 -lXtst -lQtGui -lQtCore -lpthread -lX11
.
 
  


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
Compiling kernel on Fedora 10 and copying it to another machine with Fedora 5 on it ddel Linux - Newbie 8 04-13-2009 08:14 AM
Problem compiling v4l-dvb-kernel w/ 2.6.25.7 kernel - Fedora 9 SD-user Linux - Kernel 3 10-11-2008 10:49 AM
problem in compiling a simple module in fedora core 4 sanddune008 Linux - Kernel 3 11-24-2006 03:38 AM
Problem compiling nmap 3.93 on Fedora Core 4 jekist Linux - Software 2 12-02-2005 12:22 PM
Qjoypad And Debian J-Rad195 Linux - Hardware 0 09-19-2005 02:46 PM

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

All times are GMT -5. The time now is 12:05 AM.

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