LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: aaccdd

手把手教你编译安装MPlayer-1.0pre5

[复制链接]
发表于 2004-8-28 10:45:45 | 显示全部楼层

编译通不过,请教!

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 `/root/download/MPlayer-1.0pre5/loader'
make: *** [loader/libloader.a] Error 2
编译时出现以上错误,请问怎么回事该如何解决!
发表于 2004-8-28 10:46:19 | 显示全部楼层

编译通不过,请教!

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 `/root/download/MPlayer-1.0pre5/loader'
make: *** [loader/libloader.a] Error 2
编译时出现以上错误,请问怎么回事该如何解决!
发表于 2004-8-28 10:46:24 | 显示全部楼层

编译通不过,请教!

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 `/root/download/MPlayer-1.0pre5/loader'
make: *** [loader/libloader.a] Error 2
编译时出现以上错误,请问怎么回事该如何解决!
发表于 2004-8-29 08:44:41 | 显示全部楼层

zlib and libpng have been installed, also error

Error: X11 support required for GUI compilation

what is gui
发表于 2004-9-1 23:46:42 | 显示全部楼层
装不了啊,debian

Checking for extra libs ... none
Checking for i18n ... no
Checking for setlocale() ... no
Checking for iconv ... no
Checking for langinfo ... no
Checking for language ... using zh_CN (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... none
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... no
Checking for nanosleep ... no
Checking for socklib ... no
Checking for inet_pton() ... no (=> i'll try inet_aton next)
Checking for inet_aton() ... no (=> network support disabled)
Checking for inttypes.h (required) ... no
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).

Check "configure.log" if you do not understand why it failed.
sommer:/mnt/rh_local/download/mplayer/source/MPlayer-1.0pre5#

什么问题啊?按照faq做了也不行。
发表于 2004-9-2 09:08:09 | 显示全部楼层
缺文件inttypes.h或bitypes.h?
发表于 2004-9-3 20:01:26 | 显示全部楼层
最初由 addone 发表
缺文件inttypes.h或bitypes.h?


是些什么文件?应该放在哪儿的?怎么装上去呢?
发表于 2004-9-4 21:46:22 | 显示全部楼层

编译通不过!!

错误信息如图,各位帮帮忙

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2004-9-4 23:48:32 | 显示全部楼层
Checking for bitypes.h (inttypes.h predecessor) ...
Error: Cannot find header either inttypes.h or bitypes.h (see DOCS/HTML/en/faq.html).

出现这个错误的,请安装glibc-headers

我按照斑竹先生教的方法安装了mplayer1.05,但是无论打开哪种格式的视频文件,比如.rm,.asf等文件都弹出一个标题为“致命错误”的对话框,提示:“打开/初始化所选的视频输出(-vo)设备是出错!”
请问怎么解决这问题啊

修改~/.mplayer/config
vo=xv,x11,sdl
 楼主| 发表于 2004-9-4 23:54:36 | 显示全部楼层
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 `/root/download/MPlayer-1.0pre5/loader'
make: *** [loader/libloader.a] Error 2
编译时出现以上错误,请问怎么回事该如何解决!

首先检查开发工具是否都装上了,
如果已经装了
可以尝试./configure --disable-win32
重新编译

Error: X11 support required for GUI compilation

what is gu

查看是否安装了xorg-devel/XFree86-devel
rpm -q XFree86-devel
如果没有,装上
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表