[vlc-devel] Re: Compiling on Mac OS X at Intell

Benjamin Pracht bigben+spam at videolan.org
Thu Oct 13 20:17:33 CEST 2005


Le jeudi 13 octobre 2005 à 20:29 +0400, Peter G. Sakhno a écrit :
> Hi everybody!
> I'm trying to compile latest VLC trunk (12828) on Mac OS X 10.4.1 at 
> Intell platform.
> I follow the "Compile VLC on Mac OS X" istructions from 
> developers.videolan.org HOWTO.
> I do not have FINK.
> At step of 'make src' in 'extras/contrib' I got following errors:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include 
> -I/[skip]/vlc-trunk/extras/contrib/include -Wall 
> -I/[skip]/vlc-trunk/extras/contrib/include -O3 -fomit-frame-pointer 
> -fno-common -MT libmpeg2arch_la-cpu_accel.lo -MD -MP -MF 
> .deps/libmpeg2arch_la-cpu_accel.Tpo -c cpu_accel.c -o 
> libmpeg2arch_la-cpu_accel.o
> cpu_accel.c: In function 'mpeg2_detect_accel':
> cpu_accel.c:90: error: can't find a register in class 'BREG' while 
> reloading 'asm'
> cpu_accel.c:96: error: can't find a register in class 'BREG' while 
> reloading 'asm'
> cpu_accel.c:110: error: can't find a register in class 'BREG' while 
> reloading 'asm'
> cpu_accel.c:114: error: can't find a register in class 'BREG' while 
> reloading 'asm'
> make[4]: *** [libmpeg2arch_la-cpu_accel.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [.mpeg2] Error 2
> make: *** [src] Error 2
> 
> Does anybody succeede to compile Mac OSX VLC at Intell platform?
> What should I do to finish compilation?

That seems to be a bug in libmpeg2, which seems to assume that darwin
implies PPC... You can try to make a bugreport to the libmpeg2 project.
A quick fix would be to disable cpu optimizations in libmpeg2 (if
possible), or not to compile libmpeg2 (ffmpeg can decode mpeg1/2 as
well).

There have been rerports of successive builts of VLC on a mac Intel.

-- 
BigBen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list