Hello Since the non-gpl-kernel modules are missing in SuSE 10.1, I tried to build libafs of the OpenAFS-package from source for i386. This requires the configured and at least partially built kernel source in /usr/src/linux. So I got the package kernel-source with YaST. uname -r says: 2.6.16.13-4-default. gcc -v : gcc version 4.1.0 (SUSE Linux) In /usr/src/linux I run
make cloneconfig make module modules_prepare as root. This results in the following compilation error:
CHK /usr/src/linux-2.6.16.21-0.13/include/linux/version.h CC arch/i386/kernel/asm-offsets.s In file included from ./include/asm/system.h:5, from ./include/asm/processor.h:18, from ./include/asm/thread_info.h:17, from ./include/linux/thread_info.h:21, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ./include/linux/capability.h:45, from ./include/linux/sched.h:7, from arch/i386/kernel/asm-offsets.c:7: ./include/linux/kernel.h:10:20: error: stdarg.h: No such file or directory In file included from ./include/asm/system.h:5, from ./include/asm/processor.h:18, from ./include/asm/thread_info.h:17, from ./include/linux/thread_info.h:21, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ./include/linux/capability.h:45, from ./include/linux/sched.h:7, from arch/i386/kernel/asm-offsets.c:7: ./include/linux/kernel.h:104: error: expected declaration specifiers or ‘...’ before ‘va_list’ ./include/linux/kernel.h:108: error: expected declaration specifiers or ‘...’ before ‘va_list’ ./include/linux/kernel.h:112: error: expected declaration specifiers or ‘...’ before ‘va_list’ ./include/linux/kernel.h:117: error: expected declaration specifiers or ‘...’ before ‘va_list’ ./include/linux/kernel.h:131: error: expected declaration specifiers or ‘...’ before ‘va_list’ make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 Does anyone know how to fix this problem or is there somewhere a binary version of libafs for SuSE 10.1? Thanks D.Keller