* Unable to find the ncurses libraries when running menuconfig @ 2014-11-10 1:05 Nick D'Ademo 2014-11-10 1:09 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 1:05 UTC (permalink / raw) To: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 1132 bytes --] Getting a strange error when attempting to configure the Yocto Linux kernel via: bitbake linux-yocto -c menuconfig. Does anyone have any ideas? (error message below) Much appreciated. Build Configuration: BB_VERSION = "1.24.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "x86_64-poky-linux" MACHINE = "nuc" DISTRO = "poky" DISTRO_VERSION = "1.7" TUNE_FEATURES = "m64 corei7" TARGET_FPU = "" *make[1]: Entering directory `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' GEN ./Makefile *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** [__sub-make] Error 2Command failed.Press any key to continue... * [-- Attachment #2: Type: text/html, Size: 1430 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:05 Unable to find the ncurses libraries when running menuconfig Nick D'Ademo @ 2014-11-10 1:09 ` nick 2014-11-10 1:15 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 1:09 UTC (permalink / raw) To: Nick D'Ademo, Yocto list discussion Check to see if you actuality have it installed on your host system for your package manager. The library for ncurses for compiling the kernel is different based on your distro, check your distro's installer and install the correct ncurses package first. If this is still an issue please reply with a newer error message. Cheers Nick On 14-11-09 08:05 PM, Nick D'Ademo wrote: > Getting a strange error when attempting to configure the Yocto Linux kernel > via: bitbake linux-yocto -c menuconfig. > > Does anyone have any ideas? (error message below) > Much appreciated. > > Build Configuration: > BB_VERSION = "1.24.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-14.04" > TARGET_SYS = "x86_64-poky-linux" > MACHINE = "nuc" > DISTRO = "poky" > DISTRO_VERSION = "1.7" > TUNE_FEATURES = "m64 corei7" > TARGET_FPU = "" > > > > > > > > > > > > > > > > *make[1]: Entering directory > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > GEN ./Makefile *** Unable to find the ncurses libraries or the *** > required header files. *** 'make menuconfig' requires the ncurses > libraries. *** *** Install ncurses (ncurses-devel) and try again. *** > make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** > [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** [__sub-make] > Error 2Command failed.Press any key to continue... * > > > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:09 ` nick @ 2014-11-10 1:15 ` Nick D'Ademo 2014-11-10 1:25 ` nick 2014-11-10 1:31 ` Bob Cochran 0 siblings, 2 replies; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 1:15 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 2052 bytes --] Thanks for the quick reply Nick. Host system is Ubuntu 14.04. ncurses is already installed: sudo apt-get install libncurses5-dev Reading package lists... Done Building dependency tree Reading state information... Done libncurses5-dev is already the newest version. On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> wrote: > Check to see if you actuality have it installed on your host system for > your package manager. > The library for ncurses for compiling the kernel is different based on > your distro, check > your distro's installer and install the correct ncurses package first. If > this is still an > issue please reply with a newer error message. > Cheers Nick > > On 14-11-09 08:05 PM, Nick D'Ademo wrote: > > Getting a strange error when attempting to configure the Yocto Linux > kernel > > via: bitbake linux-yocto -c menuconfig. > > > > Does anyone have any ideas? (error message below) > > Much appreciated. > > > > Build Configuration: > > BB_VERSION = "1.24.0" > > BUILD_SYS = "x86_64-linux" > > NATIVELSBSTRING = "Ubuntu-14.04" > > TARGET_SYS = "x86_64-poky-linux" > > MACHINE = "nuc" > > DISTRO = "poky" > > DISTRO_VERSION = "1.7" > > TUNE_FEATURES = "m64 corei7" > > TARGET_FPU = "" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *make[1]: Entering directory > > > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > > GEN ./Makefile *** Unable to find the ncurses libraries or the *** > > required header files. *** 'make menuconfig' requires the ncurses > > libraries. *** *** Install ncurses (ncurses-devel) and try again. *** > > make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** > > [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** [__sub-make] > > Error 2Command failed.Press any key to continue... * > > > > > > > [-- Attachment #2: Type: text/html, Size: 2810 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:15 ` Nick D'Ademo @ 2014-11-10 1:25 ` nick [not found] ` <CANR6C57voYqR9t-7P-=qUuudn6t7u=PFgGcWTy92xUUOy4H-Kw@mail.gmail.com> 2014-11-10 1:31 ` Bob Cochran 1 sibling, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 1:25 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion Do you run source oe-init-build-env before building and why is your machine set to nuc seems this may be an issue? Nick On 14-11-09 08:15 PM, Nick D'Ademo wrote: > Thanks for the quick reply Nick. > > Host system is Ubuntu 14.04. ncurses is already installed: > > sudo apt-get install libncurses5-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > libncurses5-dev is already the newest version. > > > On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> wrote: > >> Check to see if you actuality have it installed on your host system for >> your package manager. >> The library for ncurses for compiling the kernel is different based on >> your distro, check >> your distro's installer and install the correct ncurses package first. If >> this is still an >> issue please reply with a newer error message. >> Cheers Nick >> >> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>> Getting a strange error when attempting to configure the Yocto Linux >> kernel >>> via: bitbake linux-yocto -c menuconfig. >>> >>> Does anyone have any ideas? (error message below) >>> Much appreciated. >>> >>> Build Configuration: >>> BB_VERSION = "1.24.0" >>> BUILD_SYS = "x86_64-linux" >>> NATIVELSBSTRING = "Ubuntu-14.04" >>> TARGET_SYS = "x86_64-poky-linux" >>> MACHINE = "nuc" >>> DISTRO = "poky" >>> DISTRO_VERSION = "1.7" >>> TUNE_FEATURES = "m64 corei7" >>> TARGET_FPU = "" >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> *make[1]: Entering directory >>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>> GEN ./Makefile *** Unable to find the ncurses libraries or the *** >>> required header files. *** 'make menuconfig' requires the ncurses >>> libraries. *** *** Install ncurses (ncurses-devel) and try again. *** >>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** >>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** [__sub-make] >>> Error 2Command failed.Press any key to continue... * >>> >>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
[parent not found: <CANR6C57voYqR9t-7P-=qUuudn6t7u=PFgGcWTy92xUUOy4H-Kw@mail.gmail.com>]
* Re: Unable to find the ncurses libraries when running menuconfig [not found] ` <CANR6C57voYqR9t-7P-=qUuudn6t7u=PFgGcWTy92xUUOy4H-Kw@mail.gmail.com> @ 2014-11-10 1:36 ` nick 2014-11-10 1:40 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 1:36 UTC (permalink / raw) To: Nick D'Ademo; +Cc: yocto@yoctoproject.org Hey Nick, This seems to then be an issue with incorrect paths or build information in your nuc.conf as the most likely culprit. If you can post your machine's conf file I will be glad to see if there are any issues I can spot. Nick On 14-11-09 08:33 PM, Nick D'Ademo wrote: > 1) source oe-init-build-env is run before building. > 2) We are actually using a custom machine .conf based on nuc.conf, so > actually: MACHINE = "custom_machine_name". I replaced it with "nuc" in this > post to avoid confusion. > > On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> wrote: > >> Do you run source oe-init-build-env before building and why is your machine >> set to nuc seems this may be an issue? >> Nick >> >> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>> Thanks for the quick reply Nick. >>> >>> Host system is Ubuntu 14.04. ncurses is already installed: >>> >>> sudo apt-get install libncurses5-dev >>> Reading package lists... Done >>> Building dependency tree >>> Reading state information... Done >>> libncurses5-dev is already the newest version. >>> >>> >>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> wrote: >>> >>>> Check to see if you actuality have it installed on your host system for >>>> your package manager. >>>> The library for ncurses for compiling the kernel is different based on >>>> your distro, check >>>> your distro's installer and install the correct ncurses package first. >> If >>>> this is still an >>>> issue please reply with a newer error message. >>>> Cheers Nick >>>> >>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>> Getting a strange error when attempting to configure the Yocto Linux >>>> kernel >>>>> via: bitbake linux-yocto -c menuconfig. >>>>> >>>>> Does anyone have any ideas? (error message below) >>>>> Much appreciated. >>>>> >>>>> Build Configuration: >>>>> BB_VERSION = "1.24.0" >>>>> BUILD_SYS = "x86_64-linux" >>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>> TARGET_SYS = "x86_64-poky-linux" >>>>> MACHINE = "nuc" >>>>> DISTRO = "poky" >>>>> DISTRO_VERSION = "1.7" >>>>> TUNE_FEATURES = "m64 corei7" >>>>> TARGET_FPU = "" >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *make[1]: Entering directory >>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>> GEN ./Makefile *** Unable to find the ncurses libraries or the *** >>>>> required header files. *** 'make menuconfig' requires the ncurses >>>>> libraries. *** *** Install ncurses (ncurses-devel) and try again. *** >>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** >>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >> [__sub-make] >>>>> Error 2Command failed.Press any key to continue... * >>>>> >>>>> >>>>> >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:36 ` nick @ 2014-11-10 1:40 ` Nick D'Ademo [not found] ` <546018F8.2030201@gmail.com> 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 1:40 UTC (permalink / raw) To: nick; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 4430 bytes --] Thanks Nick. Machine conf is as follows (it's actually nearly identical to nuc.conf - however, BT support, multilib, and preferred providers have been added): #@TYPE: Machine #@NAME: chiefriver #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE # i.e. Ivy Bridge + Panther Point PREFERRED_VERSION_linux-yocto ?= "3.17%" MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" MACHINE_FEATURES += "intel-ucode" require conf/machine/include/meta-intel.inc require conf/machine/include/intel-corei7-64-common.inc require conf/machine/include/intel-common-pkgarch.inc require multilib.conf MACHINE_HWCODECS ?= "va-intel gst-va-intel" XSERVER ?= "${XSERVER_X86_BASE} \ ${XSERVER_X86_EXT} \ ${XSERVER_X86_I965} \ " MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" # disable the serial port configuration SERIAL_CONSOLE = "" PREFERRED_PROVIDER_jpeg = "jpeg" PREFERRED_PROVIDER_jpeg-native = "jpeg-native" PREFERRED_PROVIDER_virtual/fftw = "fftw" On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: > Hey Nick, > This seems to then be an issue with incorrect paths or build information > in your nuc.conf > as the most likely culprit. If you can post your machine's conf file I > will be glad to see > if there are any issues I can spot. > Nick > > On 14-11-09 08:33 PM, Nick D'Ademo wrote: > > 1) source oe-init-build-env is run before building. > > 2) We are actually using a custom machine .conf based on nuc.conf, so > > actually: MACHINE = "custom_machine_name". I replaced it with "nuc" in > this > > post to avoid confusion. > > > > On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> wrote: > > > >> Do you run source oe-init-build-env before building and why is your > machine > >> set to nuc seems this may be an issue? > >> Nick > >> > >> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>> Thanks for the quick reply Nick. > >>> > >>> Host system is Ubuntu 14.04. ncurses is already installed: > >>> > >>> sudo apt-get install libncurses5-dev > >>> Reading package lists... Done > >>> Building dependency tree > >>> Reading state information... Done > >>> libncurses5-dev is already the newest version. > >>> > >>> > >>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> wrote: > >>> > >>>> Check to see if you actuality have it installed on your host system > for > >>>> your package manager. > >>>> The library for ncurses for compiling the kernel is different based on > >>>> your distro, check > >>>> your distro's installer and install the correct ncurses package first. > >> If > >>>> this is still an > >>>> issue please reply with a newer error message. > >>>> Cheers Nick > >>>> > >>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>> Getting a strange error when attempting to configure the Yocto Linux > >>>> kernel > >>>>> via: bitbake linux-yocto -c menuconfig. > >>>>> > >>>>> Does anyone have any ideas? (error message below) > >>>>> Much appreciated. > >>>>> > >>>>> Build Configuration: > >>>>> BB_VERSION = "1.24.0" > >>>>> BUILD_SYS = "x86_64-linux" > >>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>> MACHINE = "nuc" > >>>>> DISTRO = "poky" > >>>>> DISTRO_VERSION = "1.7" > >>>>> TUNE_FEATURES = "m64 corei7" > >>>>> TARGET_FPU = "" > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> *make[1]: Entering directory > >>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>> GEN ./Makefile *** Unable to find the ncurses libraries or the > *** > >>>>> required header files. *** 'make menuconfig' requires the ncurses > >>>>> libraries. *** *** Install ncurses (ncurses-devel) and try again. > *** > >>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** > >>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** > >> [__sub-make] > >>>>> Error 2Command failed.Press any key to continue... * > >>>>> > >>>>> > >>>>> > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 6406 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
[parent not found: <546018F8.2030201@gmail.com>]
* Re: Unable to find the ncurses libraries when running menuconfig [not found] ` <546018F8.2030201@gmail.com> @ 2014-11-10 1:51 ` Nick D'Ademo 2014-11-10 1:58 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 1:51 UTC (permalink / raw) To: nick, Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 5485 bytes --] Thanks for trying that out Nick. Issue is present on both 3.14 and 3.17 for me. All paths in the require lines are correct too. Any other ideas? On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: > I tried bitbake linux-yocto -c menuconfig on my own system running the > same distro and it seems to my > default use kernel 3.14 not 3.17 otherwise this seems be fine from my > understanding. Also check all the > paths in your require lines as there may be an issue with your builds and > the path set up by these files > that you are linking to for your kernel build. > Nick > On 14-11-09 08:40 PM, Nick D'Ademo wrote: > > Thanks Nick. > > > > Machine conf is as follows (it's actually nearly identical to nuc.conf - > > however, BT support, multilib, and preferred providers have been added): > > > > #@TYPE: Machine > > #@NAME: chiefriver > > > > #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE > > > > #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE > > # i.e. Ivy Bridge + Panther Point > > > > PREFERRED_VERSION_linux-yocto ?= "3.17%" > > MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > > MACHINE_FEATURES += "intel-ucode" > > > > require conf/machine/include/meta-intel.inc > > require conf/machine/include/intel-corei7-64-common.inc > > require conf/machine/include/intel-common-pkgarch.inc > > require multilib.conf > > > > MACHINE_HWCODECS ?= "va-intel gst-va-intel" > > > > XSERVER ?= "${XSERVER_X86_BASE} \ > > ${XSERVER_X86_EXT} \ > > ${XSERVER_X86_I965} \ > > " > > > > MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" > > > > # disable the serial port configuration > > SERIAL_CONSOLE = "" > > > > PREFERRED_PROVIDER_jpeg = "jpeg" > > PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > > PREFERRED_PROVIDER_virtual/fftw = "fftw" > > > > > > > > On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: > > > >> Hey Nick, > >> This seems to then be an issue with incorrect paths or build information > >> in your nuc.conf > >> as the most likely culprit. If you can post your machine's conf file I > >> will be glad to see > >> if there are any issues I can spot. > >> Nick > >> > >> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>> 1) source oe-init-build-env is run before building. > >>> 2) We are actually using a custom machine .conf based on nuc.conf, so > >>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" in > >> this > >>> post to avoid confusion. > >>> > >>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> wrote: > >>> > >>>> Do you run source oe-init-build-env before building and why is your > >> machine > >>>> set to nuc seems this may be an issue? > >>>> Nick > >>>> > >>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>> Thanks for the quick reply Nick. > >>>>> > >>>>> Host system is Ubuntu 14.04. ncurses is already installed: > >>>>> > >>>>> sudo apt-get install libncurses5-dev > >>>>> Reading package lists... Done > >>>>> Building dependency tree > >>>>> Reading state information... Done > >>>>> libncurses5-dev is already the newest version. > >>>>> > >>>>> > >>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> wrote: > >>>>> > >>>>>> Check to see if you actuality have it installed on your host system > >> for > >>>>>> your package manager. > >>>>>> The library for ncurses for compiling the kernel is different based > on > >>>>>> your distro, check > >>>>>> your distro's installer and install the correct ncurses package > first. > >>>> If > >>>>>> this is still an > >>>>>> issue please reply with a newer error message. > >>>>>> Cheers Nick > >>>>>> > >>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>> Getting a strange error when attempting to configure the Yocto > Linux > >>>>>> kernel > >>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>> > >>>>>>> Does anyone have any ideas? (error message below) > >>>>>>> Much appreciated. > >>>>>>> > >>>>>>> Build Configuration: > >>>>>>> BB_VERSION = "1.24.0" > >>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>> MACHINE = "nuc" > >>>>>>> DISTRO = "poky" > >>>>>>> DISTRO_VERSION = "1.7" > >>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>> TARGET_FPU = "" > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> *make[1]: Entering directory > >>>>>>> > >>>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries or the > >> *** > >>>>>>> required header files. *** 'make menuconfig' requires the ncurses > >>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try again. > >> *** > >>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** > >>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** > >>>> [__sub-make] > >>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 8435 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:51 ` Nick D'Ademo @ 2014-11-10 1:58 ` nick 2014-11-10 2:51 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 1:58 UTC (permalink / raw) To: Nick D'Ademo, Yocto list discussion Seems to after reading and doing some research a build issue with multiple jobs or try running rm -r tmp in your build and then rebuild as it may be an issue with out of date temp files. Cheers Nick On 14-11-09 08:51 PM, Nick D'Ademo wrote: > Thanks for trying that out Nick. > > Issue is present on both 3.14 and 3.17 for me. > All paths in the require lines are correct too. > > Any other ideas? > > > > On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: > >> I tried bitbake linux-yocto -c menuconfig on my own system running the >> same distro and it seems to my >> default use kernel 3.14 not 3.17 otherwise this seems be fine from my >> understanding. Also check all the >> paths in your require lines as there may be an issue with your builds and >> the path set up by these files >> that you are linking to for your kernel build. >> Nick >> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>> Thanks Nick. >>> >>> Machine conf is as follows (it's actually nearly identical to nuc.conf - >>> however, BT support, multilib, and preferred providers have been added): >>> >>> #@TYPE: Machine >>> #@NAME: chiefriver >>> >>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE >>> >>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE >>> # i.e. Ivy Bridge + Panther Point >>> >>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>> MACHINE_FEATURES += "intel-ucode" >>> >>> require conf/machine/include/meta-intel.inc >>> require conf/machine/include/intel-corei7-64-common.inc >>> require conf/machine/include/intel-common-pkgarch.inc >>> require multilib.conf >>> >>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>> >>> XSERVER ?= "${XSERVER_X86_BASE} \ >>> ${XSERVER_X86_EXT} \ >>> ${XSERVER_X86_I965} \ >>> " >>> >>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" >>> >>> # disable the serial port configuration >>> SERIAL_CONSOLE = "" >>> >>> PREFERRED_PROVIDER_jpeg = "jpeg" >>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>> >>> >>> >>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: >>> >>>> Hey Nick, >>>> This seems to then be an issue with incorrect paths or build information >>>> in your nuc.conf >>>> as the most likely culprit. If you can post your machine's conf file I >>>> will be glad to see >>>> if there are any issues I can spot. >>>> Nick >>>> >>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>> 1) source oe-init-build-env is run before building. >>>>> 2) We are actually using a custom machine .conf based on nuc.conf, so >>>>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" in >>>> this >>>>> post to avoid confusion. >>>>> >>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> wrote: >>>>> >>>>>> Do you run source oe-init-build-env before building and why is your >>>> machine >>>>>> set to nuc seems this may be an issue? >>>>>> Nick >>>>>> >>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>> Thanks for the quick reply Nick. >>>>>>> >>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >>>>>>> >>>>>>> sudo apt-get install libncurses5-dev >>>>>>> Reading package lists... Done >>>>>>> Building dependency tree >>>>>>> Reading state information... Done >>>>>>> libncurses5-dev is already the newest version. >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> wrote: >>>>>>> >>>>>>>> Check to see if you actuality have it installed on your host system >>>> for >>>>>>>> your package manager. >>>>>>>> The library for ncurses for compiling the kernel is different based >> on >>>>>>>> your distro, check >>>>>>>> your distro's installer and install the correct ncurses package >> first. >>>>>> If >>>>>>>> this is still an >>>>>>>> issue please reply with a newer error message. >>>>>>>> Cheers Nick >>>>>>>> >>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>> Getting a strange error when attempting to configure the Yocto >> Linux >>>>>>>> kernel >>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>> >>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>> Much appreciated. >>>>>>>>> >>>>>>>>> Build Configuration: >>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>> MACHINE = "nuc" >>>>>>>>> DISTRO = "poky" >>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>> TARGET_FPU = "" >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> *make[1]: Entering directory >>>>>>>>> >>>>>>>> >>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries or the >>>> *** >>>>>>>>> required header files. *** 'make menuconfig' requires the ncurses >>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try again. >>>> *** >>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** >>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >>>>>> [__sub-make] >>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:58 ` nick @ 2014-11-10 2:51 ` Nick D'Ademo 2014-11-10 3:01 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 2:51 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 6355 bytes --] Hi Nick, I removed build/tmp/ and performed a rebuild - I'm still experiencing the same error message unfortunately. On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: > Seems to after reading and doing some research a build issue with multiple > jobs or try running rm -r tmp in your > build and then rebuild as it may be an issue with out of date temp files. > Cheers Nick > > On 14-11-09 08:51 PM, Nick D'Ademo wrote: > > Thanks for trying that out Nick. > > > > Issue is present on both 3.14 and 3.17 for me. > > All paths in the require lines are correct too. > > > > Any other ideas? > > > > > > > > On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: > > > >> I tried bitbake linux-yocto -c menuconfig on my own system running the > >> same distro and it seems to my > >> default use kernel 3.14 not 3.17 otherwise this seems be fine from my > >> understanding. Also check all the > >> paths in your require lines as there may be an issue with your builds > and > >> the path set up by these files > >> that you are linking to for your kernel build. > >> Nick > >> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >>> Thanks Nick. > >>> > >>> Machine conf is as follows (it's actually nearly identical to nuc.conf > - > >>> however, BT support, multilib, and preferred providers have been > added): > >>> > >>> #@TYPE: Machine > >>> #@NAME: chiefriver > >>> > >>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE > >>> > >>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE > >>> # i.e. Ivy Bridge + Panther Point > >>> > >>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >>> MACHINE_FEATURES += "intel-ucode" > >>> > >>> require conf/machine/include/meta-intel.inc > >>> require conf/machine/include/intel-corei7-64-common.inc > >>> require conf/machine/include/intel-common-pkgarch.inc > >>> require multilib.conf > >>> > >>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >>> > >>> XSERVER ?= "${XSERVER_X86_BASE} \ > >>> ${XSERVER_X86_EXT} \ > >>> ${XSERVER_X86_I965} \ > >>> " > >>> > >>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" > >>> > >>> # disable the serial port configuration > >>> SERIAL_CONSOLE = "" > >>> > >>> PREFERRED_PROVIDER_jpeg = "jpeg" > >>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >>> > >>> > >>> > >>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: > >>> > >>>> Hey Nick, > >>>> This seems to then be an issue with incorrect paths or build > information > >>>> in your nuc.conf > >>>> as the most likely culprit. If you can post your machine's conf file I > >>>> will be glad to see > >>>> if there are any issues I can spot. > >>>> Nick > >>>> > >>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>>>> 1) source oe-init-build-env is run before building. > >>>>> 2) We are actually using a custom machine .conf based on nuc.conf, so > >>>>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" > in > >>>> this > >>>>> post to avoid confusion. > >>>>> > >>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> wrote: > >>>>> > >>>>>> Do you run source oe-init-build-env before building and why is your > >>>> machine > >>>>>> set to nuc seems this may be an issue? > >>>>>> Nick > >>>>>> > >>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>>>> Thanks for the quick reply Nick. > >>>>>>> > >>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: > >>>>>>> > >>>>>>> sudo apt-get install libncurses5-dev > >>>>>>> Reading package lists... Done > >>>>>>> Building dependency tree > >>>>>>> Reading state information... Done > >>>>>>> libncurses5-dev is already the newest version. > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> > wrote: > >>>>>>> > >>>>>>>> Check to see if you actuality have it installed on your host > system > >>>> for > >>>>>>>> your package manager. > >>>>>>>> The library for ncurses for compiling the kernel is different > based > >> on > >>>>>>>> your distro, check > >>>>>>>> your distro's installer and install the correct ncurses package > >> first. > >>>>>> If > >>>>>>>> this is still an > >>>>>>>> issue please reply with a newer error message. > >>>>>>>> Cheers Nick > >>>>>>>> > >>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>>>> Getting a strange error when attempting to configure the Yocto > >> Linux > >>>>>>>> kernel > >>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>>>> > >>>>>>>>> Does anyone have any ideas? (error message below) > >>>>>>>>> Much appreciated. > >>>>>>>>> > >>>>>>>>> Build Configuration: > >>>>>>>>> BB_VERSION = "1.24.0" > >>>>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>>>> MACHINE = "nuc" > >>>>>>>>> DISTRO = "poky" > >>>>>>>>> DISTRO_VERSION = "1.7" > >>>>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>>>> TARGET_FPU = "" > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> *make[1]: Entering directory > >>>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries or > the > >>>> *** > >>>>>>>>> required header files. *** 'make menuconfig' requires the ncurses > >>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try > again. > >>>> *** > >>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: > *** > >>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** > >>>>>> [__sub-make] > >>>>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 10262 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 2:51 ` Nick D'Ademo @ 2014-11-10 3:01 ` nick 2014-11-10 3:36 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 3:01 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion Try downloading a stock kernel for kernel.org and extract it in your home directory and run make menuconfig in the root of the kernel source tree, if this works then I am assuming either ncurses or your machine conf is wrong somewhere. Cheers Nick On 14-11-09 09:51 PM, Nick D'Ademo wrote: > Hi Nick, > > I removed build/tmp/ and performed a rebuild - I'm still experiencing the > same error message unfortunately. > > > On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: > >> Seems to after reading and doing some research a build issue with multiple >> jobs or try running rm -r tmp in your >> build and then rebuild as it may be an issue with out of date temp files. >> Cheers Nick >> >> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>> Thanks for trying that out Nick. >>> >>> Issue is present on both 3.14 and 3.17 for me. >>> All paths in the require lines are correct too. >>> >>> Any other ideas? >>> >>> >>> >>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: >>> >>>> I tried bitbake linux-yocto -c menuconfig on my own system running the >>>> same distro and it seems to my >>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from my >>>> understanding. Also check all the >>>> paths in your require lines as there may be an issue with your builds >> and >>>> the path set up by these files >>>> that you are linking to for your kernel build. >>>> Nick >>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>> Thanks Nick. >>>>> >>>>> Machine conf is as follows (it's actually nearly identical to nuc.conf >> - >>>>> however, BT support, multilib, and preferred providers have been >> added): >>>>> >>>>> #@TYPE: Machine >>>>> #@NAME: chiefriver >>>>> >>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE >>>>> >>>>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE >>>>> # i.e. Ivy Bridge + Panther Point >>>>> >>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>> MACHINE_FEATURES += "intel-ucode" >>>>> >>>>> require conf/machine/include/meta-intel.inc >>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>> require multilib.conf >>>>> >>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>> >>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>> ${XSERVER_X86_EXT} \ >>>>> ${XSERVER_X86_I965} \ >>>>> " >>>>> >>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" >>>>> >>>>> # disable the serial port configuration >>>>> SERIAL_CONSOLE = "" >>>>> >>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>> >>>>> >>>>> >>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: >>>>> >>>>>> Hey Nick, >>>>>> This seems to then be an issue with incorrect paths or build >> information >>>>>> in your nuc.conf >>>>>> as the most likely culprit. If you can post your machine's conf file I >>>>>> will be glad to see >>>>>> if there are any issues I can spot. >>>>>> Nick >>>>>> >>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>> 1) source oe-init-build-env is run before building. >>>>>>> 2) We are actually using a custom machine .conf based on nuc.conf, so >>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" >> in >>>>>> this >>>>>>> post to avoid confusion. >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> wrote: >>>>>>> >>>>>>>> Do you run source oe-init-build-env before building and why is your >>>>>> machine >>>>>>>> set to nuc seems this may be an issue? >>>>>>>> Nick >>>>>>>> >>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>> >>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >>>>>>>>> >>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>> Reading package lists... Done >>>>>>>>> Building dependency tree >>>>>>>>> Reading state information... Done >>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> >> wrote: >>>>>>>>> >>>>>>>>>> Check to see if you actuality have it installed on your host >> system >>>>>> for >>>>>>>>>> your package manager. >>>>>>>>>> The library for ncurses for compiling the kernel is different >> based >>>> on >>>>>>>>>> your distro, check >>>>>>>>>> your distro's installer and install the correct ncurses package >>>> first. >>>>>>>> If >>>>>>>>>> this is still an >>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>> Cheers Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>> Getting a strange error when attempting to configure the Yocto >>>> Linux >>>>>>>>>> kernel >>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>> >>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>> Much appreciated. >>>>>>>>>>> >>>>>>>>>>> Build Configuration: >>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries or >> the >>>>>> *** >>>>>>>>>>> required header files. *** 'make menuconfig' requires the ncurses >>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try >> again. >>>>>> *** >>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: >> *** >>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >>>>>>>> [__sub-make] >>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 3:01 ` nick @ 2014-11-10 3:36 ` Nick D'Ademo 2014-11-10 3:43 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 3:36 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 7319 bytes --] Just tried with the latest 3.17.2 kernel. 'make menuconfig' works fine and loads the interactive kernel config. On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: > Try downloading a stock kernel for kernel.org and extract it in your home > directory and run make menuconfig in > the root of the kernel source tree, if this works then I am assuming > either ncurses or your machine conf is wrong > somewhere. > Cheers Nick > > On 14-11-09 09:51 PM, Nick D'Ademo wrote: > > Hi Nick, > > > > I removed build/tmp/ and performed a rebuild - I'm still experiencing the > > same error message unfortunately. > > > > > > On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: > > > >> Seems to after reading and doing some research a build issue with > multiple > >> jobs or try running rm -r tmp in your > >> build and then rebuild as it may be an issue with out of date temp > files. > >> Cheers Nick > >> > >> On 14-11-09 08:51 PM, Nick D'Ademo wrote: > >>> Thanks for trying that out Nick. > >>> > >>> Issue is present on both 3.14 and 3.17 for me. > >>> All paths in the require lines are correct too. > >>> > >>> Any other ideas? > >>> > >>> > >>> > >>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: > >>> > >>>> I tried bitbake linux-yocto -c menuconfig on my own system running the > >>>> same distro and it seems to my > >>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from my > >>>> understanding. Also check all the > >>>> paths in your require lines as there may be an issue with your builds > >> and > >>>> the path set up by these files > >>>> that you are linking to for your kernel build. > >>>> Nick > >>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >>>>> Thanks Nick. > >>>>> > >>>>> Machine conf is as follows (it's actually nearly identical to > nuc.conf > >> - > >>>>> however, BT support, multilib, and preferred providers have been > >> added): > >>>>> > >>>>> #@TYPE: Machine > >>>>> #@NAME: chiefriver > >>>>> > >>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE > >>>>> > >>>>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE > >>>>> # i.e. Ivy Bridge + Panther Point > >>>>> > >>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >>>>> MACHINE_FEATURES += "intel-ucode" > >>>>> > >>>>> require conf/machine/include/meta-intel.inc > >>>>> require conf/machine/include/intel-corei7-64-common.inc > >>>>> require conf/machine/include/intel-common-pkgarch.inc > >>>>> require multilib.conf > >>>>> > >>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >>>>> > >>>>> XSERVER ?= "${XSERVER_X86_BASE} \ > >>>>> ${XSERVER_X86_EXT} \ > >>>>> ${XSERVER_X86_I965} \ > >>>>> " > >>>>> > >>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" > >>>>> > >>>>> # disable the serial port configuration > >>>>> SERIAL_CONSOLE = "" > >>>>> > >>>>> PREFERRED_PROVIDER_jpeg = "jpeg" > >>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >>>>> > >>>>> > >>>>> > >>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: > >>>>> > >>>>>> Hey Nick, > >>>>>> This seems to then be an issue with incorrect paths or build > >> information > >>>>>> in your nuc.conf > >>>>>> as the most likely culprit. If you can post your machine's conf > file I > >>>>>> will be glad to see > >>>>>> if there are any issues I can spot. > >>>>>> Nick > >>>>>> > >>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>>>>>> 1) source oe-init-build-env is run before building. > >>>>>>> 2) We are actually using a custom machine .conf based on nuc.conf, > so > >>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" > >> in > >>>>>> this > >>>>>>> post to avoid confusion. > >>>>>>> > >>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> > wrote: > >>>>>>> > >>>>>>>> Do you run source oe-init-build-env before building and why is > your > >>>>>> machine > >>>>>>>> set to nuc seems this may be an issue? > >>>>>>>> Nick > >>>>>>>> > >>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>>>>>> Thanks for the quick reply Nick. > >>>>>>>>> > >>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: > >>>>>>>>> > >>>>>>>>> sudo apt-get install libncurses5-dev > >>>>>>>>> Reading package lists... Done > >>>>>>>>> Building dependency tree > >>>>>>>>> Reading state information... Done > >>>>>>>>> libncurses5-dev is already the newest version. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> > >> wrote: > >>>>>>>>> > >>>>>>>>>> Check to see if you actuality have it installed on your host > >> system > >>>>>> for > >>>>>>>>>> your package manager. > >>>>>>>>>> The library for ncurses for compiling the kernel is different > >> based > >>>> on > >>>>>>>>>> your distro, check > >>>>>>>>>> your distro's installer and install the correct ncurses package > >>>> first. > >>>>>>>> If > >>>>>>>>>> this is still an > >>>>>>>>>> issue please reply with a newer error message. > >>>>>>>>>> Cheers Nick > >>>>>>>>>> > >>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>>>>>> Getting a strange error when attempting to configure the Yocto > >>>> Linux > >>>>>>>>>> kernel > >>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>>>>>> > >>>>>>>>>>> Does anyone have any ideas? (error message below) > >>>>>>>>>>> Much appreciated. > >>>>>>>>>>> > >>>>>>>>>>> Build Configuration: > >>>>>>>>>>> BB_VERSION = "1.24.0" > >>>>>>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>>>>>> MACHINE = "nuc" > >>>>>>>>>>> DISTRO = "poky" > >>>>>>>>>>> DISTRO_VERSION = "1.7" > >>>>>>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>>>>>> TARGET_FPU = "" > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> *make[1]: Entering directory > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries or > >> the > >>>>>> *** > >>>>>>>>>>> required header files. *** 'make menuconfig' requires the > ncurses > >>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try > >> again. > >>>>>> *** > >>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: > >> *** > >>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** > >>>>>>>> [__sub-make] > >>>>>>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 12549 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 3:36 ` Nick D'Ademo @ 2014-11-10 3:43 ` nick 2014-11-10 7:26 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 3:43 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion Nick, Then this is an issue with your machine conf or paths required for kernel building. Are you able to build a poky distro with a working kernel and this is just a issue with you building the yocto kernel alone or can you also not build poky too? Cheers Nick On 14-11-09 10:36 PM, Nick D'Ademo wrote: > Just tried with the latest 3.17.2 kernel. 'make menuconfig' works fine and > loads the interactive kernel config. > > > On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: > >> Try downloading a stock kernel for kernel.org and extract it in your home >> directory and run make menuconfig in >> the root of the kernel source tree, if this works then I am assuming >> either ncurses or your machine conf is wrong >> somewhere. >> Cheers Nick >> >> On 14-11-09 09:51 PM, Nick D'Ademo wrote: >>> Hi Nick, >>> >>> I removed build/tmp/ and performed a rebuild - I'm still experiencing the >>> same error message unfortunately. >>> >>> >>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: >>> >>>> Seems to after reading and doing some research a build issue with >> multiple >>>> jobs or try running rm -r tmp in your >>>> build and then rebuild as it may be an issue with out of date temp >> files. >>>> Cheers Nick >>>> >>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>>>> Thanks for trying that out Nick. >>>>> >>>>> Issue is present on both 3.14 and 3.17 for me. >>>>> All paths in the require lines are correct too. >>>>> >>>>> Any other ideas? >>>>> >>>>> >>>>> >>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: >>>>> >>>>>> I tried bitbake linux-yocto -c menuconfig on my own system running the >>>>>> same distro and it seems to my >>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from my >>>>>> understanding. Also check all the >>>>>> paths in your require lines as there may be an issue with your builds >>>> and >>>>>> the path set up by these files >>>>>> that you are linking to for your kernel build. >>>>>> Nick >>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>>>> Thanks Nick. >>>>>>> >>>>>>> Machine conf is as follows (it's actually nearly identical to >> nuc.conf >>>> - >>>>>>> however, BT support, multilib, and preferred providers have been >>>> added): >>>>>>> >>>>>>> #@TYPE: Machine >>>>>>> #@NAME: chiefriver >>>>>>> >>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE >>>>>>> >>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE >>>>>>> # i.e. Ivy Bridge + Panther Point >>>>>>> >>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>>>> MACHINE_FEATURES += "intel-ucode" >>>>>>> >>>>>>> require conf/machine/include/meta-intel.inc >>>>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>>>> require multilib.conf >>>>>>> >>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>>>> >>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>>>> ${XSERVER_X86_EXT} \ >>>>>>> ${XSERVER_X86_I965} \ >>>>>>> " >>>>>>> >>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 lms8" >>>>>>> >>>>>>> # disable the serial port configuration >>>>>>> SERIAL_CONSOLE = "" >>>>>>> >>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> wrote: >>>>>>> >>>>>>>> Hey Nick, >>>>>>>> This seems to then be an issue with incorrect paths or build >>>> information >>>>>>>> in your nuc.conf >>>>>>>> as the most likely culprit. If you can post your machine's conf >> file I >>>>>>>> will be glad to see >>>>>>>> if there are any issues I can spot. >>>>>>>> Nick >>>>>>>> >>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>>>> 1) source oe-init-build-env is run before building. >>>>>>>>> 2) We are actually using a custom machine .conf based on nuc.conf, >> so >>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with "nuc" >>>> in >>>>>>>> this >>>>>>>>> post to avoid confusion. >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> >> wrote: >>>>>>>>> >>>>>>>>>> Do you run source oe-init-build-env before building and why is >> your >>>>>>>> machine >>>>>>>>>> set to nuc seems this may be an issue? >>>>>>>>>> Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>>>> >>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >>>>>>>>>>> >>>>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>>>> Reading package lists... Done >>>>>>>>>>> Building dependency tree >>>>>>>>>>> Reading state information... Done >>>>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> >>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Check to see if you actuality have it installed on your host >>>> system >>>>>>>> for >>>>>>>>>>>> your package manager. >>>>>>>>>>>> The library for ncurses for compiling the kernel is different >>>> based >>>>>> on >>>>>>>>>>>> your distro, check >>>>>>>>>>>> your distro's installer and install the correct ncurses package >>>>>> first. >>>>>>>>>> If >>>>>>>>>>>> this is still an >>>>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>>>> Cheers Nick >>>>>>>>>>>> >>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>>>> Getting a strange error when attempting to configure the Yocto >>>>>> Linux >>>>>>>>>>>> kernel >>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>>>> >>>>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>>>> Much appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> Build Configuration: >>>>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries or >>>> the >>>>>>>> *** >>>>>>>>>>>>> required header files. *** 'make menuconfig' requires the >> ncurses >>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try >>>> again. >>>>>>>> *** >>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: >>>> *** >>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >>>>>>>>>> [__sub-make] >>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 3:43 ` nick @ 2014-11-10 7:26 ` Nick D'Ademo 2014-11-10 11:11 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 7:26 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 8907 bytes --] menuconfig works with a core-image-minimal vanilla build: *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO = "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb dsp"TARGET_FPU = "soft"meta meta-yocto meta-yocto-bsp = "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe meta-multimedia meta-gnome = "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* So this must be an issue with my custom machine. On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: > Nick, > Then this is an issue with your machine conf or paths required for kernel > building. Are you able > to build a poky distro with a working kernel and this is just a issue with > you building the yocto > kernel alone or can you also not build poky too? > Cheers Nick > > On 14-11-09 10:36 PM, Nick D'Ademo wrote: > > Just tried with the latest 3.17.2 kernel. 'make menuconfig' works fine > and > > loads the interactive kernel config. > > > > > > On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: > > > >> Try downloading a stock kernel for kernel.org and extract it in your > home > >> directory and run make menuconfig in > >> the root of the kernel source tree, if this works then I am assuming > >> either ncurses or your machine conf is wrong > >> somewhere. > >> Cheers Nick > >> > >> On 14-11-09 09:51 PM, Nick D'Ademo wrote: > >>> Hi Nick, > >>> > >>> I removed build/tmp/ and performed a rebuild - I'm still experiencing > the > >>> same error message unfortunately. > >>> > >>> > >>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: > >>> > >>>> Seems to after reading and doing some research a build issue with > >> multiple > >>>> jobs or try running rm -r tmp in your > >>>> build and then rebuild as it may be an issue with out of date temp > >> files. > >>>> Cheers Nick > >>>> > >>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: > >>>>> Thanks for trying that out Nick. > >>>>> > >>>>> Issue is present on both 3.14 and 3.17 for me. > >>>>> All paths in the require lines are correct too. > >>>>> > >>>>> Any other ideas? > >>>>> > >>>>> > >>>>> > >>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: > >>>>> > >>>>>> I tried bitbake linux-yocto -c menuconfig on my own system running > the > >>>>>> same distro and it seems to my > >>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from > my > >>>>>> understanding. Also check all the > >>>>>> paths in your require lines as there may be an issue with your > builds > >>>> and > >>>>>> the path set up by these files > >>>>>> that you are linking to for your kernel build. > >>>>>> Nick > >>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >>>>>>> Thanks Nick. > >>>>>>> > >>>>>>> Machine conf is as follows (it's actually nearly identical to > >> nuc.conf > >>>> - > >>>>>>> however, BT support, multilib, and preferred providers have been > >>>> added): > >>>>>>> > >>>>>>> #@TYPE: Machine > >>>>>>> #@NAME: chiefriver > >>>>>>> > >>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE > >>>>>>> > >>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE > >>>>>>> # i.e. Ivy Bridge + Panther Point > >>>>>>> > >>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >>>>>>> MACHINE_FEATURES += "intel-ucode" > >>>>>>> > >>>>>>> require conf/machine/include/meta-intel.inc > >>>>>>> require conf/machine/include/intel-corei7-64-common.inc > >>>>>>> require conf/machine/include/intel-common-pkgarch.inc > >>>>>>> require multilib.conf > >>>>>>> > >>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >>>>>>> > >>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ > >>>>>>> ${XSERVER_X86_EXT} \ > >>>>>>> ${XSERVER_X86_I965} \ > >>>>>>> " > >>>>>>> > >>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 > lms8" > >>>>>>> > >>>>>>> # disable the serial port configuration > >>>>>>> SERIAL_CONSOLE = "" > >>>>>>> > >>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" > >>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> > wrote: > >>>>>>> > >>>>>>>> Hey Nick, > >>>>>>>> This seems to then be an issue with incorrect paths or build > >>>> information > >>>>>>>> in your nuc.conf > >>>>>>>> as the most likely culprit. If you can post your machine's conf > >> file I > >>>>>>>> will be glad to see > >>>>>>>> if there are any issues I can spot. > >>>>>>>> Nick > >>>>>>>> > >>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>>>>>>>> 1) source oe-init-build-env is run before building. > >>>>>>>>> 2) We are actually using a custom machine .conf based on > nuc.conf, > >> so > >>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with > "nuc" > >>>> in > >>>>>>>> this > >>>>>>>>> post to avoid confusion. > >>>>>>>>> > >>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> > >> wrote: > >>>>>>>>> > >>>>>>>>>> Do you run source oe-init-build-env before building and why is > >> your > >>>>>>>> machine > >>>>>>>>>> set to nuc seems this may be an issue? > >>>>>>>>>> Nick > >>>>>>>>>> > >>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>>>>>>>> Thanks for the quick reply Nick. > >>>>>>>>>>> > >>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: > >>>>>>>>>>> > >>>>>>>>>>> sudo apt-get install libncurses5-dev > >>>>>>>>>>> Reading package lists... Done > >>>>>>>>>>> Building dependency tree > >>>>>>>>>>> Reading state information... Done > >>>>>>>>>>> libncurses5-dev is already the newest version. > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> > >>>> wrote: > >>>>>>>>>>> > >>>>>>>>>>>> Check to see if you actuality have it installed on your host > >>>> system > >>>>>>>> for > >>>>>>>>>>>> your package manager. > >>>>>>>>>>>> The library for ncurses for compiling the kernel is different > >>>> based > >>>>>> on > >>>>>>>>>>>> your distro, check > >>>>>>>>>>>> your distro's installer and install the correct ncurses > package > >>>>>> first. > >>>>>>>>>> If > >>>>>>>>>>>> this is still an > >>>>>>>>>>>> issue please reply with a newer error message. > >>>>>>>>>>>> Cheers Nick > >>>>>>>>>>>> > >>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>> Getting a strange error when attempting to configure the > Yocto > >>>>>> Linux > >>>>>>>>>>>> kernel > >>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Does anyone have any ideas? (error message below) > >>>>>>>>>>>>> Much appreciated. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Build Configuration: > >>>>>>>>>>>>> BB_VERSION = "1.24.0" > >>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>>>>>>>> MACHINE = "nuc" > >>>>>>>>>>>>> DISTRO = "poky" > >>>>>>>>>>>>> DISTRO_VERSION = "1.7" > >>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>>>>>>>> TARGET_FPU = "" > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> *make[1]: Entering directory > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries > or > >>>> the > >>>>>>>> *** > >>>>>>>>>>>>> required header files. *** 'make menuconfig' requires the > >> ncurses > >>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try > >>>> again. > >>>>>>>> *** > >>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error > 1make[2]: > >>>> *** > >>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** > >>>>>>>>>> [__sub-make] > >>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 15923 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 7:26 ` Nick D'Ademo @ 2014-11-10 11:11 ` nick 2014-11-10 12:56 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-10 11:11 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion Nick, Yes this is a issue with your custom machine and I believe this is a issue with your your machine conf is located in the build directories. Cheers Nick On 14-11-10 02:26 AM, Nick D'Ademo wrote: > menuconfig works with a core-image-minimal vanilla build: > > > > > > > > > > > > > > > > > *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = > "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = > "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO = > "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb > dsp"TARGET_FPU = "soft"meta meta-yocto > meta-yocto-bsp = > "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe > meta-multimedia meta-gnome = > "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* > > > So this must be an issue with my custom machine. > > > On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: > >> Nick, >> Then this is an issue with your machine conf or paths required for kernel >> building. Are you able >> to build a poky distro with a working kernel and this is just a issue with >> you building the yocto >> kernel alone or can you also not build poky too? >> Cheers Nick >> >> On 14-11-09 10:36 PM, Nick D'Ademo wrote: >>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works fine >> and >>> loads the interactive kernel config. >>> >>> >>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: >>> >>>> Try downloading a stock kernel for kernel.org and extract it in your >> home >>>> directory and run make menuconfig in >>>> the root of the kernel source tree, if this works then I am assuming >>>> either ncurses or your machine conf is wrong >>>> somewhere. >>>> Cheers Nick >>>> >>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: >>>>> Hi Nick, >>>>> >>>>> I removed build/tmp/ and performed a rebuild - I'm still experiencing >> the >>>>> same error message unfortunately. >>>>> >>>>> >>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: >>>>> >>>>>> Seems to after reading and doing some research a build issue with >>>> multiple >>>>>> jobs or try running rm -r tmp in your >>>>>> build and then rebuild as it may be an issue with out of date temp >>>> files. >>>>>> Cheers Nick >>>>>> >>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>>>>>> Thanks for trying that out Nick. >>>>>>> >>>>>>> Issue is present on both 3.14 and 3.17 for me. >>>>>>> All paths in the require lines are correct too. >>>>>>> >>>>>>> Any other ideas? >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> wrote: >>>>>>> >>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system running >> the >>>>>>>> same distro and it seems to my >>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from >> my >>>>>>>> understanding. Also check all the >>>>>>>> paths in your require lines as there may be an issue with your >> builds >>>>>> and >>>>>>>> the path set up by these files >>>>>>>> that you are linking to for your kernel build. >>>>>>>> Nick >>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>>>>>> Thanks Nick. >>>>>>>>> >>>>>>>>> Machine conf is as follows (it's actually nearly identical to >>>> nuc.conf >>>>>> - >>>>>>>>> however, BT support, multilib, and preferred providers have been >>>>>> added): >>>>>>>>> >>>>>>>>> #@TYPE: Machine >>>>>>>>> #@NAME: chiefriver >>>>>>>>> >>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE >>>>>>>>> >>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model DC3217IYE >>>>>>>>> # i.e. Ivy Bridge + Panther Point >>>>>>>>> >>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>>>>>> MACHINE_FEATURES += "intel-ucode" >>>>>>>>> >>>>>>>>> require conf/machine/include/meta-intel.inc >>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>>>>>> require multilib.conf >>>>>>>>> >>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>>>>>> >>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>>>>>> ${XSERVER_X86_EXT} \ >>>>>>>>> ${XSERVER_X86_I965} \ >>>>>>>>> " >>>>>>>>> >>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 >> lms8" >>>>>>>>> >>>>>>>>> # disable the serial port configuration >>>>>>>>> SERIAL_CONSOLE = "" >>>>>>>>> >>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> >> wrote: >>>>>>>>> >>>>>>>>>> Hey Nick, >>>>>>>>>> This seems to then be an issue with incorrect paths or build >>>>>> information >>>>>>>>>> in your nuc.conf >>>>>>>>>> as the most likely culprit. If you can post your machine's conf >>>> file I >>>>>>>>>> will be glad to see >>>>>>>>>> if there are any issues I can spot. >>>>>>>>>> Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>>>>>> 1) source oe-init-build-env is run before building. >>>>>>>>>>> 2) We are actually using a custom machine .conf based on >> nuc.conf, >>>> so >>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with >> "nuc" >>>>>> in >>>>>>>>>> this >>>>>>>>>>> post to avoid confusion. >>>>>>>>>>> >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> >>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Do you run source oe-init-build-env before building and why is >>>> your >>>>>>>>>> machine >>>>>>>>>>>> set to nuc seems this may be an issue? >>>>>>>>>>>> Nick >>>>>>>>>>>> >>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>>>>>> >>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >>>>>>>>>>>>> >>>>>>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>>>>>> Reading package lists... Done >>>>>>>>>>>>> Building dependency tree >>>>>>>>>>>>> Reading state information... Done >>>>>>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> >>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Check to see if you actuality have it installed on your host >>>>>> system >>>>>>>>>> for >>>>>>>>>>>>>> your package manager. >>>>>>>>>>>>>> The library for ncurses for compiling the kernel is different >>>>>> based >>>>>>>> on >>>>>>>>>>>>>> your distro, check >>>>>>>>>>>>>> your distro's installer and install the correct ncurses >> package >>>>>>>> first. >>>>>>>>>>>> If >>>>>>>>>>>>>> this is still an >>>>>>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>>>>>> Cheers Nick >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>> Getting a strange error when attempting to configure the >> Yocto >>>>>>>> Linux >>>>>>>>>>>>>> kernel >>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>>>>>> Much appreciated. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Build Configuration: >>>>>>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries >> or >>>>>> the >>>>>>>>>> *** >>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires the >>>> ncurses >>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try >>>>>> again. >>>>>>>>>> *** >>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error >> 1make[2]: >>>>>> *** >>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >>>>>>>>>>>> [__sub-make] >>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 11:11 ` nick @ 2014-11-10 12:56 ` Nick D'Ademo 2014-11-10 15:10 ` Nick Krause 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 12:56 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 10341 bytes --] If I do the following (from the same Terminal that *oe-init-build-env *has been run): 1) cd /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build 2) make menuconfig Menu config loads correctly. So for some reason, 'bitbake linux-yocto -c menuconfig' is not invoking menuconfig properly. Any ideas where to look in regard to my custom machine config? On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: > Nick, > Yes this is a issue with your custom machine and I believe this is a issue > with your your machine > conf is located in the build directories. > Cheers Nick > > On 14-11-10 02:26 AM, Nick D'Ademo wrote: > > menuconfig works with a core-image-minimal vanilla build: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = > > "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = > > "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO = > > "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb > > dsp"TARGET_FPU = "soft"meta meta-yocto > > meta-yocto-bsp = > > "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe > > meta-multimedia meta-gnome = > > "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* > > > > > > So this must be an issue with my custom machine. > > > > > > On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: > > > >> Nick, > >> Then this is an issue with your machine conf or paths required for > kernel > >> building. Are you able > >> to build a poky distro with a working kernel and this is just a issue > with > >> you building the yocto > >> kernel alone or can you also not build poky too? > >> Cheers Nick > >> > >> On 14-11-09 10:36 PM, Nick D'Ademo wrote: > >>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works fine > >> and > >>> loads the interactive kernel config. > >>> > >>> > >>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: > >>> > >>>> Try downloading a stock kernel for kernel.org and extract it in your > >> home > >>>> directory and run make menuconfig in > >>>> the root of the kernel source tree, if this works then I am assuming > >>>> either ncurses or your machine conf is wrong > >>>> somewhere. > >>>> Cheers Nick > >>>> > >>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: > >>>>> Hi Nick, > >>>>> > >>>>> I removed build/tmp/ and performed a rebuild - I'm still experiencing > >> the > >>>>> same error message unfortunately. > >>>>> > >>>>> > >>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: > >>>>> > >>>>>> Seems to after reading and doing some research a build issue with > >>>> multiple > >>>>>> jobs or try running rm -r tmp in your > >>>>>> build and then rebuild as it may be an issue with out of date temp > >>>> files. > >>>>>> Cheers Nick > >>>>>> > >>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: > >>>>>>> Thanks for trying that out Nick. > >>>>>>> > >>>>>>> Issue is present on both 3.14 and 3.17 for me. > >>>>>>> All paths in the require lines are correct too. > >>>>>>> > >>>>>>> Any other ideas? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> > wrote: > >>>>>>> > >>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system running > >> the > >>>>>>>> same distro and it seems to my > >>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine from > >> my > >>>>>>>> understanding. Also check all the > >>>>>>>> paths in your require lines as there may be an issue with your > >> builds > >>>>>> and > >>>>>>>> the path set up by these files > >>>>>>>> that you are linking to for your kernel build. > >>>>>>>> Nick > >>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >>>>>>>>> Thanks Nick. > >>>>>>>>> > >>>>>>>>> Machine conf is as follows (it's actually nearly identical to > >>>> nuc.conf > >>>>>> - > >>>>>>>>> however, BT support, multilib, and preferred providers have been > >>>>>> added): > >>>>>>>>> > >>>>>>>>> #@TYPE: Machine > >>>>>>>>> #@NAME: chiefriver > >>>>>>>>> > >>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE > >>>>>>>>> > >>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model > DC3217IYE > >>>>>>>>> # i.e. Ivy Bridge + Panther Point > >>>>>>>>> > >>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >>>>>>>>> MACHINE_FEATURES += "intel-ucode" > >>>>>>>>> > >>>>>>>>> require conf/machine/include/meta-intel.inc > >>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc > >>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc > >>>>>>>>> require multilib.conf > >>>>>>>>> > >>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >>>>>>>>> > >>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ > >>>>>>>>> ${XSERVER_X86_EXT} \ > >>>>>>>>> ${XSERVER_X86_I965} \ > >>>>>>>>> " > >>>>>>>>> > >>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 > >> lms8" > >>>>>>>>> > >>>>>>>>> # disable the serial port configuration > >>>>>>>>> SERIAL_CONSOLE = "" > >>>>>>>>> > >>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" > >>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> > >> wrote: > >>>>>>>>> > >>>>>>>>>> Hey Nick, > >>>>>>>>>> This seems to then be an issue with incorrect paths or build > >>>>>> information > >>>>>>>>>> in your nuc.conf > >>>>>>>>>> as the most likely culprit. If you can post your machine's conf > >>>> file I > >>>>>>>>>> will be glad to see > >>>>>>>>>> if there are any issues I can spot. > >>>>>>>>>> Nick > >>>>>>>>>> > >>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>>>>>>>>>> 1) source oe-init-build-env is run before building. > >>>>>>>>>>> 2) We are actually using a custom machine .conf based on > >> nuc.conf, > >>>> so > >>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with > >> "nuc" > >>>>>> in > >>>>>>>>>> this > >>>>>>>>>>> post to avoid confusion. > >>>>>>>>>>> > >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> > >>>> wrote: > >>>>>>>>>>> > >>>>>>>>>>>> Do you run source oe-init-build-env before building and why is > >>>> your > >>>>>>>>>> machine > >>>>>>>>>>>> set to nuc seems this may be an issue? > >>>>>>>>>>>> Nick > >>>>>>>>>>>> > >>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>> Thanks for the quick reply Nick. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: > >>>>>>>>>>>>> > >>>>>>>>>>>>> sudo apt-get install libncurses5-dev > >>>>>>>>>>>>> Reading package lists... Done > >>>>>>>>>>>>> Building dependency tree > >>>>>>>>>>>>> Reading state information... Done > >>>>>>>>>>>>> libncurses5-dev is already the newest version. > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> > >>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> Check to see if you actuality have it installed on your host > >>>>>> system > >>>>>>>>>> for > >>>>>>>>>>>>>> your package manager. > >>>>>>>>>>>>>> The library for ncurses for compiling the kernel is > different > >>>>>> based > >>>>>>>> on > >>>>>>>>>>>>>> your distro, check > >>>>>>>>>>>>>> your distro's installer and install the correct ncurses > >> package > >>>>>>>> first. > >>>>>>>>>>>> If > >>>>>>>>>>>>>> this is still an > >>>>>>>>>>>>>> issue please reply with a newer error message. > >>>>>>>>>>>>>> Cheers Nick > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>> Getting a strange error when attempting to configure the > >> Yocto > >>>>>>>> Linux > >>>>>>>>>>>>>> kernel > >>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) > >>>>>>>>>>>>>>> Much appreciated. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Build Configuration: > >>>>>>>>>>>>>>> BB_VERSION = "1.24.0" > >>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>>>>>>>>>> MACHINE = "nuc" > >>>>>>>>>>>>>>> DISTRO = "poky" > >>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" > >>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>>>>>>>>>> TARGET_FPU = "" > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> *make[1]: Entering directory > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses libraries > >> or > >>>>>> the > >>>>>>>>>> *** > >>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires the > >>>> ncurses > >>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and try > >>>>>> again. > >>>>>>>>>> *** > >>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error > >> 1make[2]: > >>>>>> *** > >>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: > *** > >>>>>>>>>>>> [__sub-make] > >>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 19046 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 12:56 ` Nick D'Ademo @ 2014-11-10 15:10 ` Nick Krause 2014-11-11 11:23 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: Nick Krause @ 2014-11-10 15:10 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> wrote: > If I do the following (from the same Terminal that oe-init-build-env has > been run): > 1) cd > /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build > 2) make menuconfig > > Menu config loads correctly. > > So for some reason, 'bitbake linux-yocto -c menuconfig' is not invoking > menuconfig properly. > > Any ideas where to look in regard to my custom machine config? > > > > On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: >> >> Nick, >> Yes this is a issue with your custom machine and I believe this is a issue >> with your your machine >> conf is located in the build directories. >> Cheers Nick >> >> On 14-11-10 02:26 AM, Nick D'Ademo wrote: >> > menuconfig works with a core-image-minimal vanilla build: >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = >> > "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = >> > "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO = >> > "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb >> > dsp"TARGET_FPU = "soft"meta meta-yocto >> > meta-yocto-bsp = >> > "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe >> > meta-multimedia meta-gnome = >> > "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* >> > >> > >> > So this must be an issue with my custom machine. >> > >> > >> > On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: >> > >> >> Nick, >> >> Then this is an issue with your machine conf or paths required for >> >> kernel >> >> building. Are you able >> >> to build a poky distro with a working kernel and this is just a issue >> >> with >> >> you building the yocto >> >> kernel alone or can you also not build poky too? >> >> Cheers Nick >> >> >> >> On 14-11-09 10:36 PM, Nick D'Ademo wrote: >> >>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works fine >> >> and >> >>> loads the interactive kernel config. >> >>> >> >>> >> >>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: >> >>> >> >>>> Try downloading a stock kernel for kernel.org and extract it in your >> >> home >> >>>> directory and run make menuconfig in >> >>>> the root of the kernel source tree, if this works then I am assuming >> >>>> either ncurses or your machine conf is wrong >> >>>> somewhere. >> >>>> Cheers Nick >> >>>> >> >>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: >> >>>>> Hi Nick, >> >>>>> >> >>>>> I removed build/tmp/ and performed a rebuild - I'm still >> >>>>> experiencing >> >> the >> >>>>> same error message unfortunately. >> >>>>> >> >>>>> >> >>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> wrote: >> >>>>> >> >>>>>> Seems to after reading and doing some research a build issue with >> >>>> multiple >> >>>>>> jobs or try running rm -r tmp in your >> >>>>>> build and then rebuild as it may be an issue with out of date temp >> >>>> files. >> >>>>>> Cheers Nick >> >>>>>> >> >>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >> >>>>>>> Thanks for trying that out Nick. >> >>>>>>> >> >>>>>>> Issue is present on both 3.14 and 3.17 for me. >> >>>>>>> All paths in the require lines are correct too. >> >>>>>>> >> >>>>>>> Any other ideas? >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> >> >>>>>>> wrote: >> >>>>>>> >> >>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system >> >>>>>>>> running >> >> the >> >>>>>>>> same distro and it seems to my >> >>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine >> >>>>>>>> from >> >> my >> >>>>>>>> understanding. Also check all the >> >>>>>>>> paths in your require lines as there may be an issue with your >> >> builds >> >>>>>> and >> >>>>>>>> the path set up by these files >> >>>>>>>> that you are linking to for your kernel build. >> >>>>>>>> Nick >> >>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >> >>>>>>>>> Thanks Nick. >> >>>>>>>>> >> >>>>>>>>> Machine conf is as follows (it's actually nearly identical to >> >>>> nuc.conf >> >>>>>> - >> >>>>>>>>> however, BT support, multilib, and preferred providers have been >> >>>>>> added): >> >>>>>>>>> >> >>>>>>>>> #@TYPE: Machine >> >>>>>>>>> #@NAME: chiefriver >> >>>>>>>>> >> >>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: DC3217IYE >> >>>>>>>>> >> >>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model >> >>>>>>>>> DC3217IYE >> >>>>>>>>> # i.e. Ivy Bridge + Panther Point >> >>>>>>>>> >> >>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >> >>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >> >>>>>>>>> MACHINE_FEATURES += "intel-ucode" >> >>>>>>>>> >> >>>>>>>>> require conf/machine/include/meta-intel.inc >> >>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc >> >>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc >> >>>>>>>>> require multilib.conf >> >>>>>>>>> >> >>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >> >>>>>>>>> >> >>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >> >>>>>>>>> ${XSERVER_X86_EXT} \ >> >>>>>>>>> ${XSERVER_X86_I965} \ >> >>>>>>>>> " >> >>>>>>>>> >> >>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 >> >> lms8" >> >>>>>>>>> >> >>>>>>>>> # disable the serial port configuration >> >>>>>>>>> SERIAL_CONSOLE = "" >> >>>>>>>>> >> >>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >> >>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >> >>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> >> >>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> >> >> wrote: >> >>>>>>>>> >> >>>>>>>>>> Hey Nick, >> >>>>>>>>>> This seems to then be an issue with incorrect paths or build >> >>>>>> information >> >>>>>>>>>> in your nuc.conf >> >>>>>>>>>> as the most likely culprit. If you can post your machine's conf >> >>>> file I >> >>>>>>>>>> will be glad to see >> >>>>>>>>>> if there are any issues I can spot. >> >>>>>>>>>> Nick >> >>>>>>>>>> >> >>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >> >>>>>>>>>>> 1) source oe-init-build-env is run before building. >> >>>>>>>>>>> 2) We are actually using a custom machine .conf based on >> >> nuc.conf, >> >>>> so >> >>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it with >> >> "nuc" >> >>>>>> in >> >>>>>>>>>> this >> >>>>>>>>>>> post to avoid confusion. >> >>>>>>>>>>> >> >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com> >> >>>> wrote: >> >>>>>>>>>>> >> >>>>>>>>>>>> Do you run source oe-init-build-env before building and why >> >>>>>>>>>>>> is >> >>>> your >> >>>>>>>>>> machine >> >>>>>>>>>>>> set to nuc seems this may be an issue? >> >>>>>>>>>>>> Nick >> >>>>>>>>>>>> >> >>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >> >>>>>>>>>>>>> Thanks for the quick reply Nick. >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> sudo apt-get install libncurses5-dev >> >>>>>>>>>>>>> Reading package lists... Done >> >>>>>>>>>>>>> Building dependency tree >> >>>>>>>>>>>>> Reading state information... Done >> >>>>>>>>>>>>> libncurses5-dev is already the newest version. >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> >> >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com> >> >>>>>> wrote: >> >>>>>>>>>>>>> >> >>>>>>>>>>>>>> Check to see if you actuality have it installed on your >> >>>>>>>>>>>>>> host >> >>>>>> system >> >>>>>>>>>> for >> >>>>>>>>>>>>>> your package manager. >> >>>>>>>>>>>>>> The library for ncurses for compiling the kernel is >> >>>>>>>>>>>>>> different >> >>>>>> based >> >>>>>>>> on >> >>>>>>>>>>>>>> your distro, check >> >>>>>>>>>>>>>> your distro's installer and install the correct ncurses >> >> package >> >>>>>>>> first. >> >>>>>>>>>>>> If >> >>>>>>>>>>>>>> this is still an >> >>>>>>>>>>>>>> issue please reply with a newer error message. >> >>>>>>>>>>>>>> Cheers Nick >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >> >>>>>>>>>>>>>>> Getting a strange error when attempting to configure the >> >> Yocto >> >>>>>>>> Linux >> >>>>>>>>>>>>>> kernel >> >>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) >> >>>>>>>>>>>>>>> Much appreciated. >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> Build Configuration: >> >>>>>>>>>>>>>>> BB_VERSION = "1.24.0" >> >>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" >> >>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >> >>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >> >>>>>>>>>>>>>>> MACHINE = "nuc" >> >>>>>>>>>>>>>>> DISTRO = "poky" >> >>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" >> >>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >> >>>>>>>>>>>>>>> TARGET_FPU = "" >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> *make[1]: Entering directory >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>> >> >>>>>> >> >>>> >> >> >> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >> >>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses >> >>>>>>>>>>>>>>> libraries >> >> or >> >>>>>> the >> >>>>>>>>>> *** >> >>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires the >> >>>> ncurses >> >>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and >> >>>>>>>>>>>>>>> try >> >>>>>> again. >> >>>>>>>>>> *** >> >>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error >> >> 1make[2]: >> >>>>>> *** >> >>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: >> >>>>>>>>>>>>>>> *** >> >>>>>>>>>>>> [__sub-make] >> >>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>> >> >>>>>>>>>>>>>> >> >>>>>>>>>>>>> >> >>>>>>>>>>>> >> >>>>>>>>>>> >> >>>>>>>>>> >> >>>>>>>>> >> >>>>>>>> >> >>>>>>> >> >>>>>> >> >>>>> >> >>>> >> >>> >> >> >> > > > Clearly your machine config is not in the correct directory or the layers needed for you machine config are not being correctly configured. Look at the Yocto Manual on writing Board Support Scripts for more information. Cheers Nick ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 15:10 ` Nick Krause @ 2014-11-11 11:23 ` Nick D'Ademo 2014-11-11 14:18 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-11 11:23 UTC (permalink / raw) To: Nick Krause; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 13693 bytes --] A bit of progress (found the cause of the error at least): The script that is failing is: linux/scripts/kconfig/lxdialog/ *check-lxdialog.sh* I added 'set -x' to the script so I could see the output as BitBake executes it... The function within that script which is failing is *check() *- in particular the following is failing: *$cc -x c - -o $tmp 2>/dev/null <<'EOF'#include CURSES_LOCmain() {}EOF* *Script output:* *gcc -isystem/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 '-DCURSES_LOC=<ncurses.h>' -DLOCALE -L/home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 -lncursesw -ltinfo -x c - -o .lxdialog.tmp* This command is returning 1 when it should be returning 0 (i.e. successful compile). The exact error is: */usr/bin/ld: cannot find /lib64/libc.so.6/usr/bin/ld: cannot find /usr/lib64/libc_nonshared.acollect2: error: ld returned 1 exit status* Where is it trying to find those libraries? In my host system (they don't exist!) or the system root of my build? The files *only* exist in my system root @ */home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 *and */home/nick/poky/build/tmp/sysroots/custom_machine_name/lib64.* I suspect that this may be due to the fact that my custom machine conf is a multilib configuration... Any further ideas? On Tue, Nov 11, 2014 at 2:10 AM, Nick Krause <xerofoify@gmail.com> wrote: > On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> > wrote: > > If I do the following (from the same Terminal that oe-init-build-env has > > been run): > > 1) cd > > > /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build > > 2) make menuconfig > > > > Menu config loads correctly. > > > > So for some reason, 'bitbake linux-yocto -c menuconfig' is not invoking > > menuconfig properly. > > > > Any ideas where to look in regard to my custom machine config? > > > > > > > > On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: > >> > >> Nick, > >> Yes this is a issue with your custom machine and I believe this is a > issue > >> with your your machine > >> conf is located in the build directories. > >> Cheers Nick > >> > >> On 14-11-10 02:26 AM, Nick D'Ademo wrote: > >> > menuconfig works with a core-image-minimal vanilla build: > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = > >> > "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = > >> > "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO > = > >> > "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb > >> > dsp"TARGET_FPU = "soft"meta meta-yocto > >> > meta-yocto-bsp = > >> > "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe > >> > meta-multimedia meta-gnome = > >> > "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* > >> > > >> > > >> > So this must be an issue with my custom machine. > >> > > >> > > >> > On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: > >> > > >> >> Nick, > >> >> Then this is an issue with your machine conf or paths required for > >> >> kernel > >> >> building. Are you able > >> >> to build a poky distro with a working kernel and this is just a issue > >> >> with > >> >> you building the yocto > >> >> kernel alone or can you also not build poky too? > >> >> Cheers Nick > >> >> > >> >> On 14-11-09 10:36 PM, Nick D'Ademo wrote: > >> >>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works > fine > >> >> and > >> >>> loads the interactive kernel config. > >> >>> > >> >>> > >> >>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: > >> >>> > >> >>>> Try downloading a stock kernel for kernel.org and extract it in > your > >> >> home > >> >>>> directory and run make menuconfig in > >> >>>> the root of the kernel source tree, if this works then I am > assuming > >> >>>> either ncurses or your machine conf is wrong > >> >>>> somewhere. > >> >>>> Cheers Nick > >> >>>> > >> >>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: > >> >>>>> Hi Nick, > >> >>>>> > >> >>>>> I removed build/tmp/ and performed a rebuild - I'm still > >> >>>>> experiencing > >> >> the > >> >>>>> same error message unfortunately. > >> >>>>> > >> >>>>> > >> >>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> > wrote: > >> >>>>> > >> >>>>>> Seems to after reading and doing some research a build issue with > >> >>>> multiple > >> >>>>>> jobs or try running rm -r tmp in your > >> >>>>>> build and then rebuild as it may be an issue with out of date > temp > >> >>>> files. > >> >>>>>> Cheers Nick > >> >>>>>> > >> >>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: > >> >>>>>>> Thanks for trying that out Nick. > >> >>>>>>> > >> >>>>>>> Issue is present on both 3.14 and 3.17 for me. > >> >>>>>>> All paths in the require lines are correct too. > >> >>>>>>> > >> >>>>>>> Any other ideas? > >> >>>>>>> > >> >>>>>>> > >> >>>>>>> > >> >>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> > >> >>>>>>> wrote: > >> >>>>>>> > >> >>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system > >> >>>>>>>> running > >> >> the > >> >>>>>>>> same distro and it seems to my > >> >>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine > >> >>>>>>>> from > >> >> my > >> >>>>>>>> understanding. Also check all the > >> >>>>>>>> paths in your require lines as there may be an issue with your > >> >> builds > >> >>>>>> and > >> >>>>>>>> the path set up by these files > >> >>>>>>>> that you are linking to for your kernel build. > >> >>>>>>>> Nick > >> >>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >> >>>>>>>>> Thanks Nick. > >> >>>>>>>>> > >> >>>>>>>>> Machine conf is as follows (it's actually nearly identical to > >> >>>> nuc.conf > >> >>>>>> - > >> >>>>>>>>> however, BT support, multilib, and preferred providers have > been > >> >>>>>> added): > >> >>>>>>>>> > >> >>>>>>>>> #@TYPE: Machine > >> >>>>>>>>> #@NAME: chiefriver > >> >>>>>>>>> > >> >>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: > DC3217IYE > >> >>>>>>>>> > >> >>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model > >> >>>>>>>>> DC3217IYE > >> >>>>>>>>> # i.e. Ivy Bridge + Panther Point > >> >>>>>>>>> > >> >>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >> >>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >> >>>>>>>>> MACHINE_FEATURES += "intel-ucode" > >> >>>>>>>>> > >> >>>>>>>>> require conf/machine/include/meta-intel.inc > >> >>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc > >> >>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc > >> >>>>>>>>> require multilib.conf > >> >>>>>>>>> > >> >>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >> >>>>>>>>> > >> >>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ > >> >>>>>>>>> ${XSERVER_X86_EXT} \ > >> >>>>>>>>> ${XSERVER_X86_I965} \ > >> >>>>>>>>> " > >> >>>>>>>>> > >> >>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 > >> >> lms8" > >> >>>>>>>>> > >> >>>>>>>>> # disable the serial port configuration > >> >>>>>>>>> SERIAL_CONSOLE = "" > >> >>>>>>>>> > >> >>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" > >> >>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >> >>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >> >>>>>>>>> > >> >>>>>>>>> > >> >>>>>>>>> > >> >>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> > >> >> wrote: > >> >>>>>>>>> > >> >>>>>>>>>> Hey Nick, > >> >>>>>>>>>> This seems to then be an issue with incorrect paths or build > >> >>>>>> information > >> >>>>>>>>>> in your nuc.conf > >> >>>>>>>>>> as the most likely culprit. If you can post your machine's > conf > >> >>>> file I > >> >>>>>>>>>> will be glad to see > >> >>>>>>>>>> if there are any issues I can spot. > >> >>>>>>>>>> Nick > >> >>>>>>>>>> > >> >>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >> >>>>>>>>>>> 1) source oe-init-build-env is run before building. > >> >>>>>>>>>>> 2) We are actually using a custom machine .conf based on > >> >> nuc.conf, > >> >>>> so > >> >>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it > with > >> >> "nuc" > >> >>>>>> in > >> >>>>>>>>>> this > >> >>>>>>>>>>> post to avoid confusion. > >> >>>>>>>>>>> > >> >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com > > > >> >>>> wrote: > >> >>>>>>>>>>> > >> >>>>>>>>>>>> Do you run source oe-init-build-env before building and why > >> >>>>>>>>>>>> is > >> >>>> your > >> >>>>>>>>>> machine > >> >>>>>>>>>>>> set to nuc seems this may be an issue? > >> >>>>>>>>>>>> Nick > >> >>>>>>>>>>>> > >> >>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >> >>>>>>>>>>>>> Thanks for the quick reply Nick. > >> >>>>>>>>>>>>> > >> >>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: > >> >>>>>>>>>>>>> > >> >>>>>>>>>>>>> sudo apt-get install libncurses5-dev > >> >>>>>>>>>>>>> Reading package lists... Done > >> >>>>>>>>>>>>> Building dependency tree > >> >>>>>>>>>>>>> Reading state information... Done > >> >>>>>>>>>>>>> libncurses5-dev is already the newest version. > >> >>>>>>>>>>>>> > >> >>>>>>>>>>>>> > >> >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick < > xerofoify@gmail.com> > >> >>>>>> wrote: > >> >>>>>>>>>>>>> > >> >>>>>>>>>>>>>> Check to see if you actuality have it installed on your > >> >>>>>>>>>>>>>> host > >> >>>>>> system > >> >>>>>>>>>> for > >> >>>>>>>>>>>>>> your package manager. > >> >>>>>>>>>>>>>> The library for ncurses for compiling the kernel is > >> >>>>>>>>>>>>>> different > >> >>>>>> based > >> >>>>>>>> on > >> >>>>>>>>>>>>>> your distro, check > >> >>>>>>>>>>>>>> your distro's installer and install the correct ncurses > >> >> package > >> >>>>>>>> first. > >> >>>>>>>>>>>> If > >> >>>>>>>>>>>>>> this is still an > >> >>>>>>>>>>>>>> issue please reply with a newer error message. > >> >>>>>>>>>>>>>> Cheers Nick > >> >>>>>>>>>>>>>> > >> >>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >> >>>>>>>>>>>>>>> Getting a strange error when attempting to configure the > >> >> Yocto > >> >>>>>>>> Linux > >> >>>>>>>>>>>>>> kernel > >> >>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) > >> >>>>>>>>>>>>>>> Much appreciated. > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> Build Configuration: > >> >>>>>>>>>>>>>>> BB_VERSION = "1.24.0" > >> >>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" > >> >>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >> >>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >> >>>>>>>>>>>>>>> MACHINE = "nuc" > >> >>>>>>>>>>>>>>> DISTRO = "poky" > >> >>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" > >> >>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" > >> >>>>>>>>>>>>>>> TARGET_FPU = "" > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> *make[1]: Entering directory > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>> > >> >>>>>>>>>>>> > >> >>>>>>>>>> > >> >>>>>>>> > >> >>>>>> > >> >>>> > >> >> > >> >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >> >>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses > >> >>>>>>>>>>>>>>> libraries > >> >> or > >> >>>>>> the > >> >>>>>>>>>> *** > >> >>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires > the > >> >>>> ncurses > >> >>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and > >> >>>>>>>>>>>>>>> try > >> >>>>>> again. > >> >>>>>>>>>> *** > >> >>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error > >> >> 1make[2]: > >> >>>>>> *** > >> >>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: > >> >>>>>>>>>>>>>>> *** > >> >>>>>>>>>>>> [__sub-make] > >> >>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>>> > >> >>>>>>>>>>>>>> > >> >>>>>>>>>>>>> > >> >>>>>>>>>>>> > >> >>>>>>>>>>> > >> >>>>>>>>>> > >> >>>>>>>>> > >> >>>>>>>> > >> >>>>>>> > >> >>>>>> > >> >>>>> > >> >>>> > >> >>> > >> >> > >> > > > > > > Clearly your machine config is not in the correct directory or the > layers needed for you machine config are not being correctly > configured. Look at the Yocto Manual on writing Board Support Scripts > for more information. > Cheers Nick > [-- Attachment #2: Type: text/html, Size: 24978 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-11 11:23 ` Nick D'Ademo @ 2014-11-11 14:18 ` nick 2014-11-11 14:37 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-11 14:18 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion That was my issue with your build, but I wasn't sure if that was going to prevent the build from you companies requirements. I would recommend only making the build 64 bit as it seems that there is no reason for backwards compatibility with older 32 bit libraries for your build. Regards Nick On 14-11-11 06:23 AM, Nick D'Ademo wrote: > A bit of progress (found the cause of the error at least): > > The script that is failing is: linux/scripts/kconfig/lxdialog/ > *check-lxdialog.sh* > > I added 'set -x' to the script so I could see the output as BitBake > executes it... The function within that script which is failing is *check() > *- in particular the following is failing: > > > > > *$cc -x c - -o $tmp 2>/dev/null <<'EOF'#include CURSES_LOCmain() {}EOF* > > *Script output:* > *gcc -isystem/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/include > -O2 -pipe -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib > -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib > -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 > '-DCURSES_LOC=<ncurses.h>' -DLOCALE > -L/home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 > -lncursesw -ltinfo -x c - -o .lxdialog.tmp* > > This command is returning 1 when it should be returning 0 (i.e. successful > compile). > > The exact error is: > > > */usr/bin/ld: cannot find /lib64/libc.so.6/usr/bin/ld: cannot find > /usr/lib64/libc_nonshared.acollect2: error: ld returned 1 exit status* > > Where is it trying to find those libraries? In my host system (they don't > exist!) or the system root of my build? The files *only* exist in my system > root @ */home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 *and > */home/nick/poky/build/tmp/sysroots/custom_machine_name/lib64.* > > I suspect that this may be due to the fact that my custom machine conf is a > multilib configuration... > > Any further ideas? > > > On Tue, Nov 11, 2014 at 2:10 AM, Nick Krause <xerofoify@gmail.com> wrote: > >> On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> >> wrote: >>> If I do the following (from the same Terminal that oe-init-build-env has >>> been run): >>> 1) cd >>> >> /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build >>> 2) make menuconfig >>> >>> Menu config loads correctly. >>> >>> So for some reason, 'bitbake linux-yocto -c menuconfig' is not invoking >>> menuconfig properly. >>> >>> Any ideas where to look in regard to my custom machine config? >>> >>> >>> >>> On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: >>>> >>>> Nick, >>>> Yes this is a issue with your custom machine and I believe this is a >> issue >>>> with your your machine >>>> conf is located in the build directories. >>>> Cheers Nick >>>> >>>> On 14-11-10 02:26 AM, Nick D'Ademo wrote: >>>>> menuconfig works with a core-image-minimal vanilla build: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = >>>>> "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = >>>>> "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO >> = >>>>> "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb >>>>> dsp"TARGET_FPU = "soft"meta meta-yocto >>>>> meta-yocto-bsp = >>>>> "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe >>>>> meta-multimedia meta-gnome = >>>>> "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* >>>>> >>>>> >>>>> So this must be an issue with my custom machine. >>>>> >>>>> >>>>> On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: >>>>> >>>>>> Nick, >>>>>> Then this is an issue with your machine conf or paths required for >>>>>> kernel >>>>>> building. Are you able >>>>>> to build a poky distro with a working kernel and this is just a issue >>>>>> with >>>>>> you building the yocto >>>>>> kernel alone or can you also not build poky too? >>>>>> Cheers Nick >>>>>> >>>>>> On 14-11-09 10:36 PM, Nick D'Ademo wrote: >>>>>>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works >> fine >>>>>> and >>>>>>> loads the interactive kernel config. >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: >>>>>>> >>>>>>>> Try downloading a stock kernel for kernel.org and extract it in >> your >>>>>> home >>>>>>>> directory and run make menuconfig in >>>>>>>> the root of the kernel source tree, if this works then I am >> assuming >>>>>>>> either ncurses or your machine conf is wrong >>>>>>>> somewhere. >>>>>>>> Cheers Nick >>>>>>>> >>>>>>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: >>>>>>>>> Hi Nick, >>>>>>>>> >>>>>>>>> I removed build/tmp/ and performed a rebuild - I'm still >>>>>>>>> experiencing >>>>>> the >>>>>>>>> same error message unfortunately. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> >> wrote: >>>>>>>>> >>>>>>>>>> Seems to after reading and doing some research a build issue with >>>>>>>> multiple >>>>>>>>>> jobs or try running rm -r tmp in your >>>>>>>>>> build and then rebuild as it may be an issue with out of date >> temp >>>>>>>> files. >>>>>>>>>> Cheers Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>>>>>>>>>> Thanks for trying that out Nick. >>>>>>>>>>> >>>>>>>>>>> Issue is present on both 3.14 and 3.17 for me. >>>>>>>>>>> All paths in the require lines are correct too. >>>>>>>>>>> >>>>>>>>>>> Any other ideas? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system >>>>>>>>>>>> running >>>>>> the >>>>>>>>>>>> same distro and it seems to my >>>>>>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine >>>>>>>>>>>> from >>>>>> my >>>>>>>>>>>> understanding. Also check all the >>>>>>>>>>>> paths in your require lines as there may be an issue with your >>>>>> builds >>>>>>>>>> and >>>>>>>>>>>> the path set up by these files >>>>>>>>>>>> that you are linking to for your kernel build. >>>>>>>>>>>> Nick >>>>>>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>>>>>>>>>> Thanks Nick. >>>>>>>>>>>>> >>>>>>>>>>>>> Machine conf is as follows (it's actually nearly identical to >>>>>>>> nuc.conf >>>>>>>>>> - >>>>>>>>>>>>> however, BT support, multilib, and preferred providers have >> been >>>>>>>>>> added): >>>>>>>>>>>>> >>>>>>>>>>>>> #@TYPE: Machine >>>>>>>>>>>>> #@NAME: chiefriver >>>>>>>>>>>>> >>>>>>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: >> DC3217IYE >>>>>>>>>>>>> >>>>>>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model >>>>>>>>>>>>> DC3217IYE >>>>>>>>>>>>> # i.e. Ivy Bridge + Panther Point >>>>>>>>>>>>> >>>>>>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>>>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>>>>>>>>>> MACHINE_FEATURES += "intel-ucode" >>>>>>>>>>>>> >>>>>>>>>>>>> require conf/machine/include/meta-intel.inc >>>>>>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>>>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>>>>>>>>>> require multilib.conf >>>>>>>>>>>>> >>>>>>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>>>>>>>>>> >>>>>>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>>>>>>>>>> ${XSERVER_X86_EXT} \ >>>>>>>>>>>>> ${XSERVER_X86_I965} \ >>>>>>>>>>>>> " >>>>>>>>>>>>> >>>>>>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-iwlwifi-6000g2b-6 >>>>>> lms8" >>>>>>>>>>>>> >>>>>>>>>>>>> # disable the serial port configuration >>>>>>>>>>>>> SERIAL_CONSOLE = "" >>>>>>>>>>>>> >>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>>>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> >>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hey Nick, >>>>>>>>>>>>>> This seems to then be an issue with incorrect paths or build >>>>>>>>>> information >>>>>>>>>>>>>> in your nuc.conf >>>>>>>>>>>>>> as the most likely culprit. If you can post your machine's >> conf >>>>>>>> file I >>>>>>>>>>>>>> will be glad to see >>>>>>>>>>>>>> if there are any issues I can spot. >>>>>>>>>>>>>> Nick >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>> 1) source oe-init-build-env is run before building. >>>>>>>>>>>>>>> 2) We are actually using a custom machine .conf based on >>>>>> nuc.conf, >>>>>>>> so >>>>>>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it >> with >>>>>> "nuc" >>>>>>>>>> in >>>>>>>>>>>>>> this >>>>>>>>>>>>>>> post to avoid confusion. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick <xerofoify@gmail.com >>> >>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Do you run source oe-init-build-env before building and why >>>>>>>>>>>>>>>> is >>>>>>>> your >>>>>>>>>>>>>> machine >>>>>>>>>>>>>>>> set to nuc seems this may be an issue? >>>>>>>>>>>>>>>> Nick >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already installed: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>>>>>>>>>> Reading package lists... Done >>>>>>>>>>>>>>>>> Building dependency tree >>>>>>>>>>>>>>>>> Reading state information... Done >>>>>>>>>>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick < >> xerofoify@gmail.com> >>>>>>>>>> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Check to see if you actuality have it installed on your >>>>>>>>>>>>>>>>>> host >>>>>>>>>> system >>>>>>>>>>>>>> for >>>>>>>>>>>>>>>>>> your package manager. >>>>>>>>>>>>>>>>>> The library for ncurses for compiling the kernel is >>>>>>>>>>>>>>>>>> different >>>>>>>>>> based >>>>>>>>>>>> on >>>>>>>>>>>>>>>>>> your distro, check >>>>>>>>>>>>>>>>>> your distro's installer and install the correct ncurses >>>>>> package >>>>>>>>>>>> first. >>>>>>>>>>>>>>>> If >>>>>>>>>>>>>>>>>> this is still an >>>>>>>>>>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>>>>>>>>>> Cheers Nick >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>>>> Getting a strange error when attempting to configure the >>>>>> Yocto >>>>>>>>>>>> Linux >>>>>>>>>>>>>>>>>> kernel >>>>>>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>>>>>>>>>> Much appreciated. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Build Configuration: >>>>>>>>>>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses >>>>>>>>>>>>>>>>>>> libraries >>>>>> or >>>>>>>>>> the >>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires >> the >>>>>>>> ncurses >>>>>>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and >>>>>>>>>>>>>>>>>>> try >>>>>>>>>> again. >>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error >>>>>> 1make[2]: >>>>>>>>>> *** >>>>>>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: >>>>>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>> [__sub-make] >>>>>>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>> >>> >> Clearly your machine config is not in the correct directory or the >> layers needed for you machine config are not being correctly >> configured. Look at the Yocto Manual on writing Board Support Scripts >> for more information. >> Cheers Nick >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-11 14:18 ` nick @ 2014-11-11 14:37 ` Nick D'Ademo 2014-11-11 14:49 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-11 14:37 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 14962 bytes --] Would this be classified as a BitBake bug then? I actually have a recipe which requires 32-bit libs - I'll see if there's a way around it. Thanks for your help thus far. Nick On Wed, Nov 12, 2014 at 1:18 AM, nick <xerofoify@gmail.com> wrote: > That was my issue with your build, but I wasn't sure if that was going to > prevent the build from you companies requirements. I would recommend only > making the build 64 bit as it seems that there is no reason for backwards > compatibility with older 32 bit libraries for your build. > Regards Nick > > On 14-11-11 06:23 AM, Nick D'Ademo wrote: > > A bit of progress (found the cause of the error at least): > > > > The script that is failing is: linux/scripts/kconfig/lxdialog/ > > *check-lxdialog.sh* > > > > I added 'set -x' to the script so I could see the output as BitBake > > executes it... The function within that script which is failing is > *check() > > *- in particular the following is failing: > > > > > > > > > > *$cc -x c - -o $tmp 2>/dev/null <<'EOF'#include CURSES_LOCmain() {}EOF* > > > > *Script output:* > > *gcc -isystem/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/include > > -O2 -pipe -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > > -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib > > -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > > -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib > > -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > > -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 > > '-DCURSES_LOC=<ncurses.h>' -DLOCALE > > -L/home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 > > -lncursesw -ltinfo -x c - -o .lxdialog.tmp* > > > > This command is returning 1 when it should be returning 0 (i.e. > successful > > compile). > > > > The exact error is: > > > > > > */usr/bin/ld: cannot find /lib64/libc.so.6/usr/bin/ld: cannot find > > /usr/lib64/libc_nonshared.acollect2: error: ld returned 1 exit status* > > > > Where is it trying to find those libraries? In my host system (they don't > > exist!) or the system root of my build? The files *only* exist in my > system > > root @ */home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 > *and > > */home/nick/poky/build/tmp/sysroots/custom_machine_name/lib64.* > > > > I suspect that this may be due to the fact that my custom machine conf > is a > > multilib configuration... > > > > Any further ideas? > > > > > > On Tue, Nov 11, 2014 at 2:10 AM, Nick Krause <xerofoify@gmail.com> > wrote: > > > >> On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> > >> wrote: > >>> If I do the following (from the same Terminal that oe-init-build-env > has > >>> been run): > >>> 1) cd > >>> > >> > /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build > >>> 2) make menuconfig > >>> > >>> Menu config loads correctly. > >>> > >>> So for some reason, 'bitbake linux-yocto -c menuconfig' is not invoking > >>> menuconfig properly. > >>> > >>> Any ideas where to look in regard to my custom machine config? > >>> > >>> > >>> > >>> On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: > >>>> > >>>> Nick, > >>>> Yes this is a issue with your custom machine and I believe this is a > >> issue > >>>> with your your machine > >>>> conf is located in the build directories. > >>>> Cheers Nick > >>>> > >>>> On 14-11-10 02:26 AM, Nick D'Ademo wrote: > >>>>> menuconfig works with a core-image-minimal vanilla build: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = > >>>>> "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = > >>>>> "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO > >> = > >>>>> "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb > >>>>> dsp"TARGET_FPU = "soft"meta meta-yocto > >>>>> meta-yocto-bsp = > >>>>> "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe > >>>>> meta-multimedia meta-gnome = > >>>>> "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* > >>>>> > >>>>> > >>>>> So this must be an issue with my custom machine. > >>>>> > >>>>> > >>>>> On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: > >>>>> > >>>>>> Nick, > >>>>>> Then this is an issue with your machine conf or paths required for > >>>>>> kernel > >>>>>> building. Are you able > >>>>>> to build a poky distro with a working kernel and this is just a > issue > >>>>>> with > >>>>>> you building the yocto > >>>>>> kernel alone or can you also not build poky too? > >>>>>> Cheers Nick > >>>>>> > >>>>>> On 14-11-09 10:36 PM, Nick D'Ademo wrote: > >>>>>>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works > >> fine > >>>>>> and > >>>>>>> loads the interactive kernel config. > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: > >>>>>>> > >>>>>>>> Try downloading a stock kernel for kernel.org and extract it in > >> your > >>>>>> home > >>>>>>>> directory and run make menuconfig in > >>>>>>>> the root of the kernel source tree, if this works then I am > >> assuming > >>>>>>>> either ncurses or your machine conf is wrong > >>>>>>>> somewhere. > >>>>>>>> Cheers Nick > >>>>>>>> > >>>>>>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: > >>>>>>>>> Hi Nick, > >>>>>>>>> > >>>>>>>>> I removed build/tmp/ and performed a rebuild - I'm still > >>>>>>>>> experiencing > >>>>>> the > >>>>>>>>> same error message unfortunately. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> > >> wrote: > >>>>>>>>> > >>>>>>>>>> Seems to after reading and doing some research a build issue > with > >>>>>>>> multiple > >>>>>>>>>> jobs or try running rm -r tmp in your > >>>>>>>>>> build and then rebuild as it may be an issue with out of date > >> temp > >>>>>>>> files. > >>>>>>>>>> Cheers Nick > >>>>>>>>>> > >>>>>>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: > >>>>>>>>>>> Thanks for trying that out Nick. > >>>>>>>>>>> > >>>>>>>>>>> Issue is present on both 3.14 and 3.17 for me. > >>>>>>>>>>> All paths in the require lines are correct too. > >>>>>>>>>>> > >>>>>>>>>>> Any other ideas? > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> > >>>>>>>>>>> wrote: > >>>>>>>>>>> > >>>>>>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system > >>>>>>>>>>>> running > >>>>>> the > >>>>>>>>>>>> same distro and it seems to my > >>>>>>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine > >>>>>>>>>>>> from > >>>>>> my > >>>>>>>>>>>> understanding. Also check all the > >>>>>>>>>>>> paths in your require lines as there may be an issue with your > >>>>>> builds > >>>>>>>>>> and > >>>>>>>>>>>> the path set up by these files > >>>>>>>>>>>> that you are linking to for your kernel build. > >>>>>>>>>>>> Nick > >>>>>>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>> Thanks Nick. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Machine conf is as follows (it's actually nearly identical to > >>>>>>>> nuc.conf > >>>>>>>>>> - > >>>>>>>>>>>>> however, BT support, multilib, and preferred providers have > >> been > >>>>>>>>>> added): > >>>>>>>>>>>>> > >>>>>>>>>>>>> #@TYPE: Machine > >>>>>>>>>>>>> #@NAME: chiefriver > >>>>>>>>>>>>> > >>>>>>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: > >> DC3217IYE > >>>>>>>>>>>>> > >>>>>>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model > >>>>>>>>>>>>> DC3217IYE > >>>>>>>>>>>>> # i.e. Ivy Bridge + Panther Point > >>>>>>>>>>>>> > >>>>>>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >>>>>>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >>>>>>>>>>>>> MACHINE_FEATURES += "intel-ucode" > >>>>>>>>>>>>> > >>>>>>>>>>>>> require conf/machine/include/meta-intel.inc > >>>>>>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc > >>>>>>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc > >>>>>>>>>>>>> require multilib.conf > >>>>>>>>>>>>> > >>>>>>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >>>>>>>>>>>>> > >>>>>>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ > >>>>>>>>>>>>> ${XSERVER_X86_EXT} \ > >>>>>>>>>>>>> ${XSERVER_X86_I965} \ > >>>>>>>>>>>>> " > >>>>>>>>>>>>> > >>>>>>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += > "linux-firmware-iwlwifi-6000g2b-6 > >>>>>> lms8" > >>>>>>>>>>>>> > >>>>>>>>>>>>> # disable the serial port configuration > >>>>>>>>>>>>> SERIAL_CONSOLE = "" > >>>>>>>>>>>>> > >>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" > >>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >>>>>>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> > >>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> Hey Nick, > >>>>>>>>>>>>>> This seems to then be an issue with incorrect paths or build > >>>>>>>>>> information > >>>>>>>>>>>>>> in your nuc.conf > >>>>>>>>>>>>>> as the most likely culprit. If you can post your machine's > >> conf > >>>>>>>> file I > >>>>>>>>>>>>>> will be glad to see > >>>>>>>>>>>>>> if there are any issues I can spot. > >>>>>>>>>>>>>> Nick > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>> 1) source oe-init-build-env is run before building. > >>>>>>>>>>>>>>> 2) We are actually using a custom machine .conf based on > >>>>>> nuc.conf, > >>>>>>>> so > >>>>>>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it > >> with > >>>>>> "nuc" > >>>>>>>>>> in > >>>>>>>>>>>>>> this > >>>>>>>>>>>>>>> post to avoid confusion. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick < > xerofoify@gmail.com > >>> > >>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> Do you run source oe-init-build-env before building and > why > >>>>>>>>>>>>>>>> is > >>>>>>>> your > >>>>>>>>>>>>>> machine > >>>>>>>>>>>>>>>> set to nuc seems this may be an issue? > >>>>>>>>>>>>>>>> Nick > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>>>> Thanks for the quick reply Nick. > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already > installed: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> sudo apt-get install libncurses5-dev > >>>>>>>>>>>>>>>>> Reading package lists... Done > >>>>>>>>>>>>>>>>> Building dependency tree > >>>>>>>>>>>>>>>>> Reading state information... Done > >>>>>>>>>>>>>>>>> libncurses5-dev is already the newest version. > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick < > >> xerofoify@gmail.com> > >>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> Check to see if you actuality have it installed on your > >>>>>>>>>>>>>>>>>> host > >>>>>>>>>> system > >>>>>>>>>>>>>> for > >>>>>>>>>>>>>>>>>> your package manager. > >>>>>>>>>>>>>>>>>> The library for ncurses for compiling the kernel is > >>>>>>>>>>>>>>>>>> different > >>>>>>>>>> based > >>>>>>>>>>>> on > >>>>>>>>>>>>>>>>>> your distro, check > >>>>>>>>>>>>>>>>>> your distro's installer and install the correct ncurses > >>>>>> package > >>>>>>>>>>>> first. > >>>>>>>>>>>>>>>> If > >>>>>>>>>>>>>>>>>> this is still an > >>>>>>>>>>>>>>>>>> issue please reply with a newer error message. > >>>>>>>>>>>>>>>>>> Cheers Nick > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>>>>>> Getting a strange error when attempting to configure > the > >>>>>> Yocto > >>>>>>>>>>>> Linux > >>>>>>>>>>>>>>>>>> kernel > >>>>>>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) > >>>>>>>>>>>>>>>>>>> Much appreciated. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Build Configuration: > >>>>>>>>>>>>>>>>>>> BB_VERSION = "1.24.0" > >>>>>>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>>>>>>>>>>>>>> MACHINE = "nuc" > >>>>>>>>>>>>>>>>>>> DISTRO = "poky" > >>>>>>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" > >>>>>>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>>>>>>>>>>>>>> TARGET_FPU = "" > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> *make[1]: Entering directory > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>> > >>>>>>>> > >>>>>> > >>>>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses > >>>>>>>>>>>>>>>>>>> libraries > >>>>>> or > >>>>>>>>>> the > >>>>>>>>>>>>>> *** > >>>>>>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires > >> the > >>>>>>>> ncurses > >>>>>>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and > >>>>>>>>>>>>>>>>>>> try > >>>>>>>>>> again. > >>>>>>>>>>>>>> *** > >>>>>>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error > >>>>>> 1make[2]: > >>>>>>>>>> *** > >>>>>>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error > 2make: > >>>>>>>>>>>>>>>>>>> *** > >>>>>>>>>>>>>>>> [__sub-make] > >>>>>>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>> > >>> > >> Clearly your machine config is not in the correct directory or the > >> layers needed for you machine config are not being correctly > >> configured. Look at the Yocto Manual on writing Board Support Scripts > >> for more information. > >> Cheers Nick > >> > > > [-- Attachment #2: Type: text/html, Size: 28601 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-11 14:37 ` Nick D'Ademo @ 2014-11-11 14:49 ` nick 2014-11-13 1:12 ` Nick D'Ademo 0 siblings, 1 reply; 25+ messages in thread From: nick @ 2014-11-11 14:49 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion I would state so as if you need it and it doesn't work then it probably is a bug with bitbake. Cheers Nick On 14-11-11 09:37 AM, Nick D'Ademo wrote: > Would this be classified as a BitBake bug then? > > I actually have a recipe which requires 32-bit libs - I'll see if there's a > way around it. > > Thanks for your help thus far. > > Nick > > On Wed, Nov 12, 2014 at 1:18 AM, nick <xerofoify@gmail.com> wrote: > >> That was my issue with your build, but I wasn't sure if that was going to >> prevent the build from you companies requirements. I would recommend only >> making the build 64 bit as it seems that there is no reason for backwards >> compatibility with older 32 bit libraries for your build. >> Regards Nick >> >> On 14-11-11 06:23 AM, Nick D'Ademo wrote: >>> A bit of progress (found the cause of the error at least): >>> >>> The script that is failing is: linux/scripts/kconfig/lxdialog/ >>> *check-lxdialog.sh* >>> >>> I added 'set -x' to the script so I could see the output as BitBake >>> executes it... The function within that script which is failing is >> *check() >>> *- in particular the following is failing: >>> >>> >>> >>> >>> *$cc -x c - -o $tmp 2>/dev/null <<'EOF'#include CURSES_LOCmain() {}EOF* >>> >>> *Script output:* >>> *gcc -isystem/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/include >>> -O2 -pipe -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib >>> -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib >>> -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib >>> -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib >>> -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib >>> -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 >>> '-DCURSES_LOC=<ncurses.h>' -DLOCALE >>> -L/home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 >>> -lncursesw -ltinfo -x c - -o .lxdialog.tmp* >>> >>> This command is returning 1 when it should be returning 0 (i.e. >> successful >>> compile). >>> >>> The exact error is: >>> >>> >>> */usr/bin/ld: cannot find /lib64/libc.so.6/usr/bin/ld: cannot find >>> /usr/lib64/libc_nonshared.acollect2: error: ld returned 1 exit status* >>> >>> Where is it trying to find those libraries? In my host system (they don't >>> exist!) or the system root of my build? The files *only* exist in my >> system >>> root @ */home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 >> *and >>> */home/nick/poky/build/tmp/sysroots/custom_machine_name/lib64.* >>> >>> I suspect that this may be due to the fact that my custom machine conf >> is a >>> multilib configuration... >>> >>> Any further ideas? >>> >>> >>> On Tue, Nov 11, 2014 at 2:10 AM, Nick Krause <xerofoify@gmail.com> >> wrote: >>> >>>> On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> >>>> wrote: >>>>> If I do the following (from the same Terminal that oe-init-build-env >> has >>>>> been run): >>>>> 1) cd >>>>> >>>> >> /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build >>>>> 2) make menuconfig >>>>> >>>>> Menu config loads correctly. >>>>> >>>>> So for some reason, 'bitbake linux-yocto -c menuconfig' is not invoking >>>>> menuconfig properly. >>>>> >>>>> Any ideas where to look in regard to my custom machine config? >>>>> >>>>> >>>>> >>>>> On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: >>>>>> >>>>>> Nick, >>>>>> Yes this is a issue with your custom machine and I believe this is a >>>> issue >>>>>> with your your machine >>>>>> conf is located in the build directories. >>>>>> Cheers Nick >>>>>> >>>>>> On 14-11-10 02:26 AM, Nick D'Ademo wrote: >>>>>>> menuconfig works with a core-image-minimal vanilla build: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS = >>>>>>> "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = >>>>>>> "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO >>>> = >>>>>>> "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb >>>>>>> dsp"TARGET_FPU = "soft"meta meta-yocto >>>>>>> meta-yocto-bsp = >>>>>>> "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe >>>>>>> meta-multimedia meta-gnome = >>>>>>> "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* >>>>>>> >>>>>>> >>>>>>> So this must be an issue with my custom machine. >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: >>>>>>> >>>>>>>> Nick, >>>>>>>> Then this is an issue with your machine conf or paths required for >>>>>>>> kernel >>>>>>>> building. Are you able >>>>>>>> to build a poky distro with a working kernel and this is just a >> issue >>>>>>>> with >>>>>>>> you building the yocto >>>>>>>> kernel alone or can you also not build poky too? >>>>>>>> Cheers Nick >>>>>>>> >>>>>>>> On 14-11-09 10:36 PM, Nick D'Ademo wrote: >>>>>>>>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works >>>> fine >>>>>>>> and >>>>>>>>> loads the interactive kernel config. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Try downloading a stock kernel for kernel.org and extract it in >>>> your >>>>>>>> home >>>>>>>>>> directory and run make menuconfig in >>>>>>>>>> the root of the kernel source tree, if this works then I am >>>> assuming >>>>>>>>>> either ncurses or your machine conf is wrong >>>>>>>>>> somewhere. >>>>>>>>>> Cheers Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: >>>>>>>>>>> Hi Nick, >>>>>>>>>>> >>>>>>>>>>> I removed build/tmp/ and performed a rebuild - I'm still >>>>>>>>>>> experiencing >>>>>>>> the >>>>>>>>>>> same error message unfortunately. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> >>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Seems to after reading and doing some research a build issue >> with >>>>>>>>>> multiple >>>>>>>>>>>> jobs or try running rm -r tmp in your >>>>>>>>>>>> build and then rebuild as it may be an issue with out of date >>>> temp >>>>>>>>>> files. >>>>>>>>>>>> Cheers Nick >>>>>>>>>>>> >>>>>>>>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>>>>>>>>>>>> Thanks for trying that out Nick. >>>>>>>>>>>>> >>>>>>>>>>>>> Issue is present on both 3.14 and 3.17 for me. >>>>>>>>>>>>> All paths in the require lines are correct too. >>>>>>>>>>>>> >>>>>>>>>>>>> Any other ideas? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system >>>>>>>>>>>>>> running >>>>>>>> the >>>>>>>>>>>>>> same distro and it seems to my >>>>>>>>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be fine >>>>>>>>>>>>>> from >>>>>>>> my >>>>>>>>>>>>>> understanding. Also check all the >>>>>>>>>>>>>> paths in your require lines as there may be an issue with your >>>>>>>> builds >>>>>>>>>>>> and >>>>>>>>>>>>>> the path set up by these files >>>>>>>>>>>>>> that you are linking to for your kernel build. >>>>>>>>>>>>>> Nick >>>>>>>>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>> Thanks Nick. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Machine conf is as follows (it's actually nearly identical to >>>>>>>>>> nuc.conf >>>>>>>>>>>> - >>>>>>>>>>>>>>> however, BT support, multilib, and preferred providers have >>>> been >>>>>>>>>>>> added): >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> #@TYPE: Machine >>>>>>>>>>>>>>> #@NAME: chiefriver >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: >>>> DC3217IYE >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model >>>>>>>>>>>>>>> DC3217IYE >>>>>>>>>>>>>>> # i.e. Ivy Bridge + Panther Point >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>>>>>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>>>>>>>>>>>> MACHINE_FEATURES += "intel-ucode" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> require conf/machine/include/meta-intel.inc >>>>>>>>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>>>>>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>>>>>>>>>>>> require multilib.conf >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>>>>>>>>>>>> ${XSERVER_X86_EXT} \ >>>>>>>>>>>>>>> ${XSERVER_X86_I965} \ >>>>>>>>>>>>>>> " >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += >> "linux-firmware-iwlwifi-6000g2b-6 >>>>>>>> lms8" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # disable the serial port configuration >>>>>>>>>>>>>>> SERIAL_CONSOLE = "" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>>>>>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick <xerofoify@gmail.com> >>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hey Nick, >>>>>>>>>>>>>>>> This seems to then be an issue with incorrect paths or build >>>>>>>>>>>> information >>>>>>>>>>>>>>>> in your nuc.conf >>>>>>>>>>>>>>>> as the most likely culprit. If you can post your machine's >>>> conf >>>>>>>>>> file I >>>>>>>>>>>>>>>> will be glad to see >>>>>>>>>>>>>>>> if there are any issues I can spot. >>>>>>>>>>>>>>>> Nick >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>> 1) source oe-init-build-env is run before building. >>>>>>>>>>>>>>>>> 2) We are actually using a custom machine .conf based on >>>>>>>> nuc.conf, >>>>>>>>>> so >>>>>>>>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it >>>> with >>>>>>>> "nuc" >>>>>>>>>>>> in >>>>>>>>>>>>>>>> this >>>>>>>>>>>>>>>>> post to avoid confusion. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick < >> xerofoify@gmail.com >>>>> >>>>>>>>>> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Do you run source oe-init-build-env before building and >> why >>>>>>>>>>>>>>>>>> is >>>>>>>>>> your >>>>>>>>>>>>>>>> machine >>>>>>>>>>>>>>>>>> set to nuc seems this may be an issue? >>>>>>>>>>>>>>>>>> Nick >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already >> installed: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>>>>>>>>>>>> Reading package lists... Done >>>>>>>>>>>>>>>>>>> Building dependency tree >>>>>>>>>>>>>>>>>>> Reading state information... Done >>>>>>>>>>>>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick < >>>> xerofoify@gmail.com> >>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Check to see if you actuality have it installed on your >>>>>>>>>>>>>>>>>>>> host >>>>>>>>>>>> system >>>>>>>>>>>>>>>> for >>>>>>>>>>>>>>>>>>>> your package manager. >>>>>>>>>>>>>>>>>>>> The library for ncurses for compiling the kernel is >>>>>>>>>>>>>>>>>>>> different >>>>>>>>>>>> based >>>>>>>>>>>>>> on >>>>>>>>>>>>>>>>>>>> your distro, check >>>>>>>>>>>>>>>>>>>> your distro's installer and install the correct ncurses >>>>>>>> package >>>>>>>>>>>>>> first. >>>>>>>>>>>>>>>>>> If >>>>>>>>>>>>>>>>>>>> this is still an >>>>>>>>>>>>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>>>>>>>>>>>> Cheers Nick >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>>>>>> Getting a strange error when attempting to configure >> the >>>>>>>> Yocto >>>>>>>>>>>>>> Linux >>>>>>>>>>>>>>>>>>>> kernel >>>>>>>>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>>>>>>>>>>>> Much appreciated. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Build Configuration: >>>>>>>>>>>>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>>>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>>>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>>>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses >>>>>>>>>>>>>>>>>>>>> libraries >>>>>>>> or >>>>>>>>>>>> the >>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires >>>> the >>>>>>>>>> ncurses >>>>>>>>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) and >>>>>>>>>>>>>>>>>>>>> try >>>>>>>>>>>> again. >>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error >>>>>>>> 1make[2]: >>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error >> 2make: >>>>>>>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>> [__sub-make] >>>>>>>>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>> >>>>> >>>> Clearly your machine config is not in the correct directory or the >>>> layers needed for you machine config are not being correctly >>>> configured. Look at the Yocto Manual on writing Board Support Scripts >>>> for more information. >>>> Cheers Nick >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-11 14:49 ` nick @ 2014-11-13 1:12 ` Nick D'Ademo 2014-11-13 1:15 ` nick 0 siblings, 1 reply; 25+ messages in thread From: Nick D'Ademo @ 2014-11-13 1:12 UTC (permalink / raw) To: nick; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 16257 bytes --] OK, I'll come up with a simple test case + procedure to reproduce it. Cheers, Nick On Wed, Nov 12, 2014 at 1:49 AM, nick <xerofoify@gmail.com> wrote: > I would state so as if you need it and it doesn't work then it probably is > a bug > with bitbake. > Cheers Nick > > On 14-11-11 09:37 AM, Nick D'Ademo wrote: > > Would this be classified as a BitBake bug then? > > > > I actually have a recipe which requires 32-bit libs - I'll see if > there's a > > way around it. > > > > Thanks for your help thus far. > > > > Nick > > > > On Wed, Nov 12, 2014 at 1:18 AM, nick <xerofoify@gmail.com> wrote: > > > >> That was my issue with your build, but I wasn't sure if that was going > to > >> prevent the build from you companies requirements. I would recommend > only > >> making the build 64 bit as it seems that there is no reason for > backwards > >> compatibility with older 32 bit libraries for your build. > >> Regards Nick > >> > >> On 14-11-11 06:23 AM, Nick D'Ademo wrote: > >>> A bit of progress (found the cause of the error at least): > >>> > >>> The script that is failing is: linux/scripts/kconfig/lxdialog/ > >>> *check-lxdialog.sh* > >>> > >>> I added 'set -x' to the script so I could see the output as BitBake > >>> executes it... The function within that script which is failing is > >> *check() > >>> *- in particular the following is failing: > >>> > >>> > >>> > >>> > >>> *$cc -x c - -o $tmp 2>/dev/null <<'EOF'#include CURSES_LOCmain() {}EOF* > >>> > >>> *Script output:* > >>> *gcc > -isystem/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/include > >>> -O2 -pipe -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > >>> -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib > >>> -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > >>> -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib > >>> -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib > >>> -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 > >>> '-DCURSES_LOC=<ncurses.h>' -DLOCALE > >>> -L/home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 > >>> -lncursesw -ltinfo -x c - -o .lxdialog.tmp* > >>> > >>> This command is returning 1 when it should be returning 0 (i.e. > >> successful > >>> compile). > >>> > >>> The exact error is: > >>> > >>> > >>> */usr/bin/ld: cannot find /lib64/libc.so.6/usr/bin/ld: cannot find > >>> /usr/lib64/libc_nonshared.acollect2: error: ld returned 1 exit status* > >>> > >>> Where is it trying to find those libraries? In my host system (they > don't > >>> exist!) or the system root of my build? The files *only* exist in my > >> system > >>> root @ > */home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 > >> *and > >>> */home/nick/poky/build/tmp/sysroots/custom_machine_name/lib64.* > >>> > >>> I suspect that this may be due to the fact that my custom machine conf > >> is a > >>> multilib configuration... > >>> > >>> Any further ideas? > >>> > >>> > >>> On Tue, Nov 11, 2014 at 2:10 AM, Nick Krause <xerofoify@gmail.com> > >> wrote: > >>> > >>>> On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> > >>>> wrote: > >>>>> If I do the following (from the same Terminal that oe-init-build-env > >> has > >>>>> been run): > >>>>> 1) cd > >>>>> > >>>> > >> > /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build > >>>>> 2) make menuconfig > >>>>> > >>>>> Menu config loads correctly. > >>>>> > >>>>> So for some reason, 'bitbake linux-yocto -c menuconfig' is not > invoking > >>>>> menuconfig properly. > >>>>> > >>>>> Any ideas where to look in regard to my custom machine config? > >>>>> > >>>>> > >>>>> > >>>>> On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: > >>>>>> > >>>>>> Nick, > >>>>>> Yes this is a issue with your custom machine and I believe this is a > >>>> issue > >>>>>> with your your machine > >>>>>> conf is located in the build directories. > >>>>>> Cheers Nick > >>>>>> > >>>>>> On 14-11-10 02:26 AM, Nick D'Ademo wrote: > >>>>>>> menuconfig works with a core-image-minimal vanilla build: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS > = > >>>>>>> "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = > >>>>>>> "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO > >>>> = > >>>>>>> "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb > >>>>>>> dsp"TARGET_FPU = "soft"meta meta-yocto > >>>>>>> meta-yocto-bsp = > >>>>>>> "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe > >>>>>>> meta-multimedia meta-gnome = > >>>>>>> "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* > >>>>>>> > >>>>>>> > >>>>>>> So this must be an issue with my custom machine. > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: > >>>>>>> > >>>>>>>> Nick, > >>>>>>>> Then this is an issue with your machine conf or paths required for > >>>>>>>> kernel > >>>>>>>> building. Are you able > >>>>>>>> to build a poky distro with a working kernel and this is just a > >> issue > >>>>>>>> with > >>>>>>>> you building the yocto > >>>>>>>> kernel alone or can you also not build poky too? > >>>>>>>> Cheers Nick > >>>>>>>> > >>>>>>>> On 14-11-09 10:36 PM, Nick D'Ademo wrote: > >>>>>>>>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works > >>>> fine > >>>>>>>> and > >>>>>>>>> loads the interactive kernel config. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> > wrote: > >>>>>>>>> > >>>>>>>>>> Try downloading a stock kernel for kernel.org and extract it in > >>>> your > >>>>>>>> home > >>>>>>>>>> directory and run make menuconfig in > >>>>>>>>>> the root of the kernel source tree, if this works then I am > >>>> assuming > >>>>>>>>>> either ncurses or your machine conf is wrong > >>>>>>>>>> somewhere. > >>>>>>>>>> Cheers Nick > >>>>>>>>>> > >>>>>>>>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: > >>>>>>>>>>> Hi Nick, > >>>>>>>>>>> > >>>>>>>>>>> I removed build/tmp/ and performed a rebuild - I'm still > >>>>>>>>>>> experiencing > >>>>>>>> the > >>>>>>>>>>> same error message unfortunately. > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> > >>>> wrote: > >>>>>>>>>>> > >>>>>>>>>>>> Seems to after reading and doing some research a build issue > >> with > >>>>>>>>>> multiple > >>>>>>>>>>>> jobs or try running rm -r tmp in your > >>>>>>>>>>>> build and then rebuild as it may be an issue with out of date > >>>> temp > >>>>>>>>>> files. > >>>>>>>>>>>> Cheers Nick > >>>>>>>>>>>> > >>>>>>>>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>> Thanks for trying that out Nick. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Issue is present on both 3.14 and 3.17 for me. > >>>>>>>>>>>>> All paths in the require lines are correct too. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Any other ideas? > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> > >>>>>>>>>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system > >>>>>>>>>>>>>> running > >>>>>>>> the > >>>>>>>>>>>>>> same distro and it seems to my > >>>>>>>>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be > fine > >>>>>>>>>>>>>> from > >>>>>>>> my > >>>>>>>>>>>>>> understanding. Also check all the > >>>>>>>>>>>>>> paths in your require lines as there may be an issue with > your > >>>>>>>> builds > >>>>>>>>>>>> and > >>>>>>>>>>>>>> the path set up by these files > >>>>>>>>>>>>>> that you are linking to for your kernel build. > >>>>>>>>>>>>>> Nick > >>>>>>>>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>> Thanks Nick. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Machine conf is as follows (it's actually nearly identical > to > >>>>>>>>>> nuc.conf > >>>>>>>>>>>> - > >>>>>>>>>>>>>>> however, BT support, multilib, and preferred providers have > >>>> been > >>>>>>>>>>>> added): > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> #@TYPE: Machine > >>>>>>>>>>>>>>> #@NAME: chiefriver > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: > >>>> DC3217IYE > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model > >>>>>>>>>>>>>>> DC3217IYE > >>>>>>>>>>>>>>> # i.e. Ivy Bridge + Panther Point > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" > >>>>>>>>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" > >>>>>>>>>>>>>>> MACHINE_FEATURES += "intel-ucode" > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> require conf/machine/include/meta-intel.inc > >>>>>>>>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc > >>>>>>>>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc > >>>>>>>>>>>>>>> require multilib.conf > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ > >>>>>>>>>>>>>>> ${XSERVER_X86_EXT} \ > >>>>>>>>>>>>>>> ${XSERVER_X86_I965} \ > >>>>>>>>>>>>>>> " > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += > >> "linux-firmware-iwlwifi-6000g2b-6 > >>>>>>>> lms8" > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> # disable the serial port configuration > >>>>>>>>>>>>>>> SERIAL_CONSOLE = "" > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" > >>>>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" > >>>>>>>>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick < > xerofoify@gmail.com> > >>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> Hey Nick, > >>>>>>>>>>>>>>>> This seems to then be an issue with incorrect paths or > build > >>>>>>>>>>>> information > >>>>>>>>>>>>>>>> in your nuc.conf > >>>>>>>>>>>>>>>> as the most likely culprit. If you can post your machine's > >>>> conf > >>>>>>>>>> file I > >>>>>>>>>>>>>>>> will be glad to see > >>>>>>>>>>>>>>>> if there are any issues I can spot. > >>>>>>>>>>>>>>>> Nick > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>>>> 1) source oe-init-build-env is run before building. > >>>>>>>>>>>>>>>>> 2) We are actually using a custom machine .conf based on > >>>>>>>> nuc.conf, > >>>>>>>>>> so > >>>>>>>>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it > >>>> with > >>>>>>>> "nuc" > >>>>>>>>>>>> in > >>>>>>>>>>>>>>>> this > >>>>>>>>>>>>>>>>> post to avoid confusion. > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick < > >> xerofoify@gmail.com > >>>>> > >>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> Do you run source oe-init-build-env before building and > >> why > >>>>>>>>>>>>>>>>>> is > >>>>>>>>>> your > >>>>>>>>>>>>>>>> machine > >>>>>>>>>>>>>>>>>> set to nuc seems this may be an issue? > >>>>>>>>>>>>>>>>>> Nick > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>>>>>> Thanks for the quick reply Nick. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already > >> installed: > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> sudo apt-get install libncurses5-dev > >>>>>>>>>>>>>>>>>>> Reading package lists... Done > >>>>>>>>>>>>>>>>>>> Building dependency tree > >>>>>>>>>>>>>>>>>>> Reading state information... Done > >>>>>>>>>>>>>>>>>>> libncurses5-dev is already the newest version. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick < > >>>> xerofoify@gmail.com> > >>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> Check to see if you actuality have it installed on > your > >>>>>>>>>>>>>>>>>>>> host > >>>>>>>>>>>> system > >>>>>>>>>>>>>>>> for > >>>>>>>>>>>>>>>>>>>> your package manager. > >>>>>>>>>>>>>>>>>>>> The library for ncurses for compiling the kernel is > >>>>>>>>>>>>>>>>>>>> different > >>>>>>>>>>>> based > >>>>>>>>>>>>>> on > >>>>>>>>>>>>>>>>>>>> your distro, check > >>>>>>>>>>>>>>>>>>>> your distro's installer and install the correct > ncurses > >>>>>>>> package > >>>>>>>>>>>>>> first. > >>>>>>>>>>>>>>>>>> If > >>>>>>>>>>>>>>>>>>>> this is still an > >>>>>>>>>>>>>>>>>>>> issue please reply with a newer error message. > >>>>>>>>>>>>>>>>>>>> Cheers Nick > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: > >>>>>>>>>>>>>>>>>>>>> Getting a strange error when attempting to configure > >> the > >>>>>>>> Yocto > >>>>>>>>>>>>>> Linux > >>>>>>>>>>>>>>>>>>>> kernel > >>>>>>>>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) > >>>>>>>>>>>>>>>>>>>>> Much appreciated. > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> Build Configuration: > >>>>>>>>>>>>>>>>>>>>> BB_VERSION = "1.24.0" > >>>>>>>>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" > >>>>>>>>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" > >>>>>>>>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" > >>>>>>>>>>>>>>>>>>>>> MACHINE = "nuc" > >>>>>>>>>>>>>>>>>>>>> DISTRO = "poky" > >>>>>>>>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" > >>>>>>>>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" > >>>>>>>>>>>>>>>>>>>>> TARGET_FPU = "" > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> *make[1]: Entering directory > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>> > >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > >>>>>>>>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses > >>>>>>>>>>>>>>>>>>>>> libraries > >>>>>>>> or > >>>>>>>>>>>> the > >>>>>>>>>>>>>>>> *** > >>>>>>>>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires > >>>> the > >>>>>>>>>> ncurses > >>>>>>>>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) > and > >>>>>>>>>>>>>>>>>>>>> try > >>>>>>>>>>>> again. > >>>>>>>>>>>>>>>> *** > >>>>>>>>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error > >>>>>>>> 1make[2]: > >>>>>>>>>>>> *** > >>>>>>>>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error > >> 2make: > >>>>>>>>>>>>>>>>>>>>> *** > >>>>>>>>>>>>>>>>>> [__sub-make] > >>>>>>>>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>> > >>>>> > >>>> Clearly your machine config is not in the correct directory or the > >>>> layers needed for you machine config are not being correctly > >>>> configured. Look at the Yocto Manual on writing Board Support Scripts > >>>> for more information. > >>>> Cheers Nick > >>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 32445 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-13 1:12 ` Nick D'Ademo @ 2014-11-13 1:15 ` nick 0 siblings, 0 replies; 25+ messages in thread From: nick @ 2014-11-13 1:15 UTC (permalink / raw) To: Nick D'Ademo; +Cc: Yocto list discussion Seems like the best way to report any bug including ones related to YP. Nick On 14-11-12 08:12 PM, Nick D'Ademo wrote: > OK, I'll come up with a simple test case + procedure to reproduce it. > > Cheers, > Nick > > On Wed, Nov 12, 2014 at 1:49 AM, nick <xerofoify@gmail.com> wrote: > >> I would state so as if you need it and it doesn't work then it probably is >> a bug >> with bitbake. >> Cheers Nick >> >> On 14-11-11 09:37 AM, Nick D'Ademo wrote: >>> Would this be classified as a BitBake bug then? >>> >>> I actually have a recipe which requires 32-bit libs - I'll see if >> there's a >>> way around it. >>> >>> Thanks for your help thus far. >>> >>> Nick >>> >>> On Wed, Nov 12, 2014 at 1:18 AM, nick <xerofoify@gmail.com> wrote: >>> >>>> That was my issue with your build, but I wasn't sure if that was going >> to >>>> prevent the build from you companies requirements. I would recommend >> only >>>> making the build 64 bit as it seems that there is no reason for >> backwards >>>> compatibility with older 32 bit libraries for your build. >>>> Regards Nick >>>> >>>> On 14-11-11 06:23 AM, Nick D'Ademo wrote: >>>>> A bit of progress (found the cause of the error at least): >>>>> >>>>> The script that is failing is: linux/scripts/kconfig/lxdialog/ >>>>> *check-lxdialog.sh* >>>>> >>>>> I added 'set -x' to the script so I could see the output as BitBake >>>>> executes it... The function within that script which is failing is >>>> *check() >>>>> *- in particular the following is failing: >>>>> >>>>> >>>>> >>>>> >>>>> *$cc -x c - -o $tmp 2>/dev/null <<'EOF'#include CURSES_LOCmain() {}EOF* >>>>> >>>>> *Script output:* >>>>> *gcc >> -isystem/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/include >>>>> -O2 -pipe -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib >>>>> -L/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib >>>>> -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib >>>>> -Wl,-rpath-link,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib >>>>> -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/usr/lib >>>>> -Wl,-rpath,/home/nick/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 >>>>> '-DCURSES_LOC=<ncurses.h>' -DLOCALE >>>>> -L/home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 >>>>> -lncursesw -ltinfo -x c - -o .lxdialog.tmp* >>>>> >>>>> This command is returning 1 when it should be returning 0 (i.e. >>>> successful >>>>> compile). >>>>> >>>>> The exact error is: >>>>> >>>>> >>>>> */usr/bin/ld: cannot find /lib64/libc.so.6/usr/bin/ld: cannot find >>>>> /usr/lib64/libc_nonshared.acollect2: error: ld returned 1 exit status* >>>>> >>>>> Where is it trying to find those libraries? In my host system (they >> don't >>>>> exist!) or the system root of my build? The files *only* exist in my >>>> system >>>>> root @ >> */home/nick/poky/build/tmp/sysroots/custom_machine_name/usr/lib64 >>>> *and >>>>> */home/nick/poky/build/tmp/sysroots/custom_machine_name/lib64.* >>>>> >>>>> I suspect that this may be due to the fact that my custom machine conf >>>> is a >>>>> multilib configuration... >>>>> >>>>> Any further ideas? >>>>> >>>>> >>>>> On Tue, Nov 11, 2014 at 2:10 AM, Nick Krause <xerofoify@gmail.com> >>>> wrote: >>>>> >>>>>> On Mon, Nov 10, 2014 at 7:56 AM, Nick D'Ademo <nickdademo@gmail.com> >>>>>> wrote: >>>>>>> If I do the following (from the same Terminal that oe-init-build-env >>>> has >>>>>>> been run): >>>>>>> 1) cd >>>>>>> >>>>>> >>>> >> /home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build >>>>>>> 2) make menuconfig >>>>>>> >>>>>>> Menu config loads correctly. >>>>>>> >>>>>>> So for some reason, 'bitbake linux-yocto -c menuconfig' is not >> invoking >>>>>>> menuconfig properly. >>>>>>> >>>>>>> Any ideas where to look in regard to my custom machine config? >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Nov 10, 2014 at 10:11 PM, nick <xerofoify@gmail.com> wrote: >>>>>>>> >>>>>>>> Nick, >>>>>>>> Yes this is a issue with your custom machine and I believe this is a >>>>>> issue >>>>>>>> with your your machine >>>>>>>> conf is located in the build directories. >>>>>>>> Cheers Nick >>>>>>>> >>>>>>>> On 14-11-10 02:26 AM, Nick D'Ademo wrote: >>>>>>>>> menuconfig works with a core-image-minimal vanilla build: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> *Build Configuration:BB_VERSION = "1.24.0"BUILD_SYS >> = >>>>>>>>> "x86_64-linux"NATIVELSBSTRING = "Ubuntu-14.04"TARGET_SYS = >>>>>>>>> "arm-poky-linux-gnueabi"MACHINE = "qemuarm"DISTRO >>>>>> = >>>>>>>>> "poky"DISTRO_VERSION = "1.7"TUNE_FEATURES = "arm armv5 thumb >>>>>>>>> dsp"TARGET_FPU = "soft"meta meta-yocto >>>>>>>>> meta-yocto-bsp = >>>>>>>>> "master:45bb9e3323073070453647a32289dc1792f3d660"meta-oe >>>>>>>>> meta-multimedia meta-gnome = >>>>>>>>> "master:dac2422f737c351c37a8405a76b5f0b5df9311a0"* >>>>>>>>> >>>>>>>>> >>>>>>>>> So this must be an issue with my custom machine. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Nov 10, 2014 at 2:43 PM, nick <xerofoify@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Nick, >>>>>>>>>> Then this is an issue with your machine conf or paths required for >>>>>>>>>> kernel >>>>>>>>>> building. Are you able >>>>>>>>>> to build a poky distro with a working kernel and this is just a >>>> issue >>>>>>>>>> with >>>>>>>>>> you building the yocto >>>>>>>>>> kernel alone or can you also not build poky too? >>>>>>>>>> Cheers Nick >>>>>>>>>> >>>>>>>>>> On 14-11-09 10:36 PM, Nick D'Ademo wrote: >>>>>>>>>>> Just tried with the latest 3.17.2 kernel. 'make menuconfig' works >>>>>> fine >>>>>>>>>> and >>>>>>>>>>> loads the interactive kernel config. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Nov 10, 2014 at 2:01 PM, nick <xerofoify@gmail.com> >> wrote: >>>>>>>>>>> >>>>>>>>>>>> Try downloading a stock kernel for kernel.org and extract it in >>>>>> your >>>>>>>>>> home >>>>>>>>>>>> directory and run make menuconfig in >>>>>>>>>>>> the root of the kernel source tree, if this works then I am >>>>>> assuming >>>>>>>>>>>> either ncurses or your machine conf is wrong >>>>>>>>>>>> somewhere. >>>>>>>>>>>> Cheers Nick >>>>>>>>>>>> >>>>>>>>>>>> On 14-11-09 09:51 PM, Nick D'Ademo wrote: >>>>>>>>>>>>> Hi Nick, >>>>>>>>>>>>> >>>>>>>>>>>>> I removed build/tmp/ and performed a rebuild - I'm still >>>>>>>>>>>>> experiencing >>>>>>>>>> the >>>>>>>>>>>>> same error message unfortunately. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:58 PM, nick <xerofoify@gmail.com> >>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Seems to after reading and doing some research a build issue >>>> with >>>>>>>>>>>> multiple >>>>>>>>>>>>>> jobs or try running rm -r tmp in your >>>>>>>>>>>>>> build and then rebuild as it may be an issue with out of date >>>>>> temp >>>>>>>>>>>> files. >>>>>>>>>>>>>> Cheers Nick >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 14-11-09 08:51 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>> Thanks for trying that out Nick. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Issue is present on both 3.14 and 3.17 for me. >>>>>>>>>>>>>>> All paths in the require lines are correct too. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Any other ideas? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:46 PM, nick <xerofoify@gmail.com> >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I tried bitbake linux-yocto -c menuconfig on my own system >>>>>>>>>>>>>>>> running >>>>>>>>>> the >>>>>>>>>>>>>>>> same distro and it seems to my >>>>>>>>>>>>>>>> default use kernel 3.14 not 3.17 otherwise this seems be >> fine >>>>>>>>>>>>>>>> from >>>>>>>>>> my >>>>>>>>>>>>>>>> understanding. Also check all the >>>>>>>>>>>>>>>> paths in your require lines as there may be an issue with >> your >>>>>>>>>> builds >>>>>>>>>>>>>> and >>>>>>>>>>>>>>>> the path set up by these files >>>>>>>>>>>>>>>> that you are linking to for your kernel build. >>>>>>>>>>>>>>>> Nick >>>>>>>>>>>>>>>> On 14-11-09 08:40 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>> Thanks Nick. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Machine conf is as follows (it's actually nearly identical >> to >>>>>>>>>>>> nuc.conf >>>>>>>>>>>>>> - >>>>>>>>>>>>>>>>> however, BT support, multilib, and preferred providers have >>>>>> been >>>>>>>>>>>>>> added): >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> #@TYPE: Machine >>>>>>>>>>>>>>>>> #@NAME: chiefriver >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> #@WEBTITLE: Intel Next Unit of Computing (NUC) Model: >>>>>> DC3217IYE >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> #@DESCRIPTION: Machine configuration for Intel NUC model >>>>>>>>>>>>>>>>> DC3217IYE >>>>>>>>>>>>>>>>> # i.e. Ivy Bridge + Panther Point >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> PREFERRED_VERSION_linux-yocto ?= "3.17%" >>>>>>>>>>>>>>>>> MACHINE_FEATURES += "va-impl-intel wifi efi bluetooth" >>>>>>>>>>>>>>>>> MACHINE_FEATURES += "intel-ucode" >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> require conf/machine/include/meta-intel.inc >>>>>>>>>>>>>>>>> require conf/machine/include/intel-corei7-64-common.inc >>>>>>>>>>>>>>>>> require conf/machine/include/intel-common-pkgarch.inc >>>>>>>>>>>>>>>>> require multilib.conf >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> MACHINE_HWCODECS ?= "va-intel gst-va-intel" >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> XSERVER ?= "${XSERVER_X86_BASE} \ >>>>>>>>>>>>>>>>> ${XSERVER_X86_EXT} \ >>>>>>>>>>>>>>>>> ${XSERVER_X86_I965} \ >>>>>>>>>>>>>>>>> " >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> MACHINE_EXTRA_RRECOMMENDS += >>>> "linux-firmware-iwlwifi-6000g2b-6 >>>>>>>>>> lms8" >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> # disable the serial port configuration >>>>>>>>>>>>>>>>> SERIAL_CONSOLE = "" >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg = "jpeg" >>>>>>>>>>>>>>>>> PREFERRED_PROVIDER_jpeg-native = "jpeg-native" >>>>>>>>>>>>>>>>> PREFERRED_PROVIDER_virtual/fftw = "fftw" >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:36 PM, nick < >> xerofoify@gmail.com> >>>>>>>>>> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Hey Nick, >>>>>>>>>>>>>>>>>> This seems to then be an issue with incorrect paths or >> build >>>>>>>>>>>>>> information >>>>>>>>>>>>>>>>>> in your nuc.conf >>>>>>>>>>>>>>>>>> as the most likely culprit. If you can post your machine's >>>>>> conf >>>>>>>>>>>> file I >>>>>>>>>>>>>>>>>> will be glad to see >>>>>>>>>>>>>>>>>> if there are any issues I can spot. >>>>>>>>>>>>>>>>>> Nick >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On 14-11-09 08:33 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>>>> 1) source oe-init-build-env is run before building. >>>>>>>>>>>>>>>>>>> 2) We are actually using a custom machine .conf based on >>>>>>>>>> nuc.conf, >>>>>>>>>>>> so >>>>>>>>>>>>>>>>>>> actually: MACHINE = "custom_machine_name". I replaced it >>>>>> with >>>>>>>>>> "nuc" >>>>>>>>>>>>>> in >>>>>>>>>>>>>>>>>> this >>>>>>>>>>>>>>>>>>> post to avoid confusion. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:25 PM, nick < >>>> xerofoify@gmail.com >>>>>>> >>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Do you run source oe-init-build-env before building and >>>> why >>>>>>>>>>>>>>>>>>>> is >>>>>>>>>>>> your >>>>>>>>>>>>>>>>>> machine >>>>>>>>>>>>>>>>>>>> set to nuc seems this may be an issue? >>>>>>>>>>>>>>>>>>>> Nick >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On 14-11-09 08:15 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>>>>>> Thanks for the quick reply Nick. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Host system is Ubuntu 14.04. ncurses is already >>>> installed: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> sudo apt-get install libncurses5-dev >>>>>>>>>>>>>>>>>>>>> Reading package lists... Done >>>>>>>>>>>>>>>>>>>>> Building dependency tree >>>>>>>>>>>>>>>>>>>>> Reading state information... Done >>>>>>>>>>>>>>>>>>>>> libncurses5-dev is already the newest version. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On Mon, Nov 10, 2014 at 12:09 PM, nick < >>>>>> xerofoify@gmail.com> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Check to see if you actuality have it installed on >> your >>>>>>>>>>>>>>>>>>>>>> host >>>>>>>>>>>>>> system >>>>>>>>>>>>>>>>>> for >>>>>>>>>>>>>>>>>>>>>> your package manager. >>>>>>>>>>>>>>>>>>>>>> The library for ncurses for compiling the kernel is >>>>>>>>>>>>>>>>>>>>>> different >>>>>>>>>>>>>> based >>>>>>>>>>>>>>>> on >>>>>>>>>>>>>>>>>>>>>> your distro, check >>>>>>>>>>>>>>>>>>>>>> your distro's installer and install the correct >> ncurses >>>>>>>>>> package >>>>>>>>>>>>>>>> first. >>>>>>>>>>>>>>>>>>>> If >>>>>>>>>>>>>>>>>>>>>> this is still an >>>>>>>>>>>>>>>>>>>>>> issue please reply with a newer error message. >>>>>>>>>>>>>>>>>>>>>> Cheers Nick >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >>>>>>>>>>>>>>>>>>>>>>> Getting a strange error when attempting to configure >>>> the >>>>>>>>>> Yocto >>>>>>>>>>>>>>>> Linux >>>>>>>>>>>>>>>>>>>>>> kernel >>>>>>>>>>>>>>>>>>>>>>> via: bitbake linux-yocto -c menuconfig. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Does anyone have any ideas? (error message below) >>>>>>>>>>>>>>>>>>>>>>> Much appreciated. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Build Configuration: >>>>>>>>>>>>>>>>>>>>>>> BB_VERSION = "1.24.0" >>>>>>>>>>>>>>>>>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>>>>>>>>>>>>>>>>> NATIVELSBSTRING = "Ubuntu-14.04" >>>>>>>>>>>>>>>>>>>>>>> TARGET_SYS = "x86_64-poky-linux" >>>>>>>>>>>>>>>>>>>>>>> MACHINE = "nuc" >>>>>>>>>>>>>>>>>>>>>>> DISTRO = "poky" >>>>>>>>>>>>>>>>>>>>>>> DISTRO_VERSION = "1.7" >>>>>>>>>>>>>>>>>>>>>>> TUNE_FEATURES = "m64 corei7" >>>>>>>>>>>>>>>>>>>>>>> TARGET_FPU = "" >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> *make[1]: Entering directory >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>> >>>> >> `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >>>>>>>>>>>>>>>>>>>>>>> GEN ./Makefile *** Unable to find the ncurses >>>>>>>>>>>>>>>>>>>>>>> libraries >>>>>>>>>> or >>>>>>>>>>>>>> the >>>>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>>>>> required header files. *** 'make menuconfig' requires >>>>>> the >>>>>>>>>>>> ncurses >>>>>>>>>>>>>>>>>>>>>>> libraries. *** *** Install ncurses (ncurses-devel) >> and >>>>>>>>>>>>>>>>>>>>>>> try >>>>>>>>>>>>>> again. >>>>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>>>>> make[3]: *** [scripts/kconfig/dochecklxdialog] Error >>>>>>>>>> 1make[2]: >>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>>>>> [menuconfig] Error 2make[1]: *** [sub-make] Error >>>> 2make: >>>>>>>>>>>>>>>>>>>>>>> *** >>>>>>>>>>>>>>>>>>>> [__sub-make] >>>>>>>>>>>>>>>>>>>>>>> Error 2Command failed.Press any key to continue... * >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>> >>>>>>> >>>>>> Clearly your machine config is not in the correct directory or the >>>>>> layers needed for you machine config are not being correctly >>>>>> configured. Look at the Yocto Manual on writing Board Support Scripts >>>>>> for more information. >>>>>> Cheers Nick >>>>>> >>>>> >>>> >>> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:15 ` Nick D'Ademo 2014-11-10 1:25 ` nick @ 2014-11-10 1:31 ` Bob Cochran 2014-11-10 1:33 ` nick 2014-11-10 1:42 ` Nick D'Ademo 1 sibling, 2 replies; 25+ messages in thread From: Bob Cochran @ 2014-11-10 1:31 UTC (permalink / raw) To: yocto On 11/09/2014 08:15 PM, Nick D'Ademo wrote: > Thanks for the quick reply Nick. > > Host system is Ubuntu 14.04. ncurses is already installed: > > sudo apt-get install libncurses5-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > libncurses5-dev is already the newest version. Oh boy, I've seen this before. I seem to remember this being caused by a problem with the path setup or something in the environment and maybe not being able to find the scripts folder or reaching a wrong folder first. How are you setting up your environment before invoking bitbake? Were you using the ADT? If so check out cross compiling the kernel here: http://www.openembedded.org/wiki/SDK/Toolchain/Application_Developer_Toolkit > > > On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com > <mailto:xerofoify@gmail.com>> wrote: > > Check to see if you actuality have it installed on your host system > for your package manager. > The library for ncurses for compiling the kernel is different based > on your distro, check > your distro's installer and install the correct ncurses package > first. If this is still an > issue please reply with a newer error message. > Cheers Nick > > On 14-11-09 08:05 PM, Nick D'Ademo wrote: > > Getting a strange error when attempting to configure the Yocto Linux kernel > > via: bitbake linux-yocto -c menuconfig. > > > > Does anyone have any ideas? (error message below) > > Much appreciated. > > > > Build Configuration: > > BB_VERSION = "1.24.0" > > BUILD_SYS = "x86_64-linux" > > NATIVELSBSTRING = "Ubuntu-14.04" > > TARGET_SYS = "x86_64-poky-linux" > > MACHINE = "nuc" > > DISTRO = "poky" > > DISTRO_VERSION = "1.7" > > TUNE_FEATURES = "m64 corei7" > > TARGET_FPU = "" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *make[1]: Entering directory > > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' > > GEN ./Makefile *** Unable to find the ncurses libraries or the *** > > required header files. *** 'make menuconfig' requires the ncurses > > libraries. *** *** Install ncurses (ncurses-devel) and try again. *** > > make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** > > [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** [__sub-make] > > Error 2Command failed.Press any key to continue... * > > > > > > > > > > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:31 ` Bob Cochran @ 2014-11-10 1:33 ` nick 2014-11-10 1:42 ` Nick D'Ademo 1 sibling, 0 replies; 25+ messages in thread From: nick @ 2014-11-10 1:33 UTC (permalink / raw) To: Bob Cochran, yocto That would make sense and that's why I suggested running oe-init-env in order to make sure the path are correct before building. Cheers Nick On 14-11-09 08:31 PM, Bob Cochran wrote: > On 11/09/2014 08:15 PM, Nick D'Ademo wrote: >> Thanks for the quick reply Nick. >> >> Host system is Ubuntu 14.04. ncurses is already installed: >> >> sudo apt-get install libncurses5-dev >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libncurses5-dev is already the newest version. > > > Oh boy, I've seen this before. I seem to remember this being caused by a problem with the path setup or something in the environment and maybe not being able to find the scripts folder or reaching a wrong folder first. > > How are you setting up your environment before invoking bitbake? > > Were you using the ADT? If so check out cross compiling the kernel here: http://www.openembedded.org/wiki/SDK/Toolchain/Application_Developer_Toolkit > > > >> >> >> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com >> <mailto:xerofoify@gmail.com>> wrote: >> >> Check to see if you actuality have it installed on your host system >> for your package manager. >> The library for ncurses for compiling the kernel is different based >> on your distro, check >> your distro's installer and install the correct ncurses package >> first. If this is still an >> issue please reply with a newer error message. >> Cheers Nick >> >> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >> > Getting a strange error when attempting to configure the Yocto Linux kernel >> > via: bitbake linux-yocto -c menuconfig. >> > >> > Does anyone have any ideas? (error message below) >> > Much appreciated. >> > >> > Build Configuration: >> > BB_VERSION = "1.24.0" >> > BUILD_SYS = "x86_64-linux" >> > NATIVELSBSTRING = "Ubuntu-14.04" >> > TARGET_SYS = "x86_64-poky-linux" >> > MACHINE = "nuc" >> > DISTRO = "poky" >> > DISTRO_VERSION = "1.7" >> > TUNE_FEATURES = "m64 corei7" >> > TARGET_FPU = "" >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > *make[1]: Entering directory >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common-poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >> > GEN ./Makefile *** Unable to find the ncurses libraries or the *** >> > required header files. *** 'make menuconfig' requires the ncurses >> > libraries. *** *** Install ncurses (ncurses-devel) and try again. *** >> > make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** >> > [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** [__sub-make] >> > Error 2Command failed.Press any key to continue... * >> > >> > >> > >> >> >> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Unable to find the ncurses libraries when running menuconfig 2014-11-10 1:31 ` Bob Cochran 2014-11-10 1:33 ` nick @ 2014-11-10 1:42 ` Nick D'Ademo 1 sibling, 0 replies; 25+ messages in thread From: Nick D'Ademo @ 2014-11-10 1:42 UTC (permalink / raw) To: Bob Cochran; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 3322 bytes --] Thanks Bob - glad to hear I'm not the first to see this! Not using the ADT and 'source oe-init-build-env' is run before building. On Mon, Nov 10, 2014 at 12:31 PM, Bob Cochran <yocto@mindchasers.com> wrote: > On 11/09/2014 08:15 PM, Nick D'Ademo wrote: > >> Thanks for the quick reply Nick. >> >> Host system is Ubuntu 14.04. ncurses is already installed: >> >> sudo apt-get install libncurses5-dev >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libncurses5-dev is already the newest version. >> > > > Oh boy, I've seen this before. I seem to remember this being caused by a > problem with the path setup or something in the environment and maybe not > being able to find the scripts folder or reaching a wrong folder first. > > How are you setting up your environment before invoking bitbake? > > Were you using the ADT? If so check out cross compiling the kernel here: > http://www.openembedded.org/wiki/SDK/Toolchain/ > Application_Developer_Toolkit > > > > >> >> On Mon, Nov 10, 2014 at 12:09 PM, nick <xerofoify@gmail.com >> <mailto:xerofoify@gmail.com>> wrote: >> >> Check to see if you actuality have it installed on your host system >> for your package manager. >> The library for ncurses for compiling the kernel is different based >> on your distro, check >> your distro's installer and install the correct ncurses package >> first. If this is still an >> issue please reply with a newer error message. >> Cheers Nick >> >> On 14-11-09 08:05 PM, Nick D'Ademo wrote: >> > Getting a strange error when attempting to configure the Yocto >> Linux kernel >> > via: bitbake linux-yocto -c menuconfig. >> > >> > Does anyone have any ideas? (error message below) >> > Much appreciated. >> > >> > Build Configuration: >> > BB_VERSION = "1.24.0" >> > BUILD_SYS = "x86_64-linux" >> > NATIVELSBSTRING = "Ubuntu-14.04" >> > TARGET_SYS = "x86_64-poky-linux" >> > MACHINE = "nuc" >> > DISTRO = "poky" >> > DISTRO_VERSION = "1.7" >> > TUNE_FEATURES = "m64 corei7" >> > TARGET_FPU = "" >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > *make[1]: Entering directory >> > `/home/nick/poky/build/tmp/work/corei7-64-intel-common- >> poky-linux/linux-yocto/3.17.1+gitAUTOINC+b86dd5c6f4_ >> 0caf16d385-r0/linux-corei7-64-intel-common-standard-build' >> > GEN ./Makefile *** Unable to find the ncurses libraries or the >> *** >> > required header files. *** 'make menuconfig' requires the ncurses >> > libraries. *** *** Install ncurses (ncurses-devel) and try again. >> *** >> > make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1make[2]: *** >> > [menuconfig] Error 2make[1]: *** [sub-make] Error 2make: *** >> [__sub-make] >> > Error 2Command failed.Press any key to continue... * >> > >> > >> > >> >> >> >> >> > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > [-- Attachment #2: Type: text/html, Size: 4925 bytes --] ^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2014-11-13 1:15 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 1:05 Unable to find the ncurses libraries when running menuconfig Nick D'Ademo
2014-11-10 1:09 ` nick
2014-11-10 1:15 ` Nick D'Ademo
2014-11-10 1:25 ` nick
[not found] ` <CANR6C57voYqR9t-7P-=qUuudn6t7u=PFgGcWTy92xUUOy4H-Kw@mail.gmail.com>
2014-11-10 1:36 ` nick
2014-11-10 1:40 ` Nick D'Ademo
[not found] ` <546018F8.2030201@gmail.com>
2014-11-10 1:51 ` Nick D'Ademo
2014-11-10 1:58 ` nick
2014-11-10 2:51 ` Nick D'Ademo
2014-11-10 3:01 ` nick
2014-11-10 3:36 ` Nick D'Ademo
2014-11-10 3:43 ` nick
2014-11-10 7:26 ` Nick D'Ademo
2014-11-10 11:11 ` nick
2014-11-10 12:56 ` Nick D'Ademo
2014-11-10 15:10 ` Nick Krause
2014-11-11 11:23 ` Nick D'Ademo
2014-11-11 14:18 ` nick
2014-11-11 14:37 ` Nick D'Ademo
2014-11-11 14:49 ` nick
2014-11-13 1:12 ` Nick D'Ademo
2014-11-13 1:15 ` nick
2014-11-10 1:31 ` Bob Cochran
2014-11-10 1:33 ` nick
2014-11-10 1:42 ` Nick D'Ademo
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.