Can you add a link to the source bundle you downloaded.

On Thu, Oct 20, 2022 at 10:22 AM w...@comcast.net <w...@comcast.net> wrote:

> I can't compile wireshark version 4.0 on Raspberry Pi ubuntu 22.04
>
> Here is the error from make.
>
> I've attached cmake success and make error logs.txt, CMakeError.log and
> CMakeOutput.log
>
> [ 84%] Building CXX object ui/qt/CMakeFiles/qtui.dir/sequence_dialog.cpp.o
> [ 84%] Building CXX object
> ui/qt/CMakeFiles/qtui.dir/service_response_time_dialog.cpp.o
> [ 84%] Building CXX object
> ui/qt/CMakeFiles/qtui.dir/show_packet_bytes_dialog.cpp.o
> /home/wptracy/wireshark/ui/qt/show_packet_bytes_dialog.cpp: In member
> function ‘void ShowPacketBytesDialog::symbolizeBuffer(QByteArray&)’:
> /home/wptracy/wireshark/ui/qt/show_packet_bytes_dialog.cpp:474:20: error:
> comparison is always false due to limited range of data type
> [-Werror=type-limits]
>   474 |         if ((ba[i] < '\0' || ba[i] >= ' ') && ba[i] != (char)0x7f
> && !g_ascii_isprint(ba[i])) {
> cc1plus: all warnings being treated as errors
> make[2]: *** [ui/qt/CMakeFiles/qtui.dir/build.make:1806:
> ui/qt/CMakeFiles/qtui.dir/show_packet_bytes_dialog.cpp.o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:10816: ui/qt/CMakeFiles/qtui.dir/all]
> Error 2
> make: *** [Makefile:146: all] Error 2
> wptracy@wptracy-desktop:~/wireshark/build$
>
> I have these libraries installed:
>
> wptracy@wptracy-desktop:~/wireshark/build$ sudo apt install gcc \
>         g++\
>         libglib2.0-dev \
>         libc-ares-dev \
>         libpcap-dev \
>         libpcre2-dev \
>         flex \
>         make \
>         python3 \
>         libgcrypt-dev\
>         qttools5-dev \
>         qttools5-dev-tools \
>         libqt5svg5-dev \
>         qtmultimedia5-dev \
>         qtbase5-dev \
>         qtchooser \
>         qt5-qmake \
>         qtbase5-dev-tools\
>         qt6-base-dev \
>         qt6-multimedia-dev \
>         qt6-tools-dev \
>         qt6-tools-dev-tools \
>         qt6-l10n-tools \
>         libqt6core5compat6-dev \
>         libxkbcommon-dev
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Note, selecting 'libgcrypt20-dev' instead of 'libgcrypt-dev'
> flex is already the newest version (2.6.4-8build2).
> g++ is already the newest version (4:11.2.0-1ubuntu1).
> gcc is already the newest version (4:11.2.0-1ubuntu1).
> libc-ares-dev is already the newest version (1.18.1-1build1).
> libgcrypt20-dev is already the newest version (1.9.4-3ubuntu3).
> libglib2.0-dev is already the newest version (2.72.1-1).
> libpcap-dev is already the newest version (1.10.1-4build1).
> libvulkan-dev is already the newest version (1.3.204.1-2).
> libxkbcommon-dev is already the newest version (1.4.0-1).
> make is already the newest version (4.3-4.1build1).
> freeglut3-dev is already the newest version (2.8.1-6).
> libqt5svg5-dev is already the newest version (5.15.3-1).
> libqt6core5compat6-dev is already the newest version (6.2.4-1).
> qt6-base-dev is already the newest version (6.2.4+dfsg-2ubuntu1).
> qt6-l10n-tools is already the newest version (6.2.4-1).
> qt6-multimedia-dev is already the newest version (6.2.4-1).
> qt6-tools-dev is already the newest version (6.2.4-1).
> qt6-tools-dev-tools is already the newest version (6.2.4-1).
> qtchooser is already the newest version (66-2build1).
> qtmultimedia5-dev is already the newest version (5.15.3-1).
> qttools5-dev is already the newest version (5.15.3-1).
> qttools5-dev-tools is already the newest version (5.15.3-1).
> libpcre2-dev is already the newest version (10.39-3ubuntu0.1).
> python3 is already the newest version (3.10.6-1~22.04).
> qt5-qmake is already the newest version (5.15.3+dfsg-2ubuntu0.2).
> qtbase5-dev is already the newest version (5.15.3+dfsg-2ubuntu0.2).
> qtbase5-dev-tools is already the newest version (5.15.3+dfsg-2ubuntu0.2).
> 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
> wptracy@wptracy-desktop:~/wireshark/build$
>
> --
> Pat Tracy | +1 303-933-9035
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-requ...@wireshark.org
> ?subject=unsubscribe
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to