[mythtv-users] Compiling MythTV for PPC without Altivec?
Henry Leinhos
henry-list at leinhos.com
Fri Mar 2 15:12:22 UTC 2007
Hi,
I'm trying to compile mythtv (0.20 as well as svn) for my G3/PPC-750 desktop
machine. The standard configure options (i.e. --enable-altivec) gives me an
Illegal Instruction error at startup. If I configure with
--disable-altivec, I get the following assembler errors:
...
make[2]: Entering directory `/home/henry/src/mythtv-svn/libs/libmythmpeg2'
gcc -c -pipe -w -O3 -Wall -Wno-switch -DPIC -fPIC -fno-common -D_REENTRANT
-DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\"
-DLIBDIR=\"/usr/lib\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I../../libs/libavcodec
-I/usr/lib/qt-3.3//include -o cpu_accel.o cpu_accel.c
{standard input}: Assembler messages:
{standard input}:59: Error: unsupported relocation against v0
{standard input}:59: Error: unsupported relocation against v0
{standard input}:59: Error: unsupported relocation against v0
make[2]: *** [cpu_accel.o] Error 1
make[2]: Leaving directory `/home/henry/src/mythtv-svn/libs/libmythmpeg2'
make[1]: *** [sub-libmythmpeg2] Error 2
make[1]: Leaving directory `/home/henry/src/mythtv-svn/libs'
Are there any additional CFLAGS I need to add (-m options) to get this to
compile without altivec?
Thanks,
Henry
(BTW, I'm using a FC6/PPC distro with gcc 4.1.1)
More information about the mythtv-users
mailing list