Wireshark mailing list archives

Re: error building wireshark-2.6.2 on RHEL 7.3


From: Richard Sharpe <realrichardsharpe () gmail com>
Date: Mon, 30 Jul 2018 06:10:50 -0700

On Mon, Jul 30, 2018 at 5:43 AM, Shahar Keren (shkeren) via
Wireshark-dev <wireshark-dev () wireshark org> wrote:
Hi

I am trying to install latest stable release on my RH.

according to err log -

/bin/c++    -fexcess-precision=fast  -DCXX__Wcomma_VALID -fPIE
-fexcess-precision=fast -Wcomma -o
CMakeFiles/cmTryCompileExec4287660239.dir/src.cxx.o -c
/tmp/build/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-Wcomma'
gmake[1]: *** [CMakeFiles/cmTryCompileExec4287660239.dir/src.cxx.o] Error 1
gmake[1]: Leaving directory `/tmp/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec4287660239/fast] Error 2

I do not see specific c++ requirements in dev guide lib reference.
stdout and stderr logs attached.

Works for me and I am using gcc-c++-4.8.5-28. Perhaps yum upgrade
gcc-c++ will work for you.

Well, I don't actually build 2.6.2, I build master ... but I have been
building it from before 2.6 was forked.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
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-request () wireshark org?subject=unsubscribe

Current thread: