Hi all,
Im running suse 9.3 and i downloaded the kernel 2.6.17.5 and installed
it in /home/nick/build/. I also did:
- make mrproper
- make menuconfig and configured the kernel
(I saved the configration as kernel-config )
- make clean
- make bzImage
After this last step, I get the following output:
Code:
nkiguta@linux:~/build/linux-2.6.17.5-test9> make bzImage
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
GEN include/asm-i386/asm-offsets.h
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 init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
init/version.c:18: error: syntax error before "value"
make[1]: *** [init/version.o] Error 1
make: *** [init] Error 2
nkiguta@linux:~/build/linux-2.6.17.5-test9>
Has anyone seen this before? IM basically trying to compile this new
kernel to use in learning to write device drivers.
I opened the file version.c and saw that theres a macro defined
version_string which has the same name as a function that comes right
under it. Is this the problem and how do i fix it w/out messing up any
other code that depends on either the macro or function? If not, how do
I fix this issue? Thank you so much!
Nick../
BTW, I checked and verified that I have the correct versions of all
required tools for kernel compilation.