This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

question about building the linux kernel

Other Parts Discussed in Thread: TMS320DM6467

hi,

I am a freashman of the Davinci DSP, when I using <the TMS320DM6467 DVEVM v1.4 Getting Started Guide> to building my linux kernel, before building i have installed the tools and the PATH

PATH="/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin:
/opt/mv_pro_5.0/montavista/pro/bin:
/opt/mv_pro_5.0/montavista/common/bin:$PATH"

host $ source ~/.bashrc

but,the following  information is displayed:

[xwh@localhost linux-2.6.10_mvl401_LSP_01_30_00_082]$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm646x_defconfig
  HOSTCC  scripts/basic/fixdep
/bin/sh: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2
[xwh@localhost linux-2.6.10_mvl401_LSP_01_30_00_082]$

could you tell me how can I solve the problem?

Thanks very much
 

  • Hello,

    It seems like you don't have the host (intel) version of gcc installed on your host Linux distribution. Please check the documentation of your Linux distribution on how to address this.

    Regards, Niclas

  • Hi Wenhao Xu ,

    1.On your consol write echo $PATH

    2. PATH is a environment var which stores the info about all comoiler paths.

    3. If your ARM GCC compiler path is not present in $PATH that may give such errors.

    4. so in that case execute following on your consol

    export PATH=<PATH of your ARM compiler bin e.g. /opt/mv_pro_4_1_0 like that>:$PATH.

    5. echo $PATH , now it shld also have your compiler path and shld solve your problme.

    Hope this helps.

    -Swapnali