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?
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.
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
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.