Re: Compile error in ipc/shm.c latest git

From: Tim Pepper
Date: Thu Feb 12 2009 - 17:56:30 EST


On Tue, Feb 10, 2009 at 3:41 PM, Alejandro Riveira Fernández
<alejandro.riveira@xxxxxxxxx> wrote:
>
> v2.6.29-rc4-100-gc36c63c
>
> $ LC_ALL=C make
> make -C /home/alex/kernel/linux-2.6 O=/home/alex/kernel/2.6.29/.
> Using /home/alex/kernel/linux-2.6 as source for kernel
> ln -fsn /home/alex/kernel/linux-2.6 source
> GEN /home/alex/kernel/2.6.29/Makefile
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-x86
> CALL /home/alex/kernel/linux-2.6/scripts/checksyscalls.sh
> CHK include/linux/compile.h
> VDSOSYM arch/x86/vdso/vdso-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-syms.lds
> LD arch/x86/vdso/built-in.o
> CC ipc/shm.o
> /home/alex/kernel/linux-2.6/ipc/shm.c:371:49: error: macro "hugetlb_file_setup" passed 3 arguments, but takes just 2
> /home/alex/kernel/linux-2.6/ipc/shm.c: In function 'newseg':
> /home/alex/kernel/linux-2.6/ipc/shm.c:371: error: 'hugetlb_file_setup' undeclared (first use in this function)
> /home/alex/kernel/linux-2.6/ipc/shm.c:371: error: (Each undeclared identifier is reported only once
> /home/alex/kernel/linux-2.6/ipc/shm.c:371: error: for each function it appears in.)
> make[3]: *** [ipc/shm.o] Error 1
> make[2]: *** [ipc] Error 2
> make[1]: *** [sub-make] Error 2
> make: *** [all] Error 2

Should be fixed by:

commit 1db8508cf483dc1ecf66141f90a7c03659d69512
Author: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
Date: Tue Feb 10 23:27:32 2009 +0100

hugetlbfs: fix build failure with !CONFIG_HUGETLBFS
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/