[MPlayer-users] RE: Make error NOVIRUS
Bokor Norbert
norbert.bokor at lebelier.hu
Tue May 11 12:02:01 CEST 2004
> 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 -
>
/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).
Sorry, i've forgot to mention: I'm using Slackware 9.1
the first thing i tried was deleting these two lines, but I still
have the same error (after make clean && make)
afternoon I will try to compile the current CVS snapshot, I hope it
will work, but I'd like to know how to handle compile problems
like this (and to know, what caused it)
###########################################
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