Anybody building Wireshark 3.1 under Cygwin using gcc 7.4.0 ?
I'm in fact in the work of it, but some errors appeared. Some of them I was able to get around with ad hoc modification of souces, but finally I stacked on:
[ 91%] Linking CXX executable run/wireshark.exe
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: final link failed: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/wireshark.dir/build.make:604: run/wireshark.exe] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:914: CMakeFiles/wireshark.dir/all] Błąd 2
These are the changes:
In "file_util.h":
"editcap.c", "ftype-time.c" (for strptime):
"…/dissectors/packet-s1ap.c": warning error: argument ‘offset’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered].
So, in file "epan/dissectors/CMakeList.txt":
In file "interface_toolbar_reader.cpp":
Building Wireshark using Cywin isn't a supported option, so you're on your own.
There is a buildable Windows version using Visual Studio Community editions, so what are you trying to achieve building under Cygwin?
Grahamb - It'a simply :-) Because my boss doesn't like Microsoft license restrictions.
I hope you're being paid well to try to achieve this, good luck.
What are the perceived licence restrictions as regards to Wireshark on Windows built using VC? I ask as I'm not aware of any.
Using for "commercial use" is not perfectly precised :-/ My firm made only linux software, but we need Windows Wireshark with our plugins for internal testing.
By the way, why there is no suport for Cygwin? It looks like not to much left to do.