[x264-devel] Re: Compiler issue

Axel Gunter axl264 at gmail.com
Thu Jan 11 21:37:09 CET 2007


Thanks Tomas - your suggested solution works for me.
-Axel

Tomas Carnecky wrote:
> Axel Gunter wrote:
>   
>> Hi,
>>
>> I am getting the following compile error, can anyone help?
>>
>> *
>> gcc -O1 -g -Wall -I. -D__X264__ -DHAVE_MALLOC_H -DHAVE_MMXEXT -DHAVE_SSE2
>> -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD   -c -o common/cpu.o common/cpu.c
>> common/cpu.c: In function `x264_cpu_num_processors':
>> common/cpu.c:172: warning: passing arg 2 of `sched_getaffinity' makes
>> pointer
>> from integer without a cast
>> common/cpu.c:172: too many arguments to function `sched_getaffinity'
>> make: *** [common/cpu.o] Error 1
>>
>>
>>     
>
> too old glibc version IIRC...
> http://www.via.ecp.fr/via/ml/x264-devel/2006-08/msg00038.html
>
> tom
>
>   

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list