Compiling contrib package 10.5.7
Posted: 22 Jun 2009 20:00
Hi!
Congratulations for the VLC 1.0.0. I'm compiling the contrib package in Mac OS X Leopard 10.5.7 but I have the following error compiling libtheora 1.0
To resolve this problem I add the following line in the contrilb Makefile I take this line from VLC Port from MacPots.org
I add the --disable-asm flag.. can you check this change and add it to SourceCode.
Thanks for all
Congratulations for the VLC 1.0.0. I'm compiling the contrib package in Mac OS X Leopard 10.5.7 but I have the following error compiling libtheora 1.0
Code: Select all
make all-recursive
Making all in lib
if /bin/sh ../libtool --tag=CC --mode=compile /Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/Users/diegofn/Documents/vlc/vlc/extras/contrib/include -march=prescott -mtune=generic -arch i386 -DMACOSX_DEPLOYMENT_TARGET=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DNDEBUG -isystem /Users/diegofn/Documents/vlc/vlc/extras/contrib/include -I/Users/diegofn/Documents/vlc/vlc/extras/contrib/include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -I/Users/diegofn/Documents/vlc/vlc/extras/contrib/include -march=prescott -mtune=generic -arch i386 -DMACOSX_DEPLOYMENT_TARGET=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DNDEBUG -isystem /Users/diegofn/Documents/vlc/vlc/extras/contrib/include -MT dct_decode_mmx.lo -MD -MP -MF ".deps/dct_decode_mmx.Tpo" -c -o dct_decode_mmx.lo `test -f 'enc/x86_32/dct_decode_mmx.c' || echo './'`enc/x86_32/dct_decode_mmx.c; \
then mv -f ".deps/dct_decode_mmx.Tpo" ".deps/dct_decode_mmx.Plo"; else rm -f ".deps/dct_decode_mmx.Tpo"; exit 1; fi
/Developer/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/Users/diegofn/Documents/vlc/vlc/extras/contrib/include -march=prescott -mtune=generic -arch i386 -DMACOSX_DEPLOYMENT_TARGET=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DNDEBUG -isystem /Users/diegofn/Documents/vlc/vlc/extras/contrib/include -I/Users/diegofn/Documents/vlc/vlc/extras/contrib/include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -I/Users/diegofn/Documents/vlc/vlc/extras/contrib/include -march=prescott -mtune=generic -arch i386 -DMACOSX_DEPLOYMENT_TARGET=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DNDEBUG -isystem /Users/diegofn/Documents/vlc/vlc/extras/contrib/include -MT dct_decode_mmx.lo -MD -MP -MF .deps/dct_decode_mmx.Tpo -c enc/x86_32/dct_decode_mmx.c -fno-common -DPIC -o .libs/dct_decode_mmx.o
enc/x86_32/dct_decode_mmx.c: In function 'loop_filter_mmx':
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:216: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:33: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:33: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:216: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:33: error: 'asm' operand has impossible constraints
make[4]: *** [dct_decode_mmx.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [.theora] Error 2
make: *** [using-src] Error 2
Code: Select all
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 1d5a820..eda8726 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -803,7 +803,7 @@ ifdef HAVE_WIN32
endif
(cd $@; autoconf)
-THEORACONF = --disable-sdltest --disable-oggtest --disable-vorbistest --disable-examples
+THEORACONF = --disable-sdltest --disable-oggtest --disable-vorbistest --disable-examples --disable-asm
ifdef HAVE_WIN32
THEORACONF += --disable-docs
endif
Thanks for all