bitbake failed with libunistring not found error on IMX8MN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

bitbake failed with libunistring not found error on IMX8MN

997件の閲覧回数
Steven3000
Contributor I

Hi Gentlemen / Ladies

I am working on imx8mn with 

- imx 4.14.98.2.3.3

- VMware 16 player with Ubuntu 18.04 (kernle 5.4.097 - gerneric)

I got errors "*** Libunistring was not found. To use the included one, use --with-included-unistring " with gnutls packages in bitbaking.  The more detailed error messages are below

| checking if the linker (aarch64-poky-linux-ld --sysroot=/home/steven/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/gnutls/3.6.1-r0/recipe-sysroot ) is GNU ld... yes
| checking for shared library run path origin... done
| checking for CFPreferencesCopyAppValue... no
| checking for CFLocaleCopyCurrent... no
| checking for GNU gettext in libc... yes
| checking whether to use NLS... yes
| checking where the gettext function comes from... libc
| checking whether byte ordering is bigendian... (cached) no
| checking for fork... (cached) yes
| checking for setitimer... (cached) yes
| checking for inet_ntop... (cached) yes
| checking for inet_pton... (cached) yes
| checking for getrusage... (cached) yes
| checking for getpwuid_r... (cached) yes
| checking for nanosleep... (cached) yes
| checking for daemon... (cached) yes
| checking for getpid... (cached) yes
| checking for clock_gettime... yes
| checking for localtime... (cached) yes
| checking for fmemopen... yes
| checking for vasprintf... (cached) yes
| checking for mmap... (cached) yes
| checking for fmemopen... (cached) yes
| checking for __register_atfork... yes
| checking for secure_getenv... yes
| checking for libseccomp... (cached) no
| checking for libcrypto... no
| checking for librt... yes
| checking how to link with librt... -lrt
| checking for pthread_mutex_lock... (cached) yes
| checking for libunistring... no
| configure: error:
| ***
| *** Libunistring was not found. To use the included one, use --with-included-unistring
|
| NOTE: The following config.log files may provide further information.
| NOTE: /home/steven/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/gnutls/3.6.1-r0/build/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/steven/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/gnutls/3.6.1-r0/temp/log.do_configure.87563)
ERROR: Task (/home/steven/imx-yocto-bsp/sources/poky/meta/recipes-support/gnutls/gnutls_3.6.1.bb:do_configure) failed with exit code '1'

 

The solution with "bitbake -c cleansstate gnutls"  "bitbake gnutls" gave me the same error message

as another solution in Solved: Re: Failed to build yocto for imx8m-evk - NXP Community 

 

Could you please help?

 

Steven

0 件の賞賛
返信
3 返答(返信)

978件の閲覧回数
Steven3000
Contributor I

Hi 

Thank you, but I have already tried with these commands, which gave me the same error messages.  Is there any other things to try?

Steven

0 件の賞賛
返信

986件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Steven3000,

Try to delete this and build again:

"bitbake -c cleansstate gnutls"

"bitbake gnutls"

Regards

0 件の賞賛
返信

961件の閲覧回数
Steven3000
Contributor I

Hi 

 

 Thank you for the reply, but I have already tried these command, which gave me the same error messages.

 

Steven

0 件の賞賛
返信