[MPlayer-users] Make problem with ldt_keeper.c

MA Gagne mgagne013 at sympatico.ca
Tue Dec 17 07:39:02 CET 2002


Hello
Runnig SuSE 7.3 and trying out MPlayer CVS-021216-15:59-2.95.3

There is a problem in ldt_keeper.c. There is a line in there which
assumes you have kernel source in /usr/src/linux. This will fail if you
do not have version.h in there..There is even a comment in the code :)

Thanks
Marc-Andre Gagne
Montreal, Canada

snippet from ldt_keeper.c
// 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
/* prototype it here, so we won't depend on kernel headers */

Error messeage:

make -C loader
make[1]: Entering directory `/home/gagner/MPLAYER/CVS_/main/loader'
gcc -I. -I.. -O4 -march=i686 -mcpu=i686 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -U_FILE_OFFSET_BITS -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/X11R6/include  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -DWIN32_PATH=\"\" -DMPLAYER -D__WINE__
-Ddbg_printf=__vprintf -DTRACE=__vprintf  -c ldt_keeper.c
ldt_keeper.c:28: linux/version.h: No such file or directory
ldt_keeper.c:29: parse error
make[1]: *** [ldt_keeper.o] Error 1
make[1]: Leaving directory `/home/gagner/MPLAYER/CVS_/main/loader'
make: *** [loader/libloader.a] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20021217/459d325d/attachment.htm>


More information about the MPlayer-users mailing list