Comment 5 for bug 576035

Revision history for this message
zwluxx (zwlu) wrote : Re: [Bug 576035] Re: openafs 1.4.12+dfsg-3 kernel module failed to build on2.6.32-305-ec2

On 05/06/2010 11:22 AM, Anders Kaseorg wrote:
> Ah, but there _is_ more information in config.log:
>
> In file included from /usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/unistd.h:5,
> from include/linux/unistd.h:7,
> from /usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/seccomp_64.h:4,
> from /usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/seccomp.h:4,
> from include/linux/seccomp.h:8,
> from include/linux/sched.h:80,
> from /usr/src/modules/openafs/conftest.dir/conftest.c:27:
> /usr/src/linux-headers-2.6.32-305-ec2/arch/x86/include/asm/unistd_64.h:693:29: error: asm/asm-offsets.h: No such file or directory
> make[1]: *** [/usr/src/modules/openafs/conftest.dir/conftest.o] Error 1
>
> I have reported this as bug 576558 in linux-ec2. You may be able to
> work around it by repairing the broken symlink:
>
> sudo ln -nsf asm-x86 /usr/src/linux-headers-2.6.32-305-ec2/include/asm
>
>
Thanks, Anders!

I didn't pay that much of detail to see the problem.

asm was pointed to non-existent asm-x86_64 directory

I have now change the sym link (/usr/src/linux/include)

asm -> asm-x86_64

All is well with openafs. Thank you very much for trouble-shooting. I
should have seen this.

--
Zhi-Wei Lu
Bioinformatics Core
Genome Center
University of California, Davis
(530) 752-2698