Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer + rtc + amd64: DOA?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Thu Apr 06, 2006 1:11 am    Post subject: mplayer + rtc + amd64: DOA? Reply with quote

After much fiddling with USE flags, I figured out that mplayer fails compile with the following message:
Code:

In file included from mplayer.c:179:
libmpdemux/demuxer.h:107: error: field `get_current' declared as a function


I have RTC built in to my kernel, and am running "bleeding edge" of everything - 2.6.16 headers, gentoo-sources-2.6.16-r1; 64-bit native as well. Anyone run into this as well?
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Thu Apr 06, 2006 4:12 pm    Post subject: Reply with quote

Yup, on ~x86 though. I'm running nxtys glibc-2.4-r2, linux-headers-2.6.16, beyond-sources (stable), and RTC as a module. I'm guessing linux-headers is the culprit, didn't have a problem (if my mind serves me right) emerging mplayer with 2.6.11 and a 2.6.16 kernel. I have no idea how to fix it though.
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Thu Apr 06, 2006 6:59 pm    Post subject: Reply with quote

I just eliminated it; wanted to check and see if anyone else had the problem before I submitted a bugreport. I'm a little wary of jumping back and forth on headers to check and see if it is the 2.6.11 v. 2.6.16
Back to top
View user's profile Send private message
SimedonMyrrho
n00b
n00b


Joined: 15 Jul 2005
Posts: 23

PostPosted: Tue Apr 25, 2006 10:31 am    Post subject: Reply with quote

Yes, as far as i can guess, linux-headers is the culprit. I had the same problem (~x86), and got around it by editing a header file.

Since i do not know the name for sure, here is how i found out.

First, i removed current.h from /usr/include/asm(?), and mplayer failed to compile, but showed, which header files are included. In one of these(wait.h?) i removed the include of current.h (or another file, i am not sure), and it worked. mplayer compiled, and works just fine.
_________________
~x86 Duron 1.8GHz, 512 MB DDR, ATI Radeon 7500, SiS 735
KDE, Fluxbox
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum