[MPlayer-users] make error NOVIRUS

D Richard Felker III dalias at aerifal.cx
Fri Apr 30 14:00:54 CEST 2004

On Fri, Apr 30, 2004 at 01:43:21PM +0200, Bokor Norbert wrote:
> I cannot compile mplayer 1.0pre4, I get the following error both with gcc
> 2.95 and 3.3:
> make[1]: Entering directory `/home/pub/tmp/mplayer/MPlayer-1.0pre4/loader'
> cc -I. -I.. -I../libvo/ -I../../libvo -O4 -march=i686 -mcpu=i686 -pipe -ff
> ast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFF
> SET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib
> /include -I/usr/X11R6/include -U_FILE_OFFSET_BITS -I/usr/include/gtk-1.2 -
> I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -fno-
> omit-frame-pointer -mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__  -c
> ldt_keeper.c
> ldt_keeper.c: In function `Setup_LDT_Keeper':
> ldt_keeper.c:175: storage size of `array' isn't known
> ldt_keeper.c:208: sizeof applied to an incomplete type
> make[1]: *** [ldt_keeper.o] Error 1
> make[1]: Leaving directory `/home/pub/tmp/mplayer/MPlayer-1.0pre4/loader'
> make: *** [loader/libloader.a] Error 2
> the configure command was:
> ./configure --enable-lirc --enable-lircc --enable-menu --enable-gui --enab
> le-xmms --enable-largefiles --with-extralibdir=/usr/lib/win32 --with-reall
> ibdir=/usr/lib/win32 --with-win32libdir=/usr/lib/win32 --with-madlibdir=/u
> sr/lib --with-xmmslibdir=/usr/lib --with-xanimlibdir=/usr/lib/win32 --with
> -cdparanoialibdir=/usr/lib
> what should I do to compile mplayer?
> please help!
> thanX in advance

Please tell us what distro you're using. I expect you're using
something broken like Fedora that has a kernel which identifies itself
as 2.4.x, but is patched so much that it's essentially 2.5. Complain
to your distributor, or in the mean time, edit ldt_keeper.c by

#define modify_ldt_ldt_s user_desc

and removing the #if and #endif lines (line 29 and 31).


More information about the MPlayer-users mailing list