login
Header Space

 
 

2.6.10-rc2-mm1 compile problem

November 16, 2004 - 10:07am
Submitted by krani1 on November 16, 2004 - 10:07am.
Linux

I've downloaded the 2.6.9 kernel, the 2.6.10-rc2 patch, and 2.6.10-rc2-mm1. After all the pacthes, I configured my kernel (using make oldconfig) and when I tried to build, it gaves this error:

asus linux # make bzImage
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/genksyms/genksyms.o
  HOSTCC  scripts/genksyms/lex.o
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/spinlock.h: In function `bit_spin_lock':
include/linux/spinlock.h:549: warning: implicit declaration of function `__acquire'
include/linux/spinlock.h:549: error: `bitlock' undeclared (first use in this function)
include/linux/spinlock.h:549: error: (Each undeclared identifier is reported only once
include/linux/spinlock.h:549: error: for each function it appears in.)
include/linux/spinlock.h: In function `bit_spin_trylock':
include/linux/spinlock.h:564: error: `bitlock' undeclared (first use in this function)
include/linux/spinlock.h: In function `bit_spin_unlock':
include/linux/spinlock.h:579: warning: implicit declaration of function `__release'
include/linux/spinlock.h:579: error: `bitlock' undeclared (first use in this function)
In file included from include/linux/time.h:7,
                 from include/linux/timex.h:58,
                 from include/linux/sched.h:11,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/seqlock.h: In function `write_tryseqlock':
include/linux/seqlock.h:66: warning: implicit declaration of function `__cond_lock'
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2

I've tried with

gcc (GCC) 3.4.2 20041025 (Gentoo Linux 3.4.2-r3, ssp-3.4.1-1, pie-8.7.6.5)
Copyright (C) 2004 Free Software Foundation, Inc.

and

gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Copyright (C) 2003 Free Software Foundation, Inc.

and had the same problem. Currently using 2.6.10-rc1-mm3

any help?

bugzilla?

November 17, 2004 - 2:07am

This is not bugzilla. Report it to lkml.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary