[MPlayer-users] compile time problems [solved]

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Feb 17 09:59:38 CET 2006


On Thursday, 16 February 2006 at 21:33, nobody at shalmirane.net wrote:
> After some time without response in this thread, I entered deep state of
> meditation and after few attempts to interpret underworld's god's message, I've
> come to patch, which fixes the problem:
> 
> --- /temp/mplayer-20060216/loader/ldt_keeper.c  2006-02-12 15:14:12.000000000 +0100
> +++ /temp/ldt_keeper.c  2006-02-16 21:14:15.000000000 +0100
> @@ -34,7 +34,9 @@
>  // 2.5.xx+ calls this user_desc:
>  #include <linux/version.h>
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)
> -#define modify_ldt_ldt_s user_desc
> +#define LDT_ENTRIES     8192
> +#define LDT_ENTRY_SIZE  8
> +#pragma pack(4)
>  #endif
>  /* prototype it here, so we won't depend on kernel headers */
>  #ifdef  __cplusplus

If this works, this means that something between MPlayer and your kernel
headers is broken. Is your kernel vanilla or patched?

R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and oppression
to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan




More information about the MPlayer-users mailing list