[MPlayer-users] Bug: can't compile mplayer.

Marc marcoll at ya.com
Tue Jun 1 18:28:15 CEST 2004


This error happens with last release (1.0-pre4), and with yesterday's 
CVS snapshot (20040531), so I guess it's an unreported bug, yet.

When I compile mplayer, this is what I get:

make -C loader
make[1]: Entering directory `/home/marc/src/mplayer/MPlayer-20040531/loader'
cc -I. -I.. -I../libvo -I../../libvo -I/usr/X11R6/include -O4 
-march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer 
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-U_FILE_OFFSET_BITS -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -DMPLAYER -D__WINE__  -c ldt_keeper.c
ldt_keeper.c:28:27: linux/version.h: No such file or directory
ldt_keeper.c:29:41: missing binary operator before token "("
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
make[1]: *** [ldt_keeper.o] Error 1
make[1]: Leaving directory `/home/marc/src/mplayer/MPlayer-20040531/loader'
make: *** [loader/libloader.a] Error 2

I've been searching for file linux/version.h, and it doesn't exist. It 
existed in kernel 2.4.x, but seems that it disappeared in 2.6.x (I am 
using 2.6.6). Can this be the problem?

- My system information:
* Debian sarge
* kernel 2.6.6 (compiled by myself, no additional patches, just vanilla)
* libc 2.3.2
* gcc 3.3.3
* ld 2.14.90.0.7 20031029
* binutils 2.14.90.0.7 20031029

I also attached config.h and config.mak, hope I've been useful. Bye!

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.h
Type: text/x-chdr
Size: 13736 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040601/69959802/attachment.h>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.mak
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040601/69959802/attachment.asc>


More information about the MPlayer-users mailing list