FYI i see that i can apply on patch to remove __always_inline, but if anyone have some add information please tell me =D http://marc2.theaimsgroup.com/?l=linux-kernel&m=109399104031994&w=2 tks, call On 9/29/06, Gabriel Sousa <gabriel.sousa@xxxxxxxxx> wrote:
Hi all, i had a problem when try to compile ipset-2.2.9 with kernel 2.6.18, you can see the problem below: /usr/src/linux/include/asm/bitops.h:244: error: syntax error before "int" In file included from /usr/src/linux/include/asm/bitops.h:409, from ipset.c:24: I see the header file bitops.h at 244 line and found this function: static __always_inline int constant_test_bit(int nr, const volatile unsigned long *addr) the ipset don't accept the *__always_* if we change this to *inline* it compile correctly. So my function at header file was thus: static inline int constant_test_bit(int nr, const volatile unsigned long *addr) I want to know if anyone found another solution to this problem... Regards, Gabriel Sousa a.k.a call