[Ffmpeg-devel] [PATCH] Move BeOS-specific code into os_support.c

Cian Duffy myob87
Tue Nov 14 15:59:26 CET 2006


On 14/11/06, Michael A. Kohn <mike at mikekohn.net> wrote:
>
>
>
> On Tue, 14 Nov 2006, Diego Biurrun wrote:
>
> > Here is a patch to slightly clean up BeOS handling in libavformat.
> > Should be OK (TM), even though untested (no BeOS here).  Will commit
> > tomorrow unless there are objections.
> >
> > Diego
> >
>
> I set up a BeOS box over the weekend so I could test my patches that I've
> been trying to get accepted here. I can test this for you tonight when I
> get home.
>
> Two things I've found tho with BeOS: the stock compiler is gcc 2.95.3
> which doesn't seem to want to compile ffmpeg.


It can made to do it without much hassle but certain h264 videos will cause
it to crash, so I use 3.4.3 to build. What exact build error are you
getting?

  I upgraded to gcc 3.4.x (I
> believe it's 3.4.4, I can check when I get home) but when compiling I get:
>
> cabac.h:522: error: can't find a register in class `GENERAL_REGS` while
> reloading `asm'


disable PIC and this builds.


> Also in the configure script, the first set of lines under "make sure we
> are running under a compatible shell" have to be commented out to work on
> BeOS and MingW compiled under MSys on Windows.


This happens with all bash-2 versions on BeOS. I'm using a newer release
with bash-3.1, works fine there.


-- 
-------------------------
"We're busy running out of time"




More information about the ffmpeg-devel mailing list