[MPlayer-users] mplayer.c will not compile on 2.2.x kernel

Arpi arpi at thot.banki.hu
Tue Nov 20 08:46:34 CET 2001


Hi,

> I'm having troubles compiling mplayer since November 13, around
> 18:20 or so.  It seems mplayer.c is including linux/rtc.h which
> only exists in linux kernel 2.4.x.  I can reverse to the revision
> of mplayer.c that compiles on my 2.2.19 kernel, but I don't know if
> that makes mplayer.c compatible with the rest of the updates that
> are done to the cvs source.  Another thing I tried was commenting
> out the two sections that contain the #ifdef TARGET_LINUX and that
> seems to work.  Is there a better way of doing this in the source? 
> Like detecting the kernel version or something similar?
> 
Ok, fixed.

RTC is now autodetected by ./configure and can be enabled/disabled too


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-users mailing list