Fedora Linux Support Community & Resources Center
Old 4th August 2004, 10:59 AM
PompeyBlue Offline
Registered User
Join Date: Jun 2004
Location: Portsmouth, UK
Posts: 452
Link error on XOpenDisplay


I've got a very basic C++ harness up and running in KDevelop3.0

However I'm getting a link error "Undefined reference to XOpenDisplay"

I'm linking in libX11.so & libXext.so

Should these libraries contain this function ? When I look at libX11.so it contains a label "XOpenDisplay" but I'm not sure if that's an external label or not. Has anybody got this to link before ?
Reply With Quote
Old 6th August 2004, 11:45 AM
PompeyBlue Offline
Registered User
Join Date: Jun 2004
Location: Portsmouth, UK
Posts: 452
I found it

Just in case anybody else needs to do this, simply go to the "automake manager"

There click on the project name (in my case it's cgs) and from there click the spanner and wratchet. That will bring up a dialogue with "libraries" which you can add libraries with.

Then everythign will build fine.

Now to find out how to get KDevelop to debug my app!
Reply With Quote

error, link, xopendisplay

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
FAQ link produces database error tashirosgt Suggestions & Feedback 2 3rd April 2009 11:05 PM
Link error using xalan-c with compat-gcc-34-c++ dnivra Using Fedora 4 1st August 2008 11:59 AM
GNUARM link error Sune Ahlgren Using Fedora 5 2nd June 2008 01:23 PM
GNUARM link error Sune Ahlgren Linux Chat 1 1st June 2008 03:58 PM
dynamic-link.h:57 error funkymatt Using Fedora 0 21st September 2006 06:39 PM

Current GMT-time: 23:28 (Thursday, 17-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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