Hi,
As per default the BSP2.8 comes with Toradex backports from kernel 5.4. Now i want to configure these backports via menuconfig but however when i open a devshell (bitbake backports -c devshell) and try to start menuconfig the error below occurrs. The library ncurses is already installed, e.g. menuconfig for the kernel is working fine. Any help on that would be great.
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/user/oe-core/build/tmp-glibc/work/apalis_tk1_mainline-angstrom-linux-gnueabi/backports/5.4-r0/recipe-sysroot -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o mconf.o mconf.c
<command-line>:0:12: fatal error: ncurses.h: No such file or directory
compilation terminated.
<eingebaut>: die Regel für Ziel „mconf.o“ scheiterte
make[2]: *** [mconf.o] Fehler 1
Makefile.real:16: die Regel für Ziel „menuconfig“ scheiterte
make[1]: *** [menuconfig] Fehler 2
Makefile:40: die Regel für Zie
Hi @jaski.tx
I have installed libncursesw5-dev and now the error changed to the output below. And i have asked a related question here.
Linux distribution is Ubuntu 16.04.6 LTS with xfce.
t# make menuconfig
arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard --sysroot=/home/user/oe-core/build/tmp-glibc/work/apalis_tk1_mainline-angstrom-linux-gnueabi/backports/5.4-r0/recipe-sysroot -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -I/usr/include/ncursesw -DCURSES_LOC="<curses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o mconf.o mconf.c
cc1: warning: include location "/usr/include/ncursesw" is unsafe for cross-compilation [-Wpoison-system-directories]
In file included from lxdialog/dialog.h:38:0,
from mconf.c:23:
/usr/include/ncursesw/curses.h:60:10: fatal error: ncursesw/ncurses_dll.h: No such file or directory
#include <ncursesw/ncurses_dll.h>
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
<eingebaut>: die Regel für Ziel „mconf.o“ scheiterte
make[2]: *** [mconf.o] Fehler 1
Makefile.real:16: die Regel für Ziel „menuconfig“ scheiterte
make[1]: *** [menuconfig] Fehler 2
Makefile:40: die Regel für Ziel