Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

make menuconfig error

Altera_Forum
Honored Contributor II
1,058 Views

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 !!!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
322 Views

Which Linux distro do you use? 

You will need gcc and ncurses devel packages.
0 Kudos
Reply