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,
解決済! 解決策の投稿を見る。
We can build Wireshark successfully with new version.
Our solution is only to get wireshark_3.2.7.bb from Linux 5.10.35_2.0.0 and replace old version with new version.
We can build Wireshark successfully with new version.
Our solution is only to get wireshark_3.2.7.bb from Linux 5.10.35_2.0.0 and replace old version with new version.
Hi
I build it successfully,did you build imx-image-full?
Best Regards
Zhiming
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,
I didn't add IMAGE_INSTALL_append = "wireshark" to local.conf
Just bitbake wireshark after i made image
Thank you for your information.
We will do clean and try to build again.
Could you please let us know the setting "DISTRO"?
We set "DISTRO=fsl-imx-xwayland", and build.
Best regards,
Yes, it is DISTRO=fsl-imx-xwayland
We cleaned and built again.
But we cannot build successfully.
We used "Linux 5.4.70_2.3.0" and set "MACHINE=imx8mmevk", "DISTRO= fsl-imx-xwayland".
Could you please let us know your version and settings?
Our error log is attached.
Do we need to change any settings or configure?
Best regards,