ahxujin 发表于 2006-8-24 11:55:20

安装mplayer遇到的问题?

我正在安装mplayer,但是当对mplayer主程序进行编译配置时,系统出现如下错误提示:
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.
我在网上也搜索了,没有找到好的解决办法.
在一篇文档中看见,如下解决办法:
Q:不能编译,找不到uint64_t inttypes.h之类的东西...
    A:把etc/inttypes.h复制到MPlayer目录下(cp etc/inttypes.h .)然后再试一次...
但是在我的系统中没有找到该文件,
请那位热心人帮帮我?
现谢了!!!

fox_eagle2003 发表于 2006-8-24 12:46:15

贴出configure.log看看

ahxujin 发表于 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
请帮忙看看!!!

fox_eagle2003 发表于 2006-8-24 19:11:28

怎么像针对prescott的P4CPU专门开发的包?

ahxujin 发表于 2006-8-25 08:27:05

不懂!!!
页: [1]
查看完整版本: 安装mplayer遇到的问题?