Re: 2.6.17-rc2-mm1 compiling problems

From: Jiri Slaby
Date: Thu Apr 27 2006 - 20:07:40 EST


Cc: lklm

Jiri Slaby napsal(a):
> Hello,
>
> I have problems with compiling 2.6.17-rc2-mm1 and 2.6.17-rc1-mm3:
> $ make O=../my V=1
> make -C /l/latest/my \
> KBUILD_SRC=/l/latest/xxx \
> KBUILD_EXTMOD="" -f /l/latest/xxx/Makefile _all
> make -f /l/latest/xxx/Makefile silentoldconfig
> make -f /l/latest/xxx/scripts/Makefile.build obj=scripts/basic
> if test ! /l/latest/xxx -ef /l/latest/my; then \
> /bin/sh /l/latest/xxx/scripts/mkmakefile \
> /l/latest/xxx /l/latest/my 2 6 \
> > /l/latest/my/Makefile; \
> echo ' GEN /l/latest/my/Makefile'; \
> fi
> GEN /l/latest/my/Makefile
> mkdir -p include/linux include/config
> make -f /l/latest/xxx/scripts/Makefile.build obj=scripts/kconfig silentoldconfig
> scripts/kconfig/conf -s arch/i386/Kconfig
> init/Kconfig:3: unknown option "option"
> make[3]: *** [silentoldconfig] Error 1
> make[2]: *** [silentoldconfig] Error 2
> make[1]: *** [include/config/auto.conf] Error 2
> make: *** [_all] Error 2
>
> Then, when I delete the line, there is another problem:
>
> gcc -m32 -Wp,-MD,mm/.nommu.o.d -nostdinc -isystem
> /usr/lib/gcc/i386-redhat-linux/4.1.0/include -D__KERNEL__ -Iinclude -Iinclude2
> -I/l/latest/xxx/include -include include/linux/autoconf.h -I/l/latest/xxx/mm
> -Imm -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float
> -mpreferred-stack-boundary=2 -ffreestanding
> -I/l/latest/xxx/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default
> -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s"
> -D"KBUILD_BASENAME=KBUILD_STR(nommu)" -D"KBUILD_MODNAME=KBUILD_STR(nommu)" -c
> -o mm/nommu.o /l/latest/xxx/mm/nommu.c
> /l/latest/xxx/mm/nommu.c: In function âsys_brkâ:
> /l/latest/xxx/mm/nommu.c:250: error: âmm_context_tâ has no member named âend_brkâ
> /l/latest/xxx/mm/nommu.c: In function âdo_mmap_pgoffâ:
> /l/latest/xxx/mm/nommu.c:753: error: âstruct vm_area_structâ has no member named
> âvm_usageâ
> /l/latest/xxx/mm/nommu.c:793: error: âstruct vm_area_structâ has no member named
> âvm_usageâ
> /l/latest/xxx/mm/nommu.c:831: error: âmm_context_tâ has no member named âvmlistâ
> /l/latest/xxx/mm/nommu.c:832: error: âmm_context_tâ has no member named âvmlistâ
> /l/latest/xxx/mm/nommu.c: In function âput_vmaâ:
> /l/latest/xxx/mm/nommu.c:885: error: âstruct vm_area_structâ has no member named
> âvm_usageâ
> /l/latest/xxx/mm/nommu.c: In function âdo_munmapâ:
> /l/latest/xxx/mm/nommu.c:920: error: âmm_context_tâ has no member named âvmlistâ
> /l/latest/xxx/mm/nommu.c: In function âexit_mmapâ:
> /l/latest/xxx/mm/nommu.c:961: error: âmm_context_tâ has no member named âvmlistâ
> /l/latest/xxx/mm/nommu.c:962: error: âmm_context_tâ has no member named âvmlistâ
> /l/latest/xxx/mm/nommu.c: In function âdo_mremapâ:
> /l/latest/xxx/mm/nommu.c:1015: error: âmm_context_tâ has no member named âvmlistâ
> /l/latest/xxx/mm/nommu.c: In function âfind_vmaâ:
> /l/latest/xxx/mm/nommu.c:1047: error: âmm_context_tâ has no member named âvmlistâ
> make[2]: *** [mm/nommu.o] Error 1
> make[1]: *** [mm] Error 2
> make: *** [all] Error 2
>
> The config is here http://www.fi.muni.cz/~xslaby/sklad/config-desk (I just did
> oldconfig from -rc1-mm2 config). It's x86.
>
> regards,

--
Jiri Slaby www.fi.muni.cz/~xslaby
\_.-^-._ jirislaby@xxxxxxxxx _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
-
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/