Skip to contentSkip to conversation

compile error

DISCUSSION Mauro Stettler 1 participant 1 message Mar 18, 2004

lore
Share & tools
lore
#0 lore raw

hi list

i got en error when i do make clean bzImage to compile my kernel 2.6.4. i already did make mrproper and oldconfig...

it's a gentoo 1.4 with gcc3.3.2-r5 and glibc2.3.2-r9

CLEAN scripts
RM $(CLEAN_FILES)

  HOSTCC  scripts/fixdep
  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
  HOSTCC  scripts/sumversion.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:77: error: syntax error before "va_list" include/linux/kernel.h:77: warning: function declaration isn't a prototype
include/linux/kernel.h:81: error: syntax error before "va_list" include/linux/kernel.h:81: 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

greets Mauro