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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-10-2005, 12:02 AM
|
#1
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Rep:
|
compiling MPlayer, can't detect X11 during configure.
Background:
Mplayer 1.0pre6a was compiled and installed. Working well. GUI enabled.
System is running Slackware-current which has been through several glibc upgrades.
Now:
Trying to compile MPlayer 1.0pre7 with gui enabled as well.
The configuration script can't detect X11 and complain that X11 is needed for gui.
The following is the message I extract from configure.log
Code:
============ Checking for X11 headers presence ============
Result is: yes (using /usr/X11/include)
##########################################
============ Checking for X11 libs presence ============
Result is: yes (using /usr/X11R6/lib)
##########################################
============ Checking for X11 ============
#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
/usr/bin/gcc-3.4.3 -static /tmp/mplayer-conf-2703-22930.c -o /tmp/mplayer-conf-2997-22930.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x342): In function `_X11TransSocketOpen':
: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xed1): In function `_X11TransSocketINETConnect':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xe18): In function `_X11TransSocketINETConnect':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x848): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc01): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc1e): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc3d): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc58): In function `_XEventsQueued':
: undefined reference to `pthread_equal'
/usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xce4): more undefined references to `pthread_equal' follow
collect2: ld returned 1 exit status
ldd /tmp/mplayer-conf-2997-22930.o
ldd: /tmp/mplayer-conf-2997-22930.o: No such file or directory
Result is: no
##########################################
Oh, I do have X11 up and running.
Is this caused by glibc upgrades? By the way, I have also compiled gcc-4.0 and installed it with program prefix, so that shouldn't cause too much problem.
How can I solved this with gui enabled?
|
|
|
|
07-10-2005, 01:11 AM
|
#2
|
|
Member
Registered: May 2004
Location: Ohio
Distribution: Slackware-current/10.1/10.0, Splack 10, Suse 9.2, NetBSD 2.0, OpenBSD 3.6, Solaris 8
Posts: 85
Rep:
|
I run slackware-current myself, although i last compiled mplayer quite some time ago. Your errors certainly suggest to me that its having issues from a brand spanking new version of Glibc. Looks as if its problem is that something its linking to was compiled with the old glibc, while its compiling itself with the newer one? Just a guess, hopefully thats in some small way helpful.
|
|
|
|
07-10-2005, 04:53 AM
|
#3
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Original Poster
Rep:
|
Would recompiling xorg on my machine help? I really don't know which is which are connected.
|
|
|
|
07-10-2005, 05:43 AM
|
#4
|
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
I think you are on the right track,may need to recompile xorg with gcc 4.0.
Just to make sure you are using 4
gcc --version
|
|
|
|
07-15-2005, 07:56 AM
|
#5
|
|
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Original Poster
Rep:
|
Ah, the latest X11 update on Slackware-current fix that problem for me.
Hmm, looks like PV have to compile a lot other progs which was compiled under older glib.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:56 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|