LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-20-2012, 06:22 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
Problems compiling with Fedora's change to linker


I'm having problem compiling QJoyPad in Fedora 16.

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


Code:
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»
Google shows

https://fedoraproject.org/wiki/Featu...icitDSOLinking
https://fedoraproject.org/wiki/Under...gDSOLinkChange

I'm not exactly sure what all the info in the those links mean. However I am sure this issue is fedora specific. A friend compiled under Slackware without a problem. What do I need to do to make this work?
 
Old 02-20-2012, 07:34 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
This is the same question you're asking in this thread --> http://www.linuxquestions.org/questi...7/#post4607278

Double posting is a violation of LQ Rules. Let's keep the discussion going in your original thread.
 
  


Reply



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 mplayer - boat load of linker errors. smeezekitty Programming 4 03-30-2011 07:45 PM
Linker error in cross compiling foomatic filter siva4ever Linux - Software 10 01-09-2010 03:43 AM
Difficulty with linker when compiling FreeBasic app on Ubuntu gvp87 Programming 1 03-17-2008 02:31 AM
linker error compiling superkaramba seth_m Linux - General 1 10-15-2003 07:07 PM
Compiling KDE apps, linker error julienp Programming 1 08-07-2003 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:43 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