Hi,
We are testing i.MX8 with below environment.
[Environment]
Evaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.)
Linux for i.MX : Linux 5.4.70_2.3.0
We would like to add "wireshark" in our OS image.
However, we encountered the error of do_configure when we build wireshark.
------------------------------------------------------------------------------
$ bitbake wireshark
...
-- Looking for pcap_open
-- Looking for pcap_open - not found
-- Found SYSTEMD: /home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/lib/libsystemd.so (found version "243")
CMake Error at /home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:31 (message):
The imported target "Qt5::Multimedia" references the file
"/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/usr/lib/plugins/videoimx6vivantevideonode"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVivanteVideoNodeFactory.cmake"
but not all the files it references.
Call Stack (most recent call first):
/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:244 (_qt5_Multimedia_check_file_exists)
/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5Multimedia_QSGVivanteVideoNodeFactory.cmake:5 (_populate_Multimedia_plugin_properties)
/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/recipe-sysroot/usr/lib/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake:253 (include)
CMakeLists.txt:1073 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/imx-yocto-bsp/build-xwayland/tmp/work/aarch64-poky-linux/wireshark/1_3.0.8-r0/build/CMakeFiles/CMakeError.log".
WARNING: exit code 1 from a shell command.
------------------------------------------------------------------------------
The following log is in log.do_configure of qtmultimedia.
------------------------------------------------------------------------------
Checking for Vivante GPU... yes
------------------------------------------------------------------------------
This setting may cause this error?
Do we need to change configuration setting?
If so, what items do we change?
Could you please let us know how to build wireshark?
Any help would be appreciated.
Thank you.
Best regards,
已解决! 转到解答。
Hi Zhiming,
Thank you for your reply.
You mean you add IMAGE_INSTALL_append = "wireshark" to local.conf, then build imx-image-full successfully?
In our environment, the error occurred when building wireshark.
Can you build only wireshark with "bitbake wireshark" successfully?
We cannot build in our environment.
Best regards,