Compilation errors for linux-2.6.0 kernel

From: silviu (thelinuxguy1997_at_yahoo.com)
Date: 12/20/03


Date: 20 Dec 2003 08:33:50 -0800

Hi all,

I'd appreciate your help on this problem. I am compiling 2.6.0 linux
kernel on a Fedora system (Intel, dual 2x750 MHz Pentium III, 1 Gig
RAM, gcc 3.2.3 or gcc 2.9.6); I previously updated my system to match
the requirements for linux-2.6 kernels and did a 'make xconfig'.

[root@zeus linux-2.6]# make bzImage
  HOSTCC scripts/modpost.o
  HOSTLD scripts/modpost
  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: syntax error before "va_list"
include/linux/kernel.h:71: warning: function declaration isn't a
prototype
include/linux/kernel.h:74: syntax error before "va_list"
include/linux/kernel.h:74: warning: function declaration isn't a
prototype
include/linux/kernel.h:78: 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

Thanks in advance for any help.

Silviu



Relevant Pages

  • Re: system gets stuck in a lock during boot
    ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
    (Linux-Kernel)
  • Re: system gets stuck in a lock during boot
    ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
    (Linux-Kernel)
  • Re: system gets stuck in a lock during boot
    ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
    (Linux-Kernel)
  • Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact
    ... Maybe the kernel's backtrace code should be fixed instead of blaming ... Guess how big it is for the kernel? ... after I saw the gcc people talking negatively about the latest brouhaha. ... kernel backtrace debugging is different from regular user mode debugging? ...
    (Linux-Kernel)
  • [rfc] built-in native compiler for Linux?
    ... Perhaps we should fork off gcc and ship Linux with its own ... This way we can optimize it for the kernel and not worry ... I didnt suggest forking GCC. ... What i think makes sense is to build a _new_ precompiler / compiler ...
    (Linux-Kernel)