Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

mplayer + rtc + amd64: DOA?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
guero61
l33t
l33t
Posts: 811
Joined: Mon Oct 14, 2002 2:22 am
Location: Behind you

mplayer + rtc + amd64: DOA?

  • Quote

Post by guero61 » Thu Apr 06, 2006 1:11 am

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

Code: Select all

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?
Top
mrcs
Tux's lil' helper
Tux's lil' helper
Posts: 137
Joined: Fri Oct 10, 2003 4:06 pm

  • Quote

Post by mrcs » Thu Apr 06, 2006 4:12 pm

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.
Top
guero61
l33t
l33t
Posts: 811
Joined: Mon Oct 14, 2002 2:22 am
Location: Behind you

  • Quote

Post by guero61 » Thu Apr 06, 2006 6:59 pm

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
Top
SimedonMyrrho
n00b
n00b
Posts: 23
Joined: Fri Jul 15, 2005 10:56 am

  • Quote

Post by SimedonMyrrho » Tue Apr 25, 2006 10:31 am

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
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy