[mythtv] Can't compile libavcodec in mythtv (v6754)
Tj
htpc at treblid.dyndns.org
Fri Jul 1 03:19:57 UTC 2005
Dear all,
I have some problems compiling mythtv (version 6754). At the moment I'm
stuck while compiling libavcodec.
My OS is Mandrake 10.1 with GCC 4.0.0...
---
ccache gcc -c -pipe -march=pentium4 -w -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -DMMX -Di386
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I..
-I../.. -I/usr/lib/qt3//include -o dsputil_mmx.o i386/dsputil_mmx.c
i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
i386/dsputil_mmx.c:618: error: can't find a register in class
'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c:618: error: can't find a register in class
'GENERAL_REGS' while reloading 'asm'
make[2]: *** [dsputil_mmx.o] Error 1
make[2]: Leaving directory `/home/tingjie/src/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/home/tingjie/src/mythtv/libs'
make: *** [sub-libs] Error 2
----
And if I manully take out "-march=pentium4 -O3" in the makefile, I hit
another error at "i386/fdct_mmx.c".. And here I'm stuck..
----
ccache gcc -c -pipe -w -Wall -Wno-switch -fomit-frame-pointer
-D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DHAVE_AV_CONFIG_H
-D_LARGEFILE_SOURCE -DHAVE_XVMC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I. -I.. -I../..
-I/usr/lib/qt3//include -o fdct_mmx.o i386/fdct_mmx.c
{standard input}: Assembler messages:
{standard input}:1597: Error: suffix or operands invalid for `pshufw'
make: *** [fdct_mmx.o] Error 1
-----
Any pointers will be appreciated.Thanks.
Regards,
Tj
More information about the mythtv-dev
mailing list