[FFmpeg-devel] [PATCH v2] mips/asmdefs: use asm/sgidefs.h header on linux

Michael Niedermayer michaelni at gmx.at
Wed Mar 11 15:34:02 CET 2015


On Sat, Mar 07, 2015 at 12:42:30PM +0000, James Cowgill wrote:
> On Sat, 2015-03-07 at 13:32 +0100, Michael Niedermayer wrote:
> > On Sat, Mar 07, 2015 at 10:56:45AM +0000, James Cowgill wrote:
> > > Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header,
> > > but the linux kernel does have an almost equivalent asm/sgidefs.h which will
> > > do so use that header if we can.
> > > 
> > > Change _ABI64 to _MIPS_SIM_ABI64 which is defined in both headers.
> > > 
> > > Signed-off-by: James Cowgill <james410 at cowgill.org.uk>
> > 
> > tryng to build for androidmips:
> > In file included from ffmpeg/libavcodec/mips/mpegaudiodsp_mips_float.c:58:
> > ffmpeg/libavutil/mips/asmdefs.h:30:5: warning: "HAVE_ASM_SGIDEFS_H" is not defined
> > ffmpeg/libavutil/mips/asmdefs.h:33:21: error: sgidefs.h: No such file or directory
> > ffmpeg/libavutil/mips/asmdefs.h:36:18: warning: "_MIPS_SIM_ABI64" is not defined
> > 
> > i guess you are missing a include config.h in this
> 
> Woops sorry - I don't have access to any mips machines at the weekend so
> it wasn't tested a huge amount (time for qemu...)

any news on this ?
id like to put some fix in 2.6.1
or should i just revert the commit causing this ?

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150311/fe6537c9/attachment.asc>


More information about the ffmpeg-devel mailing list