[MPlayer-users] build failure on MacOS 10.4.11

Christian Ebert blacktrash at gmx.net
Mon Apr 14 19:39:12 CEST 2008


* Jan Knutar on Monday, April 14, 2008 at 20:12:45 +0300
> On Monday 14 April 2008 19:18, Christian Ebert wrote:
>> ./configure: line 2313: powerpc: command not found
>> Checking for extern symbol prefix ... _
>> [...]
>> 
>> If I comment out the switch (I guess not needed for ppc, but for
>> other machines) mplayer builds successfully:
> 
> Oh oops, powerpc() doesn't exist. I guess it should be if ! ppc. Thanks!

updated patch then ;) :


--- configure.orig	2008-04-14 19:28:14.000000000 +0200
+++ configure	2008-04-14 19:29:08.000000000 +0200
@@ -2300,6 +2300,24 @@
     _altivec=yes
   fi
 fi
+if ! x86 ; then
+  _mmx=
+  _3dnow=
+  _3dnowext=
+  _mmxext=
+  _sse=
+  _sse2=
+  _ssse3=
+  _cmov=
+fi
+if ! ppc ; then
+  _altivec=
+fi
+if ! arm ; then
+  _armv5te=
+  _armv6=
+  _iwmmxt=
+fi
 
 
 echocheck "extern symbol prefix"



> Does mplayer otherwise build with altivec optimizations and so forth 
> now?

configure.log says so:


============ Checking for GCC altivec support ============

int main(void) {
    return 0;
}

cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -I/sw/include -I/usr/local/include  -L/sw/lib -L/usr/local/lib   -o /tmp/mplayer-conf-10369-1506 /tmp/mplayer-conf-17704-1506.c -faltivec


Result is: Darwin-style (-faltivec) 
##########################################

============ Checking for altivec.h ============

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

cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -I/sw/include -I/usr/local/include  -L/sw/lib -L/usr/local/lib   -o /tmp/mplayer-conf-10369-1506 /tmp/mplayer-conf-17704-1506.c -faltivec
In file included from /tmp/mplayer-conf-17704-1506.c:1:
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/altivec.h:44:2: warning: #warning Ignoring <altivec.h> because "-faltivec" specified


Result is: yes 
##########################################


thx

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>



More information about the MPlayer-users mailing list