View Single Post
Old 12-21-03, 06:35 AM   #1
666_1337
Registered User
 
Join Date: Dec 2003
Posts: 28
Send a message via ICQ to 666_1337
Default kernel 2.6 doesn't compile

i just downloaded linux 2.6 from kernel.org, and trying to compile it, i get this error message. if i append -I/usr/local/include to the compiler-flags, it aborts with "did not find '_defs.h'"


bash-2.05b# make bzImage
HOSTCC scripts/fixdep
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/split-include
HOSTCC scripts/conmakehash
HOSTCC scripts/docproc
HOSTCC scripts/kallsyms
CC scripts/empty.o
HOSTCC scripts/mk_elfconfig
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
HOSTCC scripts/pnmtologo
HOSTCC scripts/bin2c
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/linux/prefetch.h:13,
from include/linux/list.h:7,
from include/linux/signal.h:4,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/kernel.h:10:20: stdarg.h: No such file or directory
In file included from include/asm/system.h:5,
from include/asm/processor.h:18,
from include/linux/prefetch.h:13,
from include/linux/list.h:7,
from include/linux/signal.h:4,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/kernel.h:71: error: syntax error before "va_list"
include/linux/kernel.h:71: warning: function declaration isn't a prototype
include/linux/kernel.h:74: error: syntax error before "va_list"
include/linux/kernel.h:74: warning: function declaration isn't a prototype
include/linux/kernel.h:78: error: syntax error before "va_list"
include/linux/kernel.h:78: warning: function declaration isn't a prototype
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
bash-2.05b#
666_1337 is offline   Reply With Quote