[MPlayer-dev-eng] Cannot compile with gcc 2.95.1

Michael Y. Brukman myb2 at cornell.edu
Tue Apr 23 07:19:58 CEST 2002


I've just checked out the CVS version, and I know the deal with "we don't
support 2.96", so here's what I have:

RedHat 7.2, which comes with 2.96. I have downgraded gcc to 2.95.1 
(including cpp and g++, if you care), and:

% ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 2.95.1, bad
Checking for gcc3 version ... v. ?.??, bad

*** Please downgrade/upgrade C compiler to gcc-2.95.x or gcc-3.x version! 
<snip, you know the rest>

So what's the deal? It says I have a 2.95.1, but I need to down/upgrade to
2.95.x? I've tried reading the FAQ, searching google, and mailing list
archives, but you've got nothing listed anywhere for this. I think that
this is a configuration bug.

Is 2.95.1 somehow an inferior compiler in the 2.95.x series? The configure 
script only considers 2.95.[2-9] as valid.

Here's a diff that helps me compile:

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.433
diff -u -u -r1.433 configure
--- configure   22 Apr 2002 09:31:13 -0000      1.433
+++ configure   23 Apr 2002 05:25:08 -0000
@@ -361,7 +361,7 @@
       cc_version="v. ?.??, bad"
       cc_verc_fail=yes
       ;;
-    2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9])
+    2.95.[1-9]|2.95.[1-9].[0-9]|3.[0-9]|3.[0-9].[0-9])
       cc_version="$cc_version, ok"
       cc_verc_fail=no
       ;;
@@ -382,7 +382,7 @@
         cc_version="v. ?.??, bad"
        cc_verc_fail=yes
        ;;
-      2.95.[2-9]|2.95.[2-9].[0-9]|3.[0-9]|3.[0-9].[0-9])
+      2.95.[1-9]|2.95.[1-9].[0-9]|3.[0-9]|3.[0-9].[0-9])
         cc_version="$cc_version, ok"
         cc_verc_fail=no
         ;;



thanks, and please CC me with any correspondence as I'm not on this list.


-michael




More information about the MPlayer-dev-eng mailing list