Line 78 ( i believe) in linux26-headers-2.6.7-r4 reads order = fls(count); , implying the function fls. This causes GCC 3.4 to error out with the implied declaration of function ... error. Patch is supplied. Error found while I was compiling the new DirectFB. Reproducible: Always Steps to Reproduce: 1.emerge DirectFB with linux26-headers-2.6.7-r4 2. 3. Actual Results: DirectFB failed to compile. Expected Results: Should have compiled.
Created attachment 37374 [details, diff] Bitops patch for linux26-headers-2.6.7-r4 Tested this with a modified linux26-headers-2.6.7-r4.ebuild, works perfect.
Hm; can you try remerging your 2.6.7-r4 headers after an "emerge sync" and try compiling DirectFB without that patch?
Well it compiled now, something must have been broke when I first emerged linux26-headers-2.6.7-r4, all is fine now.