编译时报--Error: Bad gcc version,该怎么办?

编译打包和其他
回复
zhaizl
帖子: 12
注册时间: 2006-10-19 20:44

编译时报--Error: Bad gcc version,该怎么办?

#1

帖子 zhaizl » 2006-12-10 10:27

小弟菜鸟,请高手指点。
zhai@zhai-desktop:~$ /home/zhai/MPlayer-0.92/configure --enable -gui
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 4.0.3, bad
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.0.3, bad


*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use. Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder). If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

*** For details please read DOCS/users_against_developers.html ***


Error: Bad gcc version

是不是要重装gcc?
回复