[mythtv] 'bug' in mythtv register use?

Matt Zimmerman mdz at debian.org
Mon Apr 14 19:17:47 EDT 2003


On Mon, Apr 14, 2003 at 06:05:28PM -0400, Matt Zimmerman wrote:

> On Mon, Apr 14, 2003 at 11:03:14PM +0200, Martin Moeller wrote:
> > 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.

How did you end up building with -fPIC in the first place?  Did you try to
configure it to build a shared library?  If so, don't do that.

> > 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>

Fixed in CVS.

-- 
 - mdz


More information about the mythtv-dev mailing list