[x264-devel] compilation errors with GCC 4.4.0 ARM-EABI

Måns Rullgård mans at mansr.com
Thu May 13 18:18:25 CEST 2010


Zubair Ali Khan <zkhan at d2tech.com> writes:

> Inline.
> On 05/13/2010 11:42 AM, Måns Rullgård wrote:
>> Zubair Ali Khan<zkhan at d2tech.com>  writes:
>>
>>
>>> Hi
>>> I am compiling x264 with ARM EABI toolchain (Android) 4.4.0.
>>>
>>> I am getting these errors:
>>> external/x264/encoder/encoder.c:900: error: expected ')' before 'PRIu64'
>>> external/x264/encoder/encoder.c:910: error: expected ')' before 'PRIu64'
>>>
>> Looks like your inttypes.h is badly broken.  Go get yourself a real C
>> library.
>
> I wish that was an option :) However, its compiled now when I copied
> the defines from glibc. I also had to provide log2 and log2f functions
> from glibc. Neon support is just recent for Eclair based 4.4.0 tools
> so ARM assembly was fine. It is running on Nexus-one (Snapdragon
> similar to Cortex-A8 1 GHz), but dont know if its functioning well.

GCC 4.4 produces up to 25% slower ARM code than gcc 4.3.  You might
want to consider building your own compiler.

-- 
Måns Rullgård
mans at mansr.com


More information about the x264-devel mailing list