On Thu, Mar 24, 2011 at 09:51:58PM +0100, Landry Breuil wrote:
> On Thu, Mar 24, 2011 at 07:45:25PM +0000, Jacob Meuser wrote:
> > On Thu, Mar 24, 2011 at 08:24:55PM +0100, Landry Breuil wrote:
> > > On Wed, Mar 23, 2011 at 09:13:31PM +0000, Edd Barrett wrote:
> > > > On Wed, Mar 23, 2011 at 12:23:21PM -0400, Brad wrote:
> > > > > Read the content of both URLs in context... they both refer to the 
> > > > > MythTV project.
> > > > 
> > 
> > 
> > ugh.  does this fix it?  or maybe like __APPLE__, _POSIX_C_SOURCE should be
> > undefined?
> 
> 
> That helps, but it fails later on with :
> ld: warning: type and size of dynamic symbol `__got_start@@LIBAVCODEC_52' are 
> not defined
> ld: warning: type and size of dynamic symbol `__got_end@@LIBAVCODEC_52' are 
> not defined
> /usr/obj/ports/ffmpeg-20110306/ffmpeg-git-20110306/libavcodec/libavcodec.so.15.0:
>  undefined reference to `ff_fmt_convert_init_ppc'   
> 
> looks like altivec is disabled in libavcoded/ppc, as only dsputil_ppc.c
> is compiled, while the implem is in the other c files, and the code is
> called inconditionally in libavcodec/fmtconvert.c. fail.
Removing --disable-altivec fails later in the build with:

libavcodec/ppc/fft_altivec_s.S: Assembler messages:
libavcodec/ppc/fft_altivec_s.S:447: Error: unknown pseudo-op: `.ifnb'

Replacing --disable-altivec by --disable-asm lets ffmpeg build and run in
basic testing. I'm not sure we want that fix, nor if its a good thing
for all archs.

Landry

Reply via email to