Compilation errors for linux-2.6.0 kernel - Help

This is a discussion on Compilation errors for linux-2.6.0 kernel - Help ; 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 did a 'make xconfig'. [root@zeus ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Compilation errors for linux-2.6.0 kernel

  1. Compilation errors for linux-2.6.0 kernel

    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 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

  2. Re: Compilation errors for linux-2.6.0 kernel

    On 19 Dec 2003 22:23:07 -0800, thelinuxguy1997@yahoo.com (silviu) wrote:

    > I'd appreciate your help on this problem. I am compiling 2.6.0 linux
    > kernel on a Fedora system


    ..... where'd you get the sources from? and what do you
    show for: "ls -al /usr/src"

    --
    << http://michaeljtobler.homelinux.com/ >>
    A man said to the Universe: "Sir, I exist!"
    "However," replied the Universe, "the fact has not
    created in me a sense of obligation." -- Stephen Crane

  3. Re: Compilation errors for linux-2.6.0 kernel

    mjt wrote in message news:<8BZEb.2244$IM3.1023@newsread3.news.atl.earthlink.n et>...
    > On 19 Dec 2003 22:23:07 -0800, thelinuxguy1997@yahoo.com (silviu) wrote:
    >
    > > I'd appreciate your help on this problem. I am compiling 2.6.0 linux
    > > kernel on a Fedora system

    >
    > .... where'd you get the sources from? and what do you
    > show for: "ls -al /usr/src"


    1. I got kernel source from ftp.kernel.org

    2. [michele@zeus src]$ ls -l
    total 32568
    -rw-r--r-- 1 root root 22141 Dec 20 01:04
    CONFIG-linux2.6.0
    lrwxrwxrwx 1 root root 24 Nov 9 01:42 linux-2.4 ->
    linux-2.4.22-1.2115.nptl
    drwxr-xr-x 16 root root 4096 Nov 22 01:31
    linux-2.4.22-1.2115.nptl
    lrwxrwxrwx 1 root root 11 Dec 20 00:16 linux-2.6 ->
    linux-2.6.0
    drwxrwxr-x 19 1046 1046 4096 Dec 20 01:38 linux-2.6.0
    -rw-rw-r-- 1 michele michele 33255278 Dec 18 03:27
    linux-2.6.0.tar.bz2
    -rw-r--r-- 1 root root 248 Dec 20 00:13
    linux-2.6.0.tar.bz2.sign
    drwx------ 2 root root 16384 Nov 8 20:07 lost+found
    drwxr-xr-x 7 root root 4096 Nov 9 01:32 redhat

    3. I tested the signature of sources using gpg.

    Thanks,
    Silviu

+ Reply to Thread