QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 893|回复: 4

安装mplayer遇到的问题?

[复制链接]
发表于 2006-8-24 11:55:20 | 显示全部楼层 |阅读模式
我正在安装mplayer,但是当对mplayer主程序进行编译配置时,系统出现如下错误提示:
Checking for int[/COLOR]types.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.
我在网上也搜索了,没有找到好的解决办法.
在一篇文档中看见,如下解决办法:
Q:不能编译,找不到uint64_t inttypes.h之类的东西...
    A:把etc/inttypes.h复制到MPlayer目录下(cp etc/inttypes.h .)然后再试一次...
但是在我的系统中没有找到该文件,
请那位热心人帮帮我?
现谢了!!!
发表于 2006-8-24 12:46:15 | 显示全部楼层
贴出configure.log看看
回复

使用道具 举报

 楼主| 发表于 2006-8-24 16:15:50 | 显示全部楼层
#######################################

============ Checking for inet_aton() ============

#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_aton(0, 0); return 0; }

cc -O4 -march=prescott -mcpu=prescott -pipe -ffast-math -fomit-frame-pointer
-o /tmp/mplayer-conf-17392-5421.o /tmp/mplayer-conf-30285-5421.c
cc1: bad value (prescott) for -march= switch
cc1: bad value (prescott) for -mcpu= switch

ldd /tmp/mplayer-conf-17392-5421.o
ldd: /tmp/mplayer-conf-17392-5421.o: No such file or directory


#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_aton(0, 0); return 0; }

cc -O4 -march=prescott -mcpu=prescott -pipe -ffast-math -fomit-frame-pointer
-o /tmp/mplayer-conf-17392-5421.o /tmp/mplayer-conf-30285-5421.c -lresolv
cc1: bad value (prescott) for -march= switch
cc1: bad value (prescott) for -mcpu= switch

ldd /tmp/mplayer-conf-17392-5421.o
ldd: /tmp/mplayer-conf-17392-5421.o: No such file or directory

Result is: no (network support disabled)
##########################################

============ Checking for inttypes.h (required) ============

#include <inttypes.h>
int main(void) { return 0; }

cc -O4 -march=prescott -mcpu=prescott -pipe -ffast-math -fomit-frame-pointer
-o /tmp/mplayer-conf-17392-5421.o /tmp/mplayer-conf-30285-5421.c
cc1: bad value (prescott) for -march= switch
cc1: bad value (prescott) for -mcpu= switch

ldd /tmp/mplayer-conf-17392-5421.o
ldd: /tmp/mplayer-conf-17392-5421.o: No such file or directory

Result is: no
##########################################

============ Checking for bitypes.h (inttypes.h predecessor) ============

#include <sys/bitypes.h>
int main(void) { return 0; }

cc -O4 -march=prescott -mcpu=prescott -pipe -ffast-math -fomit-frame-pointer
-o /tmp/mplayer-conf-17392-5421.o /tmp/mplayer-conf-30285-5421.c
cc1: bad value (prescott) for -march= switch
cc1: bad value (prescott) for -mcpu= switch

ldd /tmp/mplayer-conf-17392-5421.o
ldd: /tmp/mplayer-conf-17392-5421.o: No such file or directory
请帮忙看看!!!
回复

使用道具 举报

发表于 2006-8-24 19:11:28 | 显示全部楼层
怎么像针对prescott的P4CPU专门开发的包?
回复

使用道具 举报

 楼主| 发表于 2006-8-25 08:27:05 | 显示全部楼层
不懂!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-13 22:23 , Processed in 0.045508 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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