[MPlayer-users] Bug compiling MPlayer
Cédric Pellerin
cpellerin at screensoftware.com
Sat Feb 7 12:14:28 CET 2004
Hello,
This bug apply in 0.92, 1.0pre3 and cvs (today, Sat 7 Feb)
System used :
Linux Debian Sid with apt-get dist-ugrade just done. This means gcc 3.3.3
20040110 (prerelease) (Debian) and libc6 2.3.2.
Kernel 2.4.24 compiled by myself
Platform AMD k7 1.2GHz, 768 Mo RAM
The bug I found is :
ldt_keeper.c: In function `Setup_LDT_Keeper':
ldt_keeper.c:175: error: storage size of `array' isn't known
ldt_keeper.c:208: error: invalid application of `sizeof' to an incomplete
type
If I modify ldt_keeper.c by changing (line 27 in CVS version)
// 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
#endif
by
// 2.5.xx+ calls this user_desc:
#include <linux/version.h>
#if 0
#define modify_ldt_ldt_s user_desc
#endif
all compile well.
May be, 2.4.24 kernel does not report properly its version number ?
Thanks for your pretty good job.
Sincerely,
Cédric PELLERIN
ScreenSoftware
More information about the MPlayer-users
mailing list