[mythtv-users] mmx complilation problem

Matthew Laird myth at luther.ca
Fri Jan 2 14:32:40 EST 2004


In trying to fix the seg fault problem with mythmusic I'm upgrading to the
latest CVS of everything as suggested.  However now I receive a new
problem in compilation:

gcc -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -w -Wall
-g -O3 -DPIC -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE -O -D_REENTRANT  -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/lib/qt3/mkspecs/default -I. -I../.. -I/usr/include
-I/usr/lib/qt3/include -o mpegvideo_mmx.o i386/mpegvideo_mmx.c
In file included from i386/mpegvideo_mmx.c:569:
i386/mpegvideo_mmx_template.c: In function `dct_quantize_MMX':
i386/mpegvideo_mmx_template.c:92: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
make[2]: *** [mpegvideo_mmx.o] Error 1
make[2]: Leaving directory
`/mnt/home/lairdm/v4l2/cvs/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/mnt/home/lairdm/v4l2/cvs/mythtv/libs'
make: *** [sub-libs] Error 2

I found the thread:
http://www.gossamer-threads.com/archive/MythTV_C2/Dev_F10/Weird_avcodec_compile_problem_P96721/

of the mailing list and as you can see -O is in there.  Does anyone have a
work around for this problem?  Thanks.


More information about the mythtv-users mailing list