Wireshark-dev: Re: [Wireshark-dev] Compile error: no member named 'current_stream_id' in 'http2
From: Bruno Rijsman <[email protected]>
Date: Fri, 28 Sep 2018 09:51:59 -0700
RE> See change 29896 (https://code.wireshark.org/review/29896) which fixes this issue.

Thank you!

On Sep 28, 2018, at 8:48 AM, Graham Bloice <[email protected]> wrote:

On Fri, 28 Sep 2018 at 16:45, Bruno Rijsman <[email protected]> wrote:
I found the solution already:

brew install nghttp2

fixes it

(It causes HAVE_NGHTTP2 to be set, which adds current_stream_id to http2_session_t)

The code should probably still be fixed to avoid a compile error when NGHTTP2 is not installed

See change 29896 (https://code.wireshark.org/review/29896) which fixes this issue.

On Sep 27, 2018, at 10:21 AM, Bruno Rijsman <[email protected]> wrote:

Any suggestions on how to avoid the following compiler error?

[ 30%] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-hsrp.c.o
[ 30%] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-http.c.o
[ 30%] Building C object epan/dissectors/CMakeFiles/dissectors.dir/packet-http2.c.o
/Users/brunorijsman/wireshark/epan/dissectors/packet-http2.c:1124:23: error: no member named 'current_stream_id' in 'http2_session_t'
    return h2session->current_stream_id;
           ~~~~~~~~~  ^
1 error generated.


macOS High Sierra 10.13.6

cd wireshark/
mkdir build
cd build
brew install doxygen
brew install libgcrypt
brew install glib
brew install qt5
cmake ..

Graham Bloice