Find the answer to your Linux question:
Results 1 to 3 of 3
hello everyone! I have installed STLinux-2.4 on my Fedora 11. but I can't build a STLinux kernel. I follow all instructions on official stlinux site, but when I try to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4

    building STLinux kernel


    hello everyone!
    I have installed STLinux-2.4 on my Fedora 11. but I can't build a STLinux kernel. I follow all instructions on official stlinux site, but when I try to build kernel, I see

    Code:
    [host Download]# cd /home/STLinux/linux-sh4/
    [host linux-sh4]# make ARCH=sh CROSS_COMPILE=sh4-linux- vmlinux
    /bin/sh: sh4-linux-gcc: command not found
    /bin/sh: sh4-linux-gcc: command not found
    /bin/sh: sh4-linux-gcc: command not found
    make: sh4-linux-gcc: Command not found
    /bin/sh: sh4-linux-gcc: command not found
    /bin/sh: sh4-linux-gcc: command not found
    /bin/sh: sh4-linux-gcc: command not found
      HOSTCC  scripts/basic/fixdep
    /bin/sh: gcc: command not found
    make[2]: *** [scripts/basic/fixdep] Error 127
    make[1]: *** [scripts_basic] Error 2
      CHK     include/linux/version.h
      UPD     include/linux/version.h
      Generating include/asm-sh/machtypes.h
    make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
    help me, please))

  2. #2
    Just Joined!
    Join Date
    Apr 2011
    Posts
    1

    Building STLinux Kernel

    do you have the SH4-Linux-gcc installed,
    search for it and put the full path in the command , in my case the path is /opt/STM/STLinux2.4/devkit/SH4/bin , so the command is

    make ARCH=sh CROSS_COMPILE= '/opt/STM/STLinux2.4/devkit/SH4/bin/sh4-linux-' vmlinux

    i hope it will help.

    RGDS
    Yasser

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    4
    thank you!! it's working))

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •