<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">>>> walkunafraid@tin.it 8/11/2006 3:46 AM >>><BR>
<DIV style="COLOR: #000000">>> Build fails on common/cpu.c though:<BR>>> <BR>>> common/cpu.c:172: error: too many arguments to function 'sched_getaffinity'<BR>><BR>> This is not a kernel problem (happens here with 2.6.12 and gcc 3.3.1 <BR>> btw). I've signalled this problem myself a few days ago on #x264dev.<BR>><BR>> The problem is that glibc 2.3.2 changed for a short while the <BR>> definition of sched_getaffinity() to a two parameters version, and <BR>> then reverted the changes in later releases - see the man pages for <BR>> details. So all systems based on that version of the library won't be <BR>> able to build x264 - last one working is rev. 542. <BR>> The quick fix is to remove the second parameter from the call to <BR>> sched_getaffinity() in cpu.c, though a ./configure option would be <BR>> much better.</DIV>
<DIV style="COLOR: #000000"> </DIV>
<DIV style="COLOR: #000000">Thanks! That did the trick - would be nice to have configure check this somehow...</DIV>
<DIV style="COLOR: #000000"> </DIV>
<DIV style="COLOR: #000000">Josh</DIV></BODY></HTML>