[MPlayer-users] FW: Make error NOVIRUS

Bokor Norbert norbert.bokor at lebelier.hu
Tue May 18 16:38:03 CEST 2004


I still have this problem. somebody help me!   :(

> I cannot compile mplayer 1.0pre4, I get the following error both with
gcc
> 2.95 and 3.3 (Slackware 9.1, kernel 2.6.6):
>
> 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 -
>
/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
>changing:
>
>#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)
>#define modify_ldt_ldt_s user_desc
>#endif
>
>and removing the #if and #endif lines (line 29 and 31).

the first thing i tried was deleting these two lines, but I still
have the same error (after make clean && make)
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.com/




More information about the MPlayer-users mailing list