| View previous topic :: View next topic |
| Author |
Message |
guero61 l33t

Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Thu Apr 06, 2006 1:11 am Post subject: mplayer + rtc + amd64: DOA? |
|
|
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 |
|
 |
mrcs Tux's lil' helper

Joined: 10 Oct 2003 Posts: 137
|
Posted: Thu Apr 06, 2006 4:12 pm Post subject: |
|
|
| 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 |
|
 |
guero61 l33t

Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Thu Apr 06, 2006 6:59 pm Post subject: |
|
|
| 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 |
|
 |
SimedonMyrrho n00b

Joined: 15 Jul 2005 Posts: 23
|
Posted: Tue Apr 25, 2006 10:31 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|