/bin/sh: gcc: command not found
hi,
i am new to embedded linux,also to this forum.i am trying to compile kernel and uboot for arm target board on the centos.i installed crosstool in path /usr/local/arm/2.95.3/bin.i put kernel and uboot source in the /opt directory.when i compiling the kernel it shows error /bin/sh: gcc: command not found >> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig' make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/opt/LN2440SBC/clabsys_kernel_2.4.20_rel1.0/scripts/lxdialog' make: *** [menuconfig] Error 2 can anyone help me? thanks and regards m.murugan |
Not sure about your environment fully but your messages indicate that you need to install the Ncurses packages (perhaps from an existing repository) or else a straight make/install.
As to the gcc error, I have sometimes seen the need to establish a symbolic link to the actual executable (called in my case 'gcc-4.0' as below. This so the compile step can find the actual executable. ls-l /usr/bin lrwxrwxrwx 1 root root 7 2007-07-31 22:22 /usr/bin/gcc -> gcc-4.0 -rwxr-xr-x 1 root root 104520 2006-04-20 16:51 /usr/bin/gcc-4.0 create the link with ln -s /usr/bin/gcc /usr/bin/gcc-4.0 Hope this helps. kscott |
Do you have crosstool's gcc in your PATH?
Try: Code:
export PATH="$PATH:/usr/local/arm/2.95.3/bin" |
All times are GMT -5. The time now is 11:26 AM. |