https://www.wireshark.org/download.html
The current stable release of Wireshark is 4.0.0.
https://1.na.dl.wireshark.org/src/wireshark-4.0.0.tar.xz

On Fri, Oct 21, 2022 at 10:29 AM w...@comcast.net <w...@comcast.net> wrote:

> Gerald,
>
> It's a development build.  Where do I get the production build.
> I followed your instructions at:
>
> https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcObtain
>
> https://www.wireshark.org/docs/wsdg_html_chunked/ChapterSetup#ChSetupUNIX
>
> tools/debian-setup.sh --install-all
>
> mkdir build
>
> cd build
>
> cmake -G Ninja ..
>
> ninja
>
> It error-ed again, cc1plus: all warnings being treated as errors
> so...
>
> I looked at CMakeOptions.txt
> and changed "option(ENABLE_WERROR     "Treat warnings as errors" ON)" to
> option(ENABLE_WERROR     "Treat warnings as errors" OFF)
>
> mkdir build
>
> cd build
>
> cmake -G Ninja ..
>
> ninja
>
> it crashed the system at [2434/2541] Building CXX object
> ui/qt/.../qtui.dir/wlan_statistics_dialog.cpp.o
>
> I think I ran out of Swap.  I increased swap from 1G to 4G and tried again.
>
> It compiled with errors but I can't install it.  HELP!!
>
> wptracy@wptracy-desktop:~/wireshark/build$ sudo make install
> make: *** No rule to make target 'install'.  Stop.
>
> wptracy@wptracy-desktop:~/wireshark/build$
>
> wptracy@wptracy-desktop:~$ wireshark
> wireshark: error while loading shared libraries: libwireshark.so.0: cannot
> open shared object file: No such file or directory
> wptracy@wptracy-desktop:~$
>
> wptracy@wptracy-desktop:~/wireshark/build$ run/wireshark
>
> It appears to be working, even with the error.  I don't know what doesn't
> work.
>
> It's a development build.  Where do I get the production build.
>
> It compiles on x64 ubuntu without errors, but not on Raspberry Pi arch
> aarch64 ubuntu
>
> [2412/2541] Building CXX object 
> ui/qt/...tui.dir/show_packet_bytes_dialog.cpp.o
> FAILED: ui/qt/CMakeFiles/qtui.dir/show_packet_bytes_dialog.cpp.o
> /usr/bin/c++ -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES 
> -DQT_CONCURRENT_LIB
> -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB 
> -DQT_MULTIMEDIA_LIB
> -DQT_NETWORK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DWS_DEBUG_UTF_8
> -I/home/wptracy/wireshark/build/ui/qt/qtui_autogen/include
> -I/home/wptracy/wireshark/build -I/home/wptracy/wireshark 
> -I/home/wptracy/wireshark/include
> -isystem /usr/include/glib-2.0 -isystem 
> /usr/lib/aarch64-linux-gnu/glib-2.0/include
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtCore -isystem 
> /usr/include/aarch64-linux-gnu/qt6
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtGui -isystem 
> /usr/include/aarch64-linux-gnu/qt6/QtDBus
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtPrintSupport
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtWidgets
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtConcurrent
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtCore5Compat
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtMultimedia
> -isystem /usr/include/aarch64-linux-gnu/qt6/QtNetwork -isystem 
> /home/wptracy/wireshark/build/ui/qt
> -isystem /home/wptracy/wireshark/ui/qt -fexcess-precision=fast -Wall -Wextra 
> -Wendif-labels
> -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla 
> -Waddress -Wattributes
> -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings 
> -Wno-long-long
> -Wredundant-decls -Wno-error=maybe-uninitialized 
> -Wno-error=alloc-size-larger-than=
> -Wno-error=stringop-overflow= -Wno-format-truncation 
> -Wno-error=deprecated-declarations
> -Wframe-larger-than=32768 -fdiagnostics-color=always -Wextra-semi
> -fmacro-prefix-map=/home/wptracy/wireshark/= 
> -fmacro-prefix-map=/home/wptracy/wireshark/build/=
> -fmacro-prefix-map=../= -O2 -g -DNDEBUG -fPIC -std=c++17
> -Werror -MD -MT ui/qt/CMakeFiles/qtui.dir/show_packet_bytes_dialog.cpp.o
> -MF ui/qt/CMakeFiles/qtui.dir/show_packet_bytes_dialog.cpp.o.d
> -o ui/qt/CMakeFiles/qtui.dir/show_packet_bytes_dialog.cpp.o
> -c /home/wptracy/wireshark/ui/qt/show_packet_bytes_dialog.cpp
> /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
> [2417/2541] Building CXX object 
> ui/qt/CMakeFiles/qtui.dir/sequence_dialog.cpp.o
> ninja: build stopped: subcommand failed.
>
> Pat Tracy | +1 303.933.9035
>
> On 10/20/22 11:19, Gerald Combs wrote:
>
> On 10/20/22 9:54 AM, Fulko Hew wrote:
>
> [ ... ]
>
> Now how to fix it is another story.
> My first crack at it would be to disable that warning.
> My second approach would be to correct that test (as appropriate).
>
>
> Another question might be why this is an error instead of a warning.
> ENABLE_WERROR is enabled by default in CMakeOptions.txt in master, but it's
> disabled in the release branches.
>
> ___________________________________________________________________________
> 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