我正在安装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 .)然后再试一次...
但是在我的系统中没有找到该文件,
请那位热心人帮帮我?
现谢了!!!
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
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
请帮忙看看!!!