Kernel Compile Error

Discussion in 'Kernel Questions' started by aminzia, Jul 30, 2007.

  1. aminzia

    aminzia New Member

    Hi everybody,

    I'm a newbie to Debian, trying to compile a particular version of the Kernel (linux-2.6.17.9). I get the following errors. Any clue to help me out?

    Thanks a bunch
    Amin


    -----------------------------------------------
    LD init/built-in.o
    LD .tmp_vmlinux1
    init/built-in.o: In function `try_name':
    /usr/src/linux-2.6.17.9/init/do_mounts.c:115: undefined reference to `__stack_chk_fail'
    init/built-in.o: In function `name_to_dev_t':
    /usr/src/linux-2.6.17.9/init/do_mounts.c:206: undefined reference to `__stack_chk_fail'
    init/built-in.o: In function `change_floppy':
    /usr/src/linux-2.6.17.9/init/do_mounts.c:363: undefined reference to `__stack_chk_fail'
    init/built-in.o: In function `mount_block_root':
    /usr/src/linux-2.6.17.9/init/do_mounts.c:321: undefined reference to `__stack_chk_fail'
    init/built-in.o: In function `do_header':
    /usr/src/linux-2.6.17.9/init/initramfs.c:206: undefined reference to `__stack_chk_fail'
    arch/i386/kernel/built-in.o:/usr/src/linux-2.6.17.9/arch/i386/kernel/ptrace.c:634: more undefined references to `__stack_chk_fail' follow
    make[1]: *** [.tmp_vmlinux1] Error 1
    make[1]: Leaving directory `/usr/src/linux-2.6.17.9'
    make: *** [debian/stamp-build-kernel] Error 2
    ------------------------------------------
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Just a shot in the dark, but maybe you need to upgrade or downgrade your gcc version.
     

Share This Page