[mythtv] 'bug' in mythtv register use?

Matt Zimmerman mdz at debian.org
Mon Apr 14 19:05:28 EDT 2003


On Mon, Apr 14, 2003 at 11:03:14PM +0200, Martin Moeller wrote:

> On my new SuSE Linux 8.2 setup, mythtv won't compile, it keeps giving
> this error:
> [...]
> common.h: In function `msmpeg4_pred_dc':
> msmpeg4.c:737: error: can't find a register in class `BREG' while
> reloading `asm'
> msmpeg4.c:737: error: can't find a register in class `BREG' while
> reloading `asm'
> [...]
> As you can see, it only seems to happen in libavcodec.
> .. Okay, it seems everything compiles if i remove -fPIC from the
> Makefile in the libavcodec catalog. At least that's a way around it for
> now. Next is to see if it also works :)

That asm statement should be omitted if you are building with PIC.  Try
using -DPIC in addition to -fPIC.

> nuppeldecoder.cpp: In function `void
> release_nuppel_buffer(AVCodecContext*, AVFrame*)':
> nuppeldecoder.cpp:399: error: `assert' undeclared (first use this
> function)
> nuppeldecoder.cpp:399: error: (Each undeclared identifier is reported
> only once for each function it appears in.)

Try adding #include <assert.h>

-- 
 - mdz


More information about the mythtv-dev mailing list