[mythtv] OSX Compile fails on has_altivec ld error

David Snider dsnider at thesniderpad.com
Mon Nov 19 00:55:04 UTC 2007


David Snider wrote:
> Nigel Pearson wrote:
>   
>>> Now, I also edited the osx-packager script to remove OpenGL by  
>>> changing
>>> "-enable-opengl" to "-disable-opengl" and got the same error.
>>>     
>>>       
> I suck... ;-)
>   
>> Right idea, wrong section.
>>
>> (That enable is for mythplugins.
>>   The error you are having is in mythtv)
>>
>>
>> Adding --disable-opengl in the %conf mythtv would
>> probably have fixed it. Hopefully [14900] also did
>>
>>
>>   
>>     
> Compiling 14901 right now.  I'll respond back in an hour or so.
>   
grrr...   So, same error.   I tried running configure myself to get the 
output in the root of the mythtv folder.  I got an error on the endian 
test.   Here's the output of config.err

$ ./configure
endian test failed
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
mythtv-dev at mythtv.org mailing list or IRC #mythtv on irc.freenode.net
Include the log file "config.err" produced by configure as this will help
solving the problem.

$ ./cat config.err
<snip>
In file included from /tmp/ffmpeg-conf-20329-5656-16881.cpp:1:
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/altivec.h:44:2: 
warning: #warning Ignoring <altivec.h> because "-faltivec" specified
check_cc
BEGIN /tmp/ffmpeg-conf-8246-5656-13300.c
    1   #include <altivec.h>
    2   int main(void) {
    3       vector signed int v1, v2, v3;
    4       v1 = vec_add(v2,v3);
    5       return 0;
    6   }
END /tmp/ffmpeg-conf-8246-5656-13300.c
gcc -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare 
-faltivec -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-19611-5656-22445.o 
/tmp/ffmpeg-conf-8246-5656-13300.c
In file included from /tmp/ffmpeg-conf-8246-5656-13300.c:1:
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/altivec.h:44:2: 
warning: #warning Ignoring <altivec.h> because "-faltivec" specified
distcc --version
distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) 
(default port 3632)
  built Mar 14 2006 15:57:21
Copyright (C) 2002, 2003, 2004 by Martin Pool.
Includes miniLZO (C) 1996-2002 by Markus Franz Xaver Johannes Oberhumer.

distcc comes with ABSOLUTELY NO WARRANTY.  distcc is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

ccache -V
./configure: line 473: ccache: command not found
check_cc
BEGIN /tmp/ffmpeg-conf-8246-5656-13300.c
    1   unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
END /tmp/ffmpeg-conf-8246-5656-13300.c
distcc gcc -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare 
-faltivec -fomit-frame-pointer -c -o /tmp/ffmpeg-conf-19611-5656-22445.o 
/tmp/ffmpeg-conf-8246-5656-13300.c
distcc[5836] (dcc_spawn_child) ERROR: attempt to use unknown compiler 
aborted: gcc
distcc[5836] (dcc_build_somewhere) Warning: failed to distribute, 
running locally instead
distcc[5836] (dcc_spawn_child) ERROR: attempt to use unknown compiler 
aborted: gcc
endian test failed



More information about the mythtv-dev mailing list