Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

make menuconfig error

I use BinaryToolchain for building kernel as the saying at http://nioswiki.jot.com/wikihome/operating...binarytoolchain (http://nioswiki.jot.com/wikihome/operatingsystems/binarytoolchain). But when i check the 'cc',these happened:

[root@www bin]# cc

bash: cc: command not found

then i go on:

[nios@www uClinux-dist]$ su

Password:

[root@www /]# cd /usr/bin

[root@www bin]# ln -s gcc cc

[root@www bin]# cc -v

bash: cc: command not found

I don't know why?

Then,when i run make menuconfig:

these errors happened:

[nios@www uClinux-dist]$ make menuconfig

config/mkconfig > config.in

make -C /home/nios/download/uClinux-dist/config/scripts/lxdialog all

make[1]: Entering directory `/home/nios/download/uClinux-dist/config/scripts/lxdialog'

/bin/sh: cc: command not found

>> Unable to find the Ncurses libraries.

>>

>> You must have Ncurses installed in order

>> to use 'make menuconfig'

make[1]: *** [ncurses] 错误 1

make[1]: Leaving directory `/home/nios/download/uClinux-dist/config/scripts/lxdialog'

make: *** [menuconfig] 错误 2

How i can solve that?

Thank you !!!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Which Linux distro do you use?

    You will need gcc and ncurses devel packages.