[x264-devel] How can I compile x264 correctly in Linux

Gregor Riepl seto-kun at freesurf.ch
Wed Dec 5 15:52:23 CET 2007


> common/cpu.c: In function 'x264_cpu_num_propcessors':
> common/cpu.c:228: 'cpu_set_t' undeclared(first use in this function)
>      Can anyone point it out for me? Thanks in advance!

this feature (setting the cpu core affinity of a thread/process) is  
only available in more recent glibc versions.
you have to either upgrade your glibc, or someone must write a  
workaround.

see here:
http://www.gnu.org/software/libc/manual/html_node/CPU-Affinity.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2482 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20071205/978e4a68/attachment.bin 


More information about the x264-devel mailing list