In file included from /usr/include/asm-generic/bitops/fls64.h:5, from /usr/include/asm-i486/bitops.h:408, from /usr/include/asm/bitops.h:8, from /usr/include/linux/bitops.h:9, from /usr/include/asm-i486/cpufeature.h:10, from /usr/include/asm/cpufeature.h:8, from /usr/include/asm-i486/processor.h:16, from /usr/include/asm/processor.h:8, from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:8, from /usr/include/linux/wait.h:22, from /usr/include/linux/mempool.h:7, from tp.c:9: /usr/include/asm-generic/bitops/fls.h:13: error: redefinition of ‘fls’ /usr/include/asm-i486/bitops.h:394: error: previous definition of ‘fls’ was here In file included from /usr/include/asm/processor.h:8, from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:8, from /usr/include/linux/wait.h:22, from /usr/include/linux/mempool.h:7, from tp.c:9: /usr/include/asm-i486/processor.h:80: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) /usr/include/asm-i486/processor.h:80: error: requested alignment is not a constant tp.c:14: error: expected specifier-qualifier-list before ‘sector_t’ tp.c: In function ‘keysearch’: tp.c:38: error: ‘struct crypt_config’ has no member named ‘io_pool’ tp.c:39: error: ‘struct crypt_config’ has no member named ‘tfm’ tp.c:41: error: ‘struct crypt_config’ has no member named ‘io_pool’ tp.c:42: error: ‘struct crypt_config’ has no member named ‘page_pool’ tp.c:43: error: ‘struct crypt_config’ has no member named ‘iv_gen_ops’ tp.c:44: error: ‘struct crypt_config’ has no member named ‘iv_mode’ tp.c:45: error: ‘struct crypt_config’ has no member named ‘iv_gen_private’ tp.c:46: error: ‘struct crypt_config’ has no member named ‘key_size’ tp.c:46: error: ‘struct crypt_config’ has no member named ‘key_size’ tp.c:47: error: ‘struct crypt_config’ has no member named ‘iv_size’ tp.c:47: error: ‘struct crypt_config’ has no member named ‘iv_size’ tp.c:48: error: ‘struct crypt_config’ has no member named ‘iv_offset’ tp.c:52: error: ‘struct crypt_config’ has no member named ‘start’ tp.c:54: error: ‘struct crypt_config’ has no member named ‘start’ tp.c:56: error: ‘struct crypt_config’ has no member named ‘key_size’ tp.c:58: error: ‘struct crypt_config’ has no member named ‘key_size’ tp.c:59: error: ‘struct crypt_config’ has no member named ‘key’