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
On 05/06/2010 11:22 AM, Anders Kaseorg wrote: linux-headers- 2.6.32- 305-ec2/ arch/x86/ include/ asm/unistd. h:5, linux/unistd. h:7, linux-headers- 2.6.32- 305-ec2/ arch/x86/ include/ asm/seccomp_ 64.h:4, linux-headers- 2.6.32- 305-ec2/ arch/x86/ include/ asm/seccomp. h:4, linux/seccomp. h:8, linux/sched. h:80, modules/ openafs/ conftest. dir/conftest. c:27: 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 modules/ openafs/ conftest. dir/conftest. o] Error 1 linux-headers- 2.6.32- 305-ec2/ include/ asm
> Ah, but there _is_ more information in config.log:
>
> In file included from /usr/src/
> from include/
> from /usr/src/
> from /usr/src/
> from include/
> from include/
> from /usr/src/
> /usr/src/
> make[1]: *** [/usr/src/
>
> 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/
>
>
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