想自己重新编译mplayer,又遇到新情况.....
由于用着beta4中的mplayer,想自己重新编译一个,结果提示需要libpng和libpng-devel,但是查看安装包已经有:# rpm -qa|grep png
libpng-1.2.6-1mgc
libpng10-1.0.16-1mgc
libpng10-devel-1.0.16-1mgc
#
难道说这些包版本太高,不符合mplayer的条件? 明显没有libpng-devel的包 那那里有与libpng-1.2.6-1mgc相配套的libpng-devel包? make: Entering directory `/root/download/MPlayer-1.0pre5/loader'
cc -I. -I.. -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium4 -mtune=pentium4 -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 -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: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 incomplete type `modify_ldt_ldt_s'
make: *** Error 1
make: Leaving directory `/root/download/MPlayer-1.0pre5/loader'
make: *** 错误 2
#
安装上libpng-devel后make时又遇到新错误,继续向各位大人求助! 难道没有人在b4上重新编译过mplayer?怎么没有人回答? linux/version.h: No such file or directory
少这个东西 linux/version.h: No such file or directory
少这个东西
请教,到那里可以搞到这个东东? 内核的? 我已经安装了cd1中的kernel-sourcecode ,应该已经有了吧?怎么还出错呢?
页:
[1]