AnsweredAssumed Answered

compile kernel

Question asked by shunping lin on Oct 24, 2017
Latest reply on Oct 31, 2017 by shunping lin

Now I extract the linux kenel code from The SDK2.0 and compile it, but the command "make menuconfig" error.

 

The commands:

splin@splin-VirtualBox:~/linux-kernel$ make ls1021a_defconfig

splin@splin-VirtualBox:~/linux-kernel$ make menuconfig
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 ***
 *** Install ncurses (ncurses-devel) and try again.
 ***
scripts/kconfig/Makefile:187: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:541: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

 

On my host I have install libncurses5-dev.

 

I think it use "/opt/fsl-qoriq/2.0/sysroots/cortexa7hf-vfp-neon-fsl-linux-gnueabi/usr/lib/pkgconfig"

-rw-r--r-- 1 root root 294 10月 24 16:19 ncurses.pc
-rw-r--r-- 1 root root 333 10月 24 16:19 ncurses++.pc
-rw-r--r-- 1 root root 339 10月 24 16:19 ncurses++w.pc
-rw-r--r-- 1 root root 296 10月 24 16:19 ncursesw.pc

 

there is no ncurses-dev.

I don't understand,why?  help!

Outcomes