[mythtv] inline asm problems?

Philippe C. Cattin cattin at vision.ee.ethz.ch
Thu Jun 12 10:45:07 EDT 2003


This seems to become a FAQ! should we include it in the docs?

just remove the -fPIC flags from the Makefile you find in the libavcodec 
and run make again.

Philippe

> Don't really know where to turn on this one.  I'm trying to compile
> Mythtv under SuSE 8.2 and there seems to be an issue with libavcodec.
> I've tried 0.7 & 0.8 but I seem to have the same problem with both.
> Mythtv .7 compiled ok under SuSE 8.1 so I guess it's some library
> or config setting in my new install of SuSE 8.2.  Any help or
> pointers would be of great help.  Anyway, here's what I get:
> 
> ......
> gcc -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC -DNO_DEBUG -w -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I../.. -I../../../../../include -I/usr/lib/qt3/include -o msmpeg4.o msmpeg4.c
> common.h: In function `msmpeg4_pred_dc':
> msmpeg4.c:723: error: can't find a register in class `BREG' while reloading `asm'
> msmpeg4.c:723: error: can't find a register in class `BREG' while reloading `asm'
> make[2]: *** [msmpeg4.o] Error 1
> make[2]: Leaving directory `/usr/local/src/mythtv-0.8/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory `/usr/local/src/mythtv-0.8/libs'
> make: *** [sub-libs] Error 2
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev


-- 
Dr. Philippe C. Cattin                          cattin at vision.ee.ethz.ch
Swiss Federal Institute of Technology, ETHZ         Tel: +41-1-632 25 29
Computer Vision Laboratory, CH-8092 Zuerich         Fax: +41-1-632 11 99




More information about the mythtv-dev mailing list