Skip to contentSkip to conversation

2.6.17-rc2-mm1 compiling problems

DISCUSSION Jiri Slaby 2 participants 3 messages Apr 28, 2006 – May 1, 2006 1 message not in the archive

lore
Share & tools
lore

Jiri Slaby

author
#1 lore raw
In reply to a message not in the archive
Cc lklm

Jiri Slaby napsal(a):

Quoted 66 lines

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         \
Quoted 1 line

/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

(quoted diff) +0 -8
-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,

Signature · 3 lines
Jiri Slaby         www.fi.muni.cz/~xslaby
\_.-^-._   [email protected]   _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
#2 lore raw

Hi,

Quoted 27 lines · Jiri Slaby

Jiri Slaby napsal(a):

Quoted 26 lines

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         \
Quoted 1 line

/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:

It's unlikely the problem, did anything special happen before (e.g. disk full or other errors)?
I cannot reproduce this, can you reproduce this with a clean source/object dir?

bye, Roman

author
#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roman Zippel napsal(a):

Quoted 30 lines

Hi,

Quoted 26 lines · Jiri Slaby

Jiri Slaby napsal(a):

Quoted 25 lines

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         \
Quoted 1 line

/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

Quoted 6 lines
Quoted 1 line
Quoted 1 line

Then, when I delete the line, there is another problem:

It's unlikely the problem, did anything special happen before (e.g. disk full or other errors)?
I cannot reproduce this, can you reproduce this with a clean source/object dir?

Nope, my bad. I diffed two -mm trees on remote machine with:
diff -NrupX b/Documentation/dontdiff a b|'bzip it and send me a copy' but dontdiff contains files, that _should_ be diffed, gensyms and mmu stuff included, so I was not able to compile it and even if I downloaded and untarred fresh, clean archive and diffed with '-X dontdiff' flag to my working tree, there was no difference, so I didn't get it. I understood after omitting -X flag, when I see kilobytes of differencies.
So, sorry for the noise.

regards,
- --
Jiri Slaby www.fi.muni.cz/~xslaby
\_.-^-._ [email protected] _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEVnG0MsxVwznUen4RAhSvAKCCBD4wnyAt5CQnmxBUdWiJdqYJ6wCfcZCX ScI2vtZvMn78bUjmHMHSvBM=
=uL7E
-----END PGP SIGNATURE-----