22.04 is too new for hardknott which was EOL'ed a year ago. Always
check the tested distributions sections in manual for a given release.
In your case

https://github.com/yoctoproject/poky/blob/hardknott/documentation/ref-manual/system-requirements.rst#supported-linux-distributions

On Wed, May 24, 2023 at 5:04 AM Mahendra Sondagar
<[email protected]> wrote:
>
> Hi.. community
>
> Hope all are doing well
>
>
>
> I'm dealing with the Yocto hardknott with my Ubuntu host
>
> The Ubuntu version is Ubuntu 22.04.2 LTS
>
>
>
> During the building of the custom image, everything goes well until the build 
> process hits the below error message
>
>
>
> | make  -f CMakeFiles/Makefile2 preinstall
>
> | make[1]: Entering directory 
> '/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
>
> | make[1]: Nothing to be done for 'preinstall'.
>
> | make[1]: Leaving directory 
> '/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/build'
>
> | ERROR: oe_runmake failed
>
> | Install the project...
>
> | bin/cmake -P cmake_install.cmake
>
> | WARNING: exit code 1 from a shell command.
>
> | bin/cmake: 
> /home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/sysroots-uninative/x86_64-linux/usr/lib/libstdc++.so.6:
>  version `GLIBCXX_3.4.30' not found (required by bin/cmake)
>
> | make: *** [Makefile:162: install] Error 1
>
> | ERROR: 
> ExecutionError('/home/aio/AIO_Systems_Yocto/var-fslc-yocto/build_aio/tmp/work/x86_64-linux/cmake-native/3.19.5-r0/temp/run.do_install.194605',
>  1, None, None)
>
>
>
> for instance, I have also verified the installed version of the GLIBC via the 
> below command
>
> strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
>
>
>
> From where I got to know that, it's already installed!
>
>
>
> Can anyone help me here to resolve the issue?
>
> All comments and suggestions welcome
>
>
>
> Thanks
> Mahendra
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60111): https://lists.yoctoproject.org/g/yocto/message/60111
Mute This Topic: https://lists.yoctoproject.org/mt/99106807/21656
Mute #hardknott:https://lists.yoctoproject.org/g/yocto/mutehashtag/hardknott
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to