[mythtv] Mythtranscode does not compile os-x

Daniel Kristjansson danielk at cuymedia.net
Tue Nov 22 23:27:57 EST 2005


On Tue, 2005-11-22 at 20:21 -0800, Geoffrey Hausheer wrote:
> On 11/22/05, Geoffrey Kruse wrote:
> > mpeg2fix.cpp:16:20: malloc.h: No such file or directory
> This is the correct include for memalign.  Not sure why it wouldn't be
> available.
memalign is technically an obsolete function. You are supposed to use 
posix_memalign (defined in stdlib.h) on newer systems.
What is the alignment criteria? Perhaps you can use av_malloc()?

> > mpeg2fix.cpp: In member function `void MPEG2replex::start()':
> > mpeg2fix.cpp:283: error: `open64' undeclared (first use this function)
> Dunno how this is supposed to be handled either.
Use open() with O_LARGEGILE? I not familiar with the open64() call.

-- Daniel



More information about the mythtv-dev mailing list